Squin2native
SquinToNative
A Target that converts Squin gates to native gates.
emit
emit(mt: Method, *, no_raise=True) -> ir.Method
Convert Squin gates to native gates.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mt
|
Method
|
The method to convert. |
required |
no_raise
|
bool
|
Whether to suppress errors. Defaults to True. |
True
|
Returns:
| Type | Description |
|---|---|
Method
|
ir.Method: The converted method. |
Source code in .venv/lib/python3.12/site-packages/bloqade/native/upstream/squin2native.py
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | |