Skip to content

bloqade.gemini.logical.dialects.operations.stmts.StarRz

← Module overview

classStarRzsource

bloqade.gemini.logical.dialects.operations.stmts.StarRz

Bases: ir.Statement

STAR/TMR logical-Z rotation injection primitive.

class StarRz

rotation_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

NameTypeDefaultDescription
traits—frozenset({lowering.FromPythonCall()})
rotation_angleir.SSAValueinfo.argument(types.Float)
qubitsir.SSAValueinfo.argument(ilist.IListType[QubitType, types.Any])
qubit_indicestuple[int, int, int]info.attribute(default=DEFAULT_STEANE_STAR_SUPPORT)

methodchecksource

bloqade.gemini.logical.dialects.operations.stmts.StarRz.check

def check() -> None
source