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.

id

Unique id for caching purposes, which can be used if the instruction is not hashable.

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

Return type:

None

get_waveforms()#

Returns all the waveforms the Instruction contains.

Return type:

tuple[Waveform, …]

Inheritance

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