Instrument types#

Instrument type enums and classes.

class qblox_instruments.types.TypeEnum(value)[source]#

Bases: Enum

Type base class that arranges child enum string representations.

class qblox_instruments.InstrumentClass(value)[source]#

Bases: TypeEnum

Instrument class enum.

CLUSTER = 'Cluster'#
class qblox_instruments.InstrumentType(value)[source]#

Bases: TypeEnum

Instrument/module type enum.

MM = 'MM'#
QCM = 'QCM'#
QRM = 'QRM'#
QTM = 'QTM'#
QDM = 'QDM'#
class qblox_instruments.ClusterType(value)[source]#

Bases: TypeEnum

Cluster module type enum.

CLUSTER_QCM = 'Cluster QCM'#
CLUSTER_QCM_RF = 'Cluster QCM-RF'#
CLUSTER_QRM = 'Cluster QRM'#
CLUSTER_QRM_RF = 'Cluster QRM-RF'#
CLUSTER_QTM = 'Cluster QTM'#
CLUSTER_QDM = 'Cluster QDM'#
class qblox_instruments.TypeHandle(instrument: ClusterType | str)[source]#

Bases: object

Instrument type handler class.

__init__(instrument: ClusterType | str)[source]#

Create instrument type handler object.

Parameters:

instrument (Union[ClusterType, str]) – Instrument/module type specification.

property instrument_class: InstrumentClass#

Get instrument class (e.g. Cluster).

Returns:

Instrument class

Return type:

InstrumentClass

property instrument_type: InstrumentType#

Get instrument type (e.g. MM, QRM, QCM, QTM).

Returns:

Instrument type

Return type:

InstrumentType

property is_mm_type: bool#

Return if module is of type MM.

Returns:

True if module is of type MM.

Return type:

bool

property is_qcm_type: bool#

Return if module is of type QCM.

Returns:

True if module is of type QCM.

Return type:

bool

property is_qrm_type: bool#

Return if module is of type QRM.

Returns:

True if module is of type QRM.

Return type:

bool

property is_qtm_type: bool#

Return if module is of type QTM.

Returns:

True if module is of type QTM.

Return type:

bool

property is_qdm_type: bool#

Return if module is of type QDM.

Returns:

True if module is of type QDM.

Return type:

bool

property is_rf_type: bool#

Return if module is of type QCM-RF or QRM-RF.

Returns:

True if module is of type QCM-RF or QRM-RF.

Return type:

bool