bloqade.gemini.common.dialects.arrange.stmts.MoveTo
← Module overview
class
classMoveTo¶source
bloqade.gemini.common.dialects.arrange.stmts.MoveTo
Bases: ir.Statement
User-facing move_to directive: move qubits to specified LocationAddress destinations.
class MoveToLowered from a Python call by FromPythonCall. RewritePlaceOperations rewrites this to a StaticPlacement(place.MoveTo) after const-folding the locations ilist.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'move_to' | |
traits | — | frozenset({lowering.FromPythonCall()}) | |
qubits | ir.SSAValue | info.argument(type=(ilist.IListType[QubitType, Len])) | |
locations | ir.SSAValue | info.argument(type=(ilist.IListType[LocationAddressType, Len])) | |
multi_move_warning | bool | info.attribute(default=True) |