iqm.pulse.gates.move.apply_move_gate_phase_corrections

iqm.pulse.gates.move.apply_move_gate_phase_corrections#

iqm.pulse.gates.move.apply_move_gate_phase_corrections(schedule, builder, apply_detuning_corrections=True)#

Schedule-level pass applying resonator-related phase corrections in MOVE sandwiches to the moved qubit.

Note

Assumes the MOVE gate implementation is based on MOVE_CustomWaveforms.

Processes all the MOVE sandwiches in schedule, summing up the VirtualRZ instructions on the resonator virtual drive channels, adding the phase difference resulting from qubit-resonator detuning to the total, and applying it on the qubit at the end of each sandwich.

Parameters:
  • schedule (Schedule) – instruction schedule to process

  • builder (ScheduleBuilder) – schedule builder that was used to build schedule

  • apply_detuning_corrections (bool) – if True, also apply detuning phase corrections

Returns:

copy of schedule with the phase corrections applied

Return type:

Schedule