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.

class StrEnum[source]#

Bases: enum.Enum

Enum that can be directly serialized to string.

class BinMode[source]#

Bases: 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.

APPEND = 'append'[source]#
AVERAGE = 'average'[source]#