boulderopalscaleup.routines.OneQubitCalibration
class boulderopalscaleup.routines.OneQubitCalibration(*, transmon, gate, repetitions=None, force_rerun=False, duration='default', run_rb=True, run_stark_phase_cal=True, run_fine_ramsey=True, sweep_margin=1.05)Parameters for running one qubit calibration routine.
Variables
- transmon (str) – The reference for the transmon to target.
- gate ( "sx" or "x") – The gate to calibrate.
- repetitions (list [ int ] or None , optional) – List of repetition counts for the calibration experiment. If not provided, a set of repetitions will be chosen based on the gate.
- force_rerun (bool , optional) – Whether to rerun the entire routine regardless transmon’s current calibration status. Defaults to False.
- duration (Duration or "optimize" or "default" , optional) – Duration for the drive waveform.
If a
Durationis provided, the routine starts with a Power Rabi experiment using a DragCosineWaveform with this exact duration (no further duration optimization is performed)."optimize"lets the routine pick an initial duration based on the defcal and then attempt to shorten it after a successful Power Rabi, based on the estimated minimum pulse duration."default"lets the routine inherit an initial duration without attempting any subsequent optimization. Defaults to"default". - run_rb (bool , optional) – Whether to run a one-qubit randomized benchmarking experiment at the end of the calibration routine. Defaults to True.
- run_stark_phase_cal (bool , optional) – Whether to run the Stark phase calibration step. Automatically skipped when the drive waveform duration is 32 ns or above. Defaults to True.
- run_fine_ramsey (bool , optional) – Whether to run the fine frequency Ramsey step. Defaults to True.
- sweep_margin (float , optional) – Multiplicative margin applied to the estimated amplitude when computing the Power Rabi sweep range. Defaults to 1.05.