diff --git a/pulse_lib/keysight/qs_conditional.py b/pulse_lib/keysight/qs_conditional.py index 55a6ba3962908be8f657612e88e4bfc10a7b298f..d6faf3aba2e775016c7f68f29217d41c870f5959 100644 --- a/pulse_lib/keysight/qs_conditional.py +++ b/pulse_lib/keysight/qs_conditional.py @@ -246,7 +246,7 @@ class QsConditionalMW(): # try to add phase shift to existing pulse if not pulse: instr.pulses[ibranch] = QsConditionalMW.BranchPulse(prephase=phase_shift.phase_shift) - elif not pulse.mw_pulse or pulse.mw_pulse.start > phase_shift.time: + elif not pulse.mw_pulse or pulse.mw_pulse.start >= phase_shift.time: pulse.prephase += phase_shift.phase_shift elif pulse.mw_pulse.stop <= phase_shift.time: pulse.postphase += phase_shift.phase_shift