bloqade.lanes.rewrite.transversal.RewriteStarRz
← Module overview
class
method
classRewriteStarRz¶source
bloqade.lanes.rewrite.transversal.RewriteStarRz
Bases: rewrite_abc.RewriteRule
Lower logical STAR rotations to physical local Rz rotations.
Signature
class RewriteStarRz(transform_location: Callable[[LocationAddress], Iterable[LocationAddress] | None])v1 supports the k=3 Steane STAR protocol. The logical target angle is stored in SQuIn IR turn units; the STAR formula converts through radians internally and returns the physical STAR angle in turns.
Parameters
| Name | Type | Description |
|---|---|---|
transform_location | Callable[[LocationAddress], Iterable[LocationAddress] | None] |
Attributes
| Name | Type | Description |
|---|---|---|
transform_location | Callable[[LocationAddress], Iterable[LocationAddress] | None] |
methodrewrite_Statement¶source
bloqade.lanes.rewrite.transversal.RewriteStarRz.rewrite_Statement