Move to
Eager per-statement validation for arrange.MoveTo (failures 1-5 from spec ยง4).
Registered against the lanes validation interpreter key (move.address.validation).
The impl checks:
len(qubits) == len(locations)locationsmust be compile-time constants (const-foldable)- Every
LocationAddressis in-range for the arch spec - No duplicate destination
LocationAddressvalues within one call - No duplicate Qubit SSA values within one call
MoveToValidation
dataclass
MoveToValidation(*, arch_spec: ArchSpec)
Bases: ValidationPass
flowchart TD
bloqade.gemini.common.validation.move_to.MoveToValidation[MoveToValidation]
click bloqade.gemini.common.validation.move_to.MoveToValidation href "" "bloqade.gemini.common.validation.move_to.MoveToValidation"
Eager per-statement validation for arrange.MoveTo (failures 1-5).