RealPulse#

class iqm.pulse.playlist.instructions.RealPulse(duration, wave, scale)#

Bases: Instruction

Play a real-valued pulse.

Module: iqm.pulse.playlist.instructions

Attributes

wave

Shape of the pulse.

scale

Scaling factor for the waveform.

duration

Time duration of the instruction.

Methods

get_waveforms

Returns all the waveforms the Instruction contains.

validate

Validate the instruction attributes.

Parameters:
  • duration (int) –

  • wave (Waveform) –

  • scale (float) –

wave: Waveform#

Shape of the pulse.

scale: float#

Scaling factor for the waveform.

validate()#

Validate the instruction attributes.

Raises:

ValueError – something about the instruction is not ok

get_waveforms()#

Returns all the waveforms the Instruction contains.

Return type:

tuple[Waveform, …]