qtt.instrument_drivers.adapters package

Submodules

qtt.instrument_drivers.adapters.constants module

qtt.instrument_drivers.adapters.time_stamp_instrument_adapter module

class qtt.instrument_drivers.adapters.time_stamp_instrument_adapter.TimeStampInstrumentAdapter(address: str)[source]

Bases: qilib.configuration_helper.instrument_adapter.InstrumentAdapter

apply(config: qilib.utils.python_json_structure.PythonJsonStructure) → None[source]

As there is no configuration to apply, this method is a NOP.

read(update: bool = False) → qilib.utils.python_json_structure.PythonJsonStructure[source]

Override default read mechanism as this adapter has no real configuration.

Returns:Empty python-json structure.

qtt.instrument_drivers.adapters.virtual_awg_instrument_adapter module

class qtt.instrument_drivers.adapters.virtual_awg_instrument_adapter.VirtualAwgInstrumentAdapter(address: str)[source]

Bases: qilib.configuration_helper.instrument_adapter.InstrumentAdapter

add_adapter_to_instrument_adapter(adapter_class_name: str, address: str) → None[source]

Adds an instrument to the Virtual AWG instrument

Parameters:
  • adapter_class_name – The adapter’s class name
  • address – The address of the adapter
add_settings(gates: dict, markers: dict) → None[source]

Adds a setting instrument to the Virtual AWG instrument

Parameters:
  • gates – Gates
  • markers – Markers
apply(config: qilib.utils.python_json_structure.PythonJsonStructure) → None[source]

An abstract method that should be implemented in subclasses.

Writes a full set of configuration to the adapters instrument.

Parameters:config – Containing the instrument configuration.
close_instrument() → None[source]

Close the wrapped QCoDeS instrument.

read(update: bool = False) → qilib.utils.python_json_structure.PythonJsonStructure[source]

Obtains a full set of settings from the instrument.

Returns:Part of the instrument snapshot, i.e., parameter values, without the instrument’s parameters which are explicitly filtered out, and the instrument name.

qtt.instrument_drivers.adapters.virtual_dac_instrument_adapter module

class qtt.instrument_drivers.adapters.virtual_dac_instrument_adapter.VirtualDACInstrumentAdapter(address: str)[source]

Bases: qilib.configuration_helper.adapters.spi_module_instrument_adapter.SpiModuleInstrumentAdapter

Adapter for the qtt VirtualDAC.

add_adapter_to_instrument_adapter(adapter_class_name: str, address: str) → None[source]

Add a dac to the virtual dac and cache a corresponding instrument adapter.

apply(config: qilib.utils.python_json_structure.PythonJsonStructure) → None[source]

Apply config to the virtual dac and all nested dacs.

read(update: bool = False) → qilib.utils.python_json_structure.PythonJsonStructure[source]

Additionally reads the gate_map, boundaries and configs of the nested dacs.