IQPulse#
- class iqm.pulse.playlist.instructions.IQPulse(duration, wave_i, wave_q, scale_i=1.0, scale_q=0.0, phase=0.0, modulation_frequency=0.0, phase_increment=0.0)#
Bases:
InstructionPlay an upconverted pulse that contains real in-phase and quadrature waveforms.
Module:
iqm.pulse.playlist.instructionsAttributes
Modulation frequency of the waveforms, in units of the sampling rate.
Phase of the pulse relative to the channel upconversion oscillator ("carrier wave"), in radians.
Phase increment for the channel upconversion oscillator ("carrier wave"), affecting this pulse and all pulses that are played after it on the channel, in radians.
Scaling factor for the I quadrature.
Scaling factor for the Q quadrature.
I quadrature envelope.
Q quadrature envelope.
durationTime duration of the instruction.
Methods
Returns all the waveforms the Instruction contains.
Validate the instruction attributes.
- Parameters:
- wave_i: Waveform#
I quadrature envelope.
- wave_q: Waveform#
Q quadrature envelope.
- phase: float = 0.0#
Phase of the pulse relative to the channel upconversion oscillator (“carrier wave”), in radians.
- modulation_frequency: float = 0.0#
Modulation frequency of the waveforms, in units of the sampling rate. This modulation is additional to the channel upconversion frequency. The default value of 0.0 does not modulate. Note that the phase of this modulation resets for every instruction, that is, successive instances of the same modulated pulse are not phase coherent.
- phase_increment: float = 0.0#
Phase increment for the channel upconversion oscillator (“carrier wave”), affecting this pulse and all pulses that are played after it on the channel, in radians.
- validate()#
Validate the instruction attributes.
- Raises:
ValueError – something about the instruction is not ok