qat.purr.backends.qblox.execution.instrument_base module

class CompositeInstrument

Bases: InstrumentConcept

add(component)
close()
connect()
disconnect()
lookup_by_name(name)
Return type:

LeafInstrument

remove(component)
class InstrumentConcept

Bases: ABC

Basic APIs through which an instrument must be able to interact with

close()
collect(*args, **kwargs)
connect()
disconnect()
playback(*args, **kwargs)
upload(*args, **kwargs)
class InstrumentModel(**data)

Bases: BaseModel

Used to parse JSON/CSV entries. An instrument has an id, name, and IP address

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

address: IPvAnyAddress
id: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name: str
class LeafInstrument(parse_model)

Bases: InstrumentConcept