# boulderopalscaleup.experiments.ReadoutOptimization

Source: https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/experiments/ReadoutOptimization

```python
class boulderopalscaleup.experiments.ReadoutOptimization(*, transmon, frequencies, amplitudes, recycle_delay_ns=200000, shot_count=5000, classifier_state_count=2, measure_duration_ns=None, update_fidelity_threshold=None, run_mixer_calibration=False, update='auto')
```

Parameters for optimizing the readout classifier.

### Variables
* **transmon** (*str*) – The reference for the transmon to target.
* **frequencies** ([*LinspaceIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/LinspaceIterable.md#boulderopalscaleup.common.LinspaceIterable) *or* [*RangeIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/RangeIterable.md#boulderopalscaleup.common.RangeIterable) *or* [*CWSIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/CWSIterable.md#boulderopalscaleup.common.CWSIterable)) – The readout frequencies to sweep, in Hz.
* **amplitudes** (*list* *[* *float* *]*) – The readout amplitudes to sweep.
* **recycle_delay_ns** (*int* *,* *optional*) – The delay between consecutive shots, in nanoseconds. Defaults to 200,000 ns.
* **shot_count** (*int* *,* *optional*) – The number of shots to take. Defaults to 5,000.
* **classifier_state_count** (*int* *,* *optional*) – The number of states to classify. If greater than 2, assumes that the higher
  energy levels were previously calibrated. Currently only supports 2 or 3 states.
  Defaults to 2.
* **measure_duration_ns** (*int* *,* *optional*) – The duration of the measurement pulse, in nanoseconds. Defaults to the duration
  of the measure defcal waveform.
* **update_fidelity_threshold** (*float* *or* *None* *,* *optional*) – Minimum fidelity (inclusive) required to accept a valid optimized classifier,
  between 0 and 1. Defaults to None, using the saved classifier’s fidelity
  (or 0 if no classifier is saved). Invalid or skipped analysis results still
  skip updates.
* **run_mixer_calibration** (*bool* *,* *optional*) – Whether to run mixer calibrations before running a program. Defaults to False.
* **update** ( *"auto"* *or*  *"off"* *or*  *"prompt"* *,* *optional*) – How the device should be updated after an experiment run. Defaults to auto.
