> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.conductorquantum.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.conductorquantum.com/_mcp/server.

# stanza.drivers.opx



## Module Contents

### Classes

| Name | Description |
|------|-------------|
| [`OPXMeasurementChannel`](#stanzadriversopxopxmeasurementchannel) | OPX-specific measurement channel with hardware integration. |
| [`OPXInstrument`](#stanzadriversopxopxinstrument) | OPX-specific instrument with hardware integration. |

### Data

`logger`

### API

```python
stanza.drivers.opx.logger
```

**Value**: `getLogger(...)`


```python
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.

```python
set_driver(driver: typing.Any) -> None
```


```python
set_job_id(job_id: int) -> None
```


```python
set_read_len(read_len: int) -> None
```


```python
get_current() -> float
```


```python
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.

```python
_initialize_channels(channel_configs: dict[str, stanza.base.channels.ChannelConfig]) -> None
```


```python
qua_config() -> qm.FullQuaConfig
```


```python
qua_program: qm.Program
```


```python
prepare_measurement() -> None
```

Prepare the measurement.


```python
teardown_measurement() -> None
```


```python
measure(channel_name: str) -> float
```