Readout optimization#

Qibocal provides a protocol to improve the readout pulse amplitude by optimize the assignment fidelity.

Parameters#

class qibocal.protocols.readout_optimization.resonator_amplitude.ResonatorAmplitudeParameters(amplitude_step: float, amplitude_start: float = 0.0, amplitude_stop: float = 1.0, error_threshold: float = 0.003)[source]

ResonatorAmplitude runcard inputs.

amplitude_step: float

Amplituude step to be probed.

amplitude_start: float = 0.0

Amplitude start.

amplitude_stop: float = 1.0

Amplitude stop value

error_threshold: float = 0.003

Probability error threshold to stop the best amplitude search

hardware_average: bool = False

By default hardware average will be performed.

nshots: int

Number of executions on hardware.

relaxation_time: float

Wait time for the qubit to decohere back to the gnd state.

Example#

It follows an example runcard of the resonator amplitude routine with the plot generated in the report.

- id: resonator_amplitude
  operation: resonator_amplitude
  parameters:
      amplitude_step: 0.0005
      amplitude_start: 0.001
      amplitude_stop: 0.005

As shown in the picture below, the protocol sweeps the readout amplitude and evaluates the probability errors

../_images/readout_amplitude.png