bloqade.gemini.logical.dialects.operations.stmts.StarRz
← Module overview
class
method
source
classStarRz¶source
bloqade.gemini.logical.dialects.operations.stmts.StarRz
Bases: ir.Statement
STAR/TMR logical-Z rotation injection primitive.
class StarRzrotation_angle is the target logical angle in SQuIn IR turn units.
qubits is an IList of logical qubits.
The final logical-to-physical lowering computes the physical STAR angle for
k=3 and emits physical Rz rotations on qubit_indices.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
traits | — | frozenset({lowering.FromPythonCall()}) | |
rotation_angle | ir.SSAValue | info.argument(types.Float) | |
qubits | ir.SSAValue | info.argument(ilist.IListType[QubitType, types.Any]) | |
qubit_indices | tuple[int, int, int] | info.attribute(default=DEFAULT_STEANE_STAR_SUPPORT) |
methodcheck¶source
bloqade.gemini.logical.dialects.operations.stmts.StarRz.check
def check() -> None