Skip to content

Experiment operations

laboneq.dsl.experiment.operation

Operation

Class representing a operation.

Changed in version 2.26.0

Removed get_all_signals(). The method did not produce meaningful results.

laboneq.dsl.experiment.acquire

Acquire() dataclass

Bases: Operation

Class representing an acquire operation that is used to acquire results.

laboneq.dsl.experiment.call

Call(func_name, **kwargs) dataclass

Bases: Operation

Class abstracting a function call.

Constructor.

Parameters:

Name Type Description Default
func_name Union[str, Callable]

Function that should be called.

required
**kwargs dict

Arguments of the function call.

{}

args = {} instance-attribute

func_name = func_name.__name__ if callable(func_name) else func_name instance-attribute

laboneq.dsl.experiment.delay

Delay() dataclass

Bases: Operation

Class representing a delay operation for a specific signal.

laboneq.dsl.experiment.play_pulse

PlayPulse() dataclass

Bases: Operation

Operation to play a pulse.

laboneq.dsl.experiment.reserve

Reserve() dataclass

Bases: Operation

Operation to reserve a signal for the active section. Reserving an experiment signal in a section means that if there is no operation defined on that signal, it is not available for other sections as long as the active section is scoped.

laboneq.dsl.experiment.set_node

SetNode() dataclass

Bases: Operation

Operation that sets a value at a node.