qat.model.loaders.purr.qblox module

class QbloxModelLoader(id=None, name=None, address=None, dummy_config=None, qubit_count=4, connectivity=None, add_direction_couplings=True)

Bases: BaseLegacyModelLoader

load()

Load and return the Hardware Model.

Returns:

A loaded Hardware Model

Return type:

LegacyHardwareModel | LogicalHardwareModel

class QbloxSlotAllocator(cluster, qubits_per_qcm=2, qubits_per_qcmrf=2, qubits_per_qrm=6, qubits_per_qrmrf=6, qubits_per_qrc_control=2, qubits_per_qrc_readout=6)

Bases: object

Helper class to allocate QBlox slots for qubits and resonators based on the provided hardware configuration.

allocate_control()

Allocates a control line to the next available control slots.

Return type:

tuple[int, ClusterType]

allocate_readout()

Allocates a readout line to the next available readout slots.

Return type:

tuple[int, ClusterType]

apply_setup_to_hardware(model, instrument, qubit_count=2, connectivity=None, add_direction_couplings=False)
create_legacy_instrument(id, name, address=None, dummy_config=None)
Return type:

QbloxControlHardware