Block

Contents

Block#

Module: iqm.pulse.playlist.instructions

class iqm.pulse.playlist.instructions.Block(duration)#

Bases: Instruction

Behave strictly as if outputting zero-valued samples for the duration of the instruction.

Used to block a control channel during compilation. A more strict version of Wait, cannot be replaced with DD sequences during compilation. Converted to a Wait instruction at the end of compilation process.

In “Tetris” scheduling, several Block instructions can overlap in time, whereas Waits cannot.

Attributes

duration

Time duration of the instruction.

id

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

Methods

Parameters:

duration (int)

Inheritance

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