Skip to navigation

stanza.drivers.opx

Module Contents

Classes

NameDescription
OPXMeasurementChannelOPX-specific measurement channel with hardware integration.
OPXInstrumentOPX-specific instrument with hardware integration.

Data

logger

API

stanza.drivers.opx.logger

Value: getLogger(...)

class stanza.drivers.opx.OPXMeasurementChannel(name: str, channel_id: int, config: stanza.base.channels.ChannelConfig)

Bases: stanza.base.channels.MeasurementChannel

OPX-specific measurement channel with hardware integration.

set_driver(driver: typing.Any) -> None
set_job_id(job_id: int) -> None
set_read_len(read_len: int) -> None
get_current() -> float
class stanza.drivers.opx.OPXInstrument(instrument_config: stanza.models.MeasurementInstrumentConfig, channel_configs: dict[str, stanza.base.channels.ChannelConfig])

Bases: stanza.base.instruments.BaseMeasurementInstrument

OPX-specific instrument with hardware integration.

_initialize_channels(channel_configs: dict[str, stanza.base.channels.ChannelConfig]) -> None
qua_config() -> qm.FullQuaConfig
qua_program: qm.Program
prepare_measurement() -> None

Prepare the measurement.

teardown_measurement() -> None
measure(channel_name: str) -> float