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
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.
-
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.SpiModuleInstrumentAdapterAdapter 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.
-