Skip to content

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:

  1. len(qubits) == len(locations)
  2. locations must be compile-time constants (const-foldable)
  3. Every LocationAddress is in-range for the arch spec
  4. No duplicate destination LocationAddress values within one call
  5. 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).