enums#

Enums for quantify-scheduler.

Module Contents#

Classes#

StrEnum

Enum that can be directly serialized to string.

BinMode

Describes how to handle Acquisitions that write to the same AcquisitionIndex.

TimeSource

Selects the timetag data source for timetag (trace) acquisitions.

TimeRef

Selects the event that counts as a time reference (i.e. t=0) for timetags.

class StrEnum[source]#

Bases: enum.Enum

Enum that can be directly serialized to string.

class BinMode[source]#

Bases: enum.StrEnum

Describes how to handle Acquisitions that write to the same AcquisitionIndex.

A BinMode is a property of an AcquisitionChannel that describes how to handle multiple Acquisition s that write data to the same AcquisitionIndex on a channel.

The most common use-case for this is when iterating over multiple repetitions of a Schedule When the BinMode is set to APPEND new entries will be added as a list along the repetitions dimension.

When the BinMode is set to AVERAGE the outcomes are averaged together into one value.

Note that not all AcquisitionProtocols and backends support all possible BinModes. For more information, please see the Acquisition protocols reference guide and some of the Qblox-specific acquisition details.

APPEND = 'append'[source]#
AVERAGE = 'average'[source]#
FIRST = 'first'[source]#
class TimeSource[source]#

Bases: enum.StrEnum

Selects the timetag data source for timetag (trace) acquisitions.

See Timetag and TimetagTrace.

FIRST = 'first'[source]#
SECOND = 'second'[source]#
LAST = 'last'[source]#
class TimeRef[source]#

Bases: enum.StrEnum

Selects the event that counts as a time reference (i.e. t=0) for timetags.

See Timetag and TimetagTrace.

START = 'start'[source]#
END = 'end'[source]#
FIRST = 'first'[source]#
TIMESTAMP = 'timestamp'[source]#