Calibrate Discrimination Kernels

This experiment is quite similar to the Time Of Flight (Readout) experiment but has a different objective.

In the time-of-flight experiment, we were only interested in the timing of the pulse, regardless of the current qubit state. Here, on the other hand, we want to build a “vector of weights,” with a value for each point in the measurement, to maximize the differences between \(\ket{0}\) and \(\ket{1}\). Points that are further away, considering the two states, are given a higher weight since they are “more interesting” for discrimination purposes. The traces are acquired in RAW mode, which Qibolab already demodulates to baseband.

Parameters

class qibocal.protocols.signal_experiments.calibrate_state_discrimination.CalibrateStateDiscriminationParameters(lowpass_cutoff: float | None = None)[source]

Calibrate State Discrimination inputs.

lowpass_cutoff: float | None = None

Low-pass cutoff (Hz) for the traces.

Choose a few resonator linewidths. If None, the intermediate frequency is used.

nshots: int

Number of executions on hardware.

relaxation_time: float

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

Example

- id: calibrate kernels                     # custom ID of the experiment
  operation: calibrate_state_discrimination # unique name of the routine
  parameters:
    nshots: 1024
    relaxation_time: 20_000
../../_images/kernels.png

In the fitting procedure a low-pass filter at lowpass_cutoff (ideally a few resonator linewidths) removes the averaging noise from the acquired traces. If lowpass_cutoff is not set, the intermediate frequency is used as the cutoff. The cutoff never exceeds the intermediate frequency, so that the residual image at twice the intermediate frequency is attenuated as well. The optimal kernel is then calculated by taking the conjugate of the differences of the two traces. It is normalized to a maximum absolute weight of 1. Since the kernel changes the integrated IQ plane, the readout discrimination (e.g. single_shot_classification) has to be calibrated again afterwards.

Requirements

This experiment requires the calibration of a pi-pulse, since in the pulse sequence, we need to use the X gate. Therefore, before this experiment, we need to run at least a: