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:
Instruction
Play an upconverted pulse that contains real in-phase and quadrature waveforms.
Module:
iqm.pulse.playlist.instructions
Attributes
Modulation frequency of the waveforms, in units of the sampling rate.
Phase of the pulse relative to the channel frequency, in radians.
Relative phase increment to the phase in the carrier frequency of this pulse and all pulses that are played after it.
Scaling factor for the I quadrature.
Scaling factor for the Q quadrature.
I quadrature envelope.
Q quadrature envelope.
duration
Time 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.
- modulation_frequency: float = 0.0#
Modulation frequency of the waveforms, in units of the sampling rate. This modulation is additional to the channel 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#
Relative phase increment to the phase in the carrier frequency of this pulse and all pulses that are played after it. Unit: rad.
- validate()#
Validate the instruction attributes.
- Raises:
ValueError – something about the instruction is not ok