quantify_scheduler.enums

Enums for quantify-scheduler.

Module Contents

Classes

StrEnum

This class functions to include explicit string serialization without adding str

SignalModeType

The signal output enum type.

ReferenceSourceType

The reference source enum type.

ModulationModeType

The modulation mode enum type.

BinMode

The acquisition protocol bin mode enum type.

InstrumentOperationMode

The InstrumentOperationMode enum defines in what operational mode an instrument is

class StrEnum[source]

Bases: enum.Enum

This class functions to include explicit string serialization without adding str as a base class.

__str__()[source]

Return str(self).

class SignalModeType[source]

Bases: str, enum.Enum

The signal output enum type.

Used to set the output signal type to a modulated or real respectively.

COMPLEX = complex[source]
REAL = real[source]
class ReferenceSourceType[source]

Bases: str, enum.Enum

The reference source enum type.

Used to set the source trigger type to internal or external respectively.

NONE = none[source]
INTERNAL = int[source]
EXTERNAL = ext[source]
class ModulationModeType[source]

Bases: str, enum.Enum

The modulation mode enum type.

Used to set the modulation type to

  1. no modulation. (‘none’)

  2. Software premodulation applied in the numerical waveforms. (‘premod’)

  3. Hardware real-time modulation. (‘modulate’)

See also Modulation for the use.

NONE = none[source]
PREMODULATE = premod[source]
MODULATE = modulate[source]
class BinMode[source]

Bases: StrEnum

The acquisition protocol bin mode enum type.

Used to set the bin type to append or average respectively.

BinMode APPEND uses a list where every new result will be appended to the list.

BinMode AVERAGE incrementally stores the weighted average result.

APPEND = append[source]
AVERAGE = average[source]
class InstrumentOperationMode[source]

Bases: str, enum.Enum

The InstrumentOperationMode enum defines in what operational mode an instrument is in.

OPERATING mode sets the Instrument in its default operation mode. CALIBRATING mode sets the Instrument in calibration mode in which for example the numeric pulses generated by a backend for an AWG are set to np.ones.

OPERATING = operate[source]
CALIBRATING = calibrate[source]