stanza.drivers.opx

Module Contents

Classes

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

Data

logger

API

1stanza.drivers.opx.logger

Value: getLogger(...)

1class 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.

1set_driver(driver: typing.Any) -> None
1set_job_id(job_id: int) -> None
1set_read_len(read_len: int) -> None
1get_current() -> float
1class 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.

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

Prepare the measurement.

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