Skip to content

bloqade.gemini.common.dialects.arrange.stmts.MoveTo

← Module overview

classMoveTosource

bloqade.gemini.common.dialects.arrange.stmts.MoveTo

Bases: ir.Statement

User-facing move_to directive: move qubits to specified LocationAddress destinations.

class MoveTo

Lowered from a Python call by FromPythonCall. RewritePlaceOperations rewrites this to a StaticPlacement(place.MoveTo) after const-folding the locations ilist.

Attributes

NameTypeDefaultDescription
name—'move_to'
traits—frozenset({lowering.FromPythonCall()})
qubitsir.SSAValueinfo.argument(type=(ilist.IListType[QubitType, Len]))
locationsir.SSAValueinfo.argument(type=(ilist.IListType[LocationAddressType, Len]))
multi_move_warningboolinfo.attribute(default=True)