qat.purr.backends.qblox.device module

class DummyQbloxControlHardware(dev_id=None, name=None, address=None, dummy_cfg=None)

Bases: QbloxControlHardware

set_data(qblox_packages)
class QbloxControlHardware(dev_id=None, name=None, address=None, dummy_cfg=None)

Bases: ControlHardware

allocate_resources(packages)
connect()
disconnect()
install(package, module, sequencer)

Installs and configures the package on the given (module, sequencer) resource. Nominally follows resource allocation, but also serves for adhoc package installations that aren’t necessarily tied to any automatic resource allocation.

set_data(qblox_packages)
start_playback(repetitions, repetition_time)
class QbloxPhysicalBaseband(id_, frequency, if_frequency, instrument, slot_idx, config)

Bases: LivePhysicalBaseband

class QbloxPhysicalChannel(id_, sample_time, baseband, block_size=None, phase_offset=0.0, imbalance=1.0, acquire_allowed=False, pulse_channel_min_frequency=0.0, pulse_channel_max_frequency=inf)

Bases: PhysicalChannel

baseband: QbloxPhysicalBaseband
build_qubit(index, resonator, drive_freq, second_state_freq=None, channel_scale=1e-08 + 0j, measure_amp=1.0, fixed_drive_if=False, qubit_id=None)

Helper method tp build a qubit with assumed default values on the channels. Modelled after the live hardware.

build_resonator(resonator_id, *args, **kwargs)

Helper method to build a resonator with default channels.

property config
property slot_idx
class QbloxResonator(id_, physical_channel, measure_device=None)

Bases: Resonator

A hack around QBlox acquisition to use the same pulse channel for MeasurePulse and Acquire instructions.

get_acquire_channel()
Return type:

PulseChannel

get_measure_channel()
Return type:

PulseChannel