Skip to content

laboneq.dsl.enums

laboneq.core.types.enums.acquisition_type

AcquisitionType

Bases: Enum

Acquisition type

The following acquisition types supported:

INTEGRATION:
    Returns acquired signal after demodulation and integration, using weighting vectors (kernel) up to 4096 points.

SPECTROSCOPY_IQ:
    Returns acquired signal after demodulation and integration, using oscillator frequency (not limited to 4096 points).

SPECTROSCOPY_PSD:
    Power Spectral density (PSD) mode. PSD is calculated on the hardware.

SPECTROSCOPY:
    Same as `SPECTROSCOPY_IQ`.

DISCRIMINATION:
    Returns the list of qubit states determined from demodulated and integrated signal after thresholding.

RAW:
    Returns raw data after ADC up to 4096 samples. Only a single raw acquire event within an averaging loop per experiment is allowed.

Changed in version 2.9

Added SPECTROSCOPY_IQ (same as SPECTROSCOPY)

Added SPECTROSCOPY_PSD for PSD Spectroscopy mode.

DISCRIMINATION = 'discrimination' class-attribute instance-attribute

INTEGRATION = 'integration_trigger' class-attribute instance-attribute

RAW = 'RAW' class-attribute instance-attribute

SPECTROSCOPY = SPECTROSCOPY_IQ class-attribute instance-attribute

SPECTROSCOPY_IQ = 'spectroscopy' class-attribute instance-attribute

SPECTROSCOPY_PSD = 'spectroscopy_psd' class-attribute instance-attribute

laboneq.core.types.enums.averaging_mode

AveragingMode

Bases: Enum

CYCLIC = 'cyclic' class-attribute instance-attribute

SEQUENTIAL = 'sequential' class-attribute instance-attribute

SINGLE_SHOT = 'single_shot' class-attribute instance-attribute

laboneq.core.types.enums.carrier_type

CarrierType

Bases: Enum

IF = 'INTERMEDIATE_FREQUENCY' class-attribute instance-attribute

RF = 'RADIO_FREQUENCY' class-attribute instance-attribute

laboneq.core.types.enums.dsl_version

DSLVersion

Bases: Enum

ALPHA = None class-attribute instance-attribute

LATEST = '3.0.0' class-attribute instance-attribute

V2_4_0 = '2.4.0' class-attribute instance-attribute

V2_5_0 = '2.5.0' class-attribute instance-attribute

V3_0_0 = '3.0.0' class-attribute instance-attribute

laboneq.core.types.enums.execution_type

ExecutionType

Bases: Enum

NEAR_TIME = 'controller' class-attribute instance-attribute

REAL_TIME = 'hardware' class-attribute instance-attribute

laboneq.core.types.enums.high_pass_compensation_clearing

HighPassCompensationClearing

Bases: Enum

High-pass compensation clearing.

Deprecated in version 2.8

This has no effect.

BOTH = auto() class-attribute instance-attribute

FALL = auto() class-attribute instance-attribute

LEVEL = auto() class-attribute instance-attribute

RISE = auto() class-attribute instance-attribute

laboneq.core.types.enums.modulation_type

ModulationType

Bases: Enum

AUTO = 'AUTO' class-attribute instance-attribute

HARDWARE = 'HARDWARE' class-attribute instance-attribute

SOFTWARE = 'SOFTWARE' class-attribute instance-attribute

laboneq.core.types.enums.port_mode

PortMode

Bases: Enum

LF = 'LF' class-attribute instance-attribute

RF = 'RF' class-attribute instance-attribute

laboneq.core.types.enums.repetition_mode

RepetitionMode

Bases: Enum

AUTO = 'auto' class-attribute instance-attribute

CONSTANT = 'constant' class-attribute instance-attribute

FASTEST = 'fastest' class-attribute instance-attribute

laboneq.core.types.enums.section_alignment

SectionAlignment

Bases: Enum

LEFT = 'left' class-attribute instance-attribute

RIGHT = 'right' class-attribute instance-attribute