iqm.pulse.utils.fuse_iq_pulses#
- iqm.pulse.utils.fuse_iq_pulses(iq_pulses)#
Fuse multiple IQPulses into one by concatenating the sampled waveforms.
Works by flushing
IQPulse.phase_increments to the front, updating theIQPulse.phases, sampling the pulses, concatenating, normalizing the amplitudes, and putting the result into a new IQPulse instruction with aphase_incrementthat is a sum of the individualphase_increments.Additionally, to conserve waveform memory on the AWGs, we normalize the waveform phase by setting
IQPulse.phaseof the fused pulse to the flushed phase of the first pulse.