iqm.pulse.gates.move.validate_move_instructions#
- iqm.pulse.gates.move.validate_move_instructions(instructions, builder, validate_prx=True)#
Circuit-level pass to prepare a circuit containing MOVE gates for compilation.
Validates that circuit conforms to the MOVE gate constraints.
- Parameters:
instructions (Iterable[CircuitOperation]) – quantum circuit to validate
builder (ScheduleBuilder) – schedule builder, encapsulating information about the station
validate_prx (bool) – whether to validate the circuit for PRX gates between MOVE sandwiches as well
- Returns:
instructions
, unmodified- Raises:
ValueError – Circuit does not conform to MOVE constraints.
- Return type:
Iterable[CircuitOperation]