RealPulse#

Module: iqm.pulse.playlist.instructions

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

Bases: Instruction

Play a real-valued pulse.

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:
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, …]

Inheritance

Inheritance diagram of iqm.pulse.playlist.instructions.RealPulse