Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

RoughAmplitudeCal.update_calibrations

RoughAmplitudeCal.update_calibrations(experiment_data)[source]

Update the amplitude of one or several schedules.

The update rule extracts the rate of the oscillation from the fit to the cosine function. Recall that the amplitude is the x-axis in the analysis of the Rabi experiment. The value of the amplitude is thus the desired rotation-angle divided by the rate of the oscillation:

Aiθiω

where θi is the desired rotation angle (e.g. π and π/2 for “x” and “sx” gates, respectively) and ω is the rate of the oscillation.

Parameters:
  • experiment_data (ExperimentData) – The experiment data from which to extract the measured Rabi oscillation

  • amplitude. (used to set the pulse) –