Skip to content
aiqbenchAI & Quantum Intelligence
NewsInsightsBenchmarksSkillsAsk AILearnAbout
...Loading your session
NewsInsightsBenchmarksSkillsAsk AILearnAbout
  1. Future Jobs
  2. ›
  3. Quantum Hardware & Control Engineer
  4. ›
  5. Lesson 4 of 8

Calibration & Characterisation — Rabi, Ramsey, RB, GST

Advanced¶ Read · 5 min⚑ Mission · 40 min◆ Quiz · 4 questions

You'll be able to:

You can describe the standard single-qubit tune-up sequence (spectroscopy → Rabi → Ramsey → echo → readout), explain what randomized benchmarking and gate set tomography each measure and what they cannot, and sketch how a calibration pipeline is run every day on a real device.

Calibration is a sequence, and the order is not optional

A fresh superconducting chip tells you nothing about itself. You do not know the qubit frequencies to better than a few percent, you do not know what pulse amplitude makes a π rotation, and the readout discriminator has never seen a |1⟩. Characterisation turns the unknown device into a set of numbers; calibration turns those numbers into working gates. The two are run as a pipeline, every day, because the numbers drift. The Qiskit Textbook notebook Calibrating Qubits with Qiskit Pulse walks through the first half of this on a real device — read it rather than run it, since Qiskit Pulse was removed in Qiskit 2.0.

The single-qubit tune-up, in order

  1. Resonator spectroscopy. Sweep a probe tone across the readout resonator's frequency and find the dip. This locates the resonator and tells you where to send the readout pulse. Nothing else works until this does.
  2. Qubit spectroscopy. Sweep a long, weak drive tone and watch the readout signal change when you hit the qubit transition. You now know the frequency to about a megahertz.
  3. Rabi. Fix the frequency, apply a pulse of fixed duration, sweep its amplitude and measure. The excited-state population oscillates as a sine of amplitude; the first maximum is your π pulse, and half of it is your π/2. In Module 3's mission you did this with duration instead of amplitude; the physics is the same.
  4. Ramsey. Two π/2 pulses separated by a variable delay, with the drive deliberately detuned by a known amount. The signal oscillates at the actual detuning and decays with T2*. Fitting it refines the qubit frequency to kilohertz precision — spectroscopy could never get there — and gives you T2* for free.
  5. T1. π pulse, delay, measure. Exponential fit. You already know how.
  6. Echo. Ramsey with a refocusing π pulse in the middle; gives T2-echo and tells you how much of your dephasing is slow.
  7. Readout discrimination. Prepare |0⟩ many times, record the demodulated readout signal; prepare |1⟩ (with your new π pulse) and record again. Draw the boundary between the two clouds. The overlap is your SPAM error.
  8. Fine amplitude and DRAG. Repeat the π pulse 2N+1 times for increasing N and watch for drift; the error amplifies with N, so you can tune the amplitude to a few parts in 10⁴. Sweep the DRAG coefficient to minimise leakage.

Each step depends on the ones before it. If Rabi fails, the cause is probably the frequency from step 2 or the resonator from step 1, not Rabi itself. Kelly et al. formalise exactly this as a directed acyclic graph of calibrations (their paper is a capstone material): each node has a cheap check that verifies the parameter is still good, a full calibrate routine, and a diagnose rule that, on failure, walks back to the node's dependencies. A daily run walks the graph, re-calibrating only what the checks say has drifted. That is what "calibration runs overnight" means at every lab you will join.

Randomized benchmarking: the number everyone quotes

Once the gates exist, how good are they? Process tomography would reconstruct the full gate but it cannot separate the gate's error from SPAM, and it scales terribly. Randomized benchmarking (RB), formalised by Magesan, Gambetta and Emerson, sidesteps both problems:

  • Apply a random sequence of m Clifford gates followed by the single Clifford that inverts the sequence. Ideally the qubit returns to |0⟩.
  • Measure the probability of returning, averaged over many random sequences, for several values of m.
  • Fit the decay to A·p^m + B. SPAM errors land in A and B; the gate quality lands in p.
  • The average error per Clifford is r = (1 − p)·(1 − 1/d), with d = 2 for one qubit and d = 4 for two. For a single qubit with p = 0.995, r = 0.0025.

RB is cheap, scales to many qubits, and is insensitive to SPAM — which is why it is the standard. What it hides: it gives one number averaged over the Clifford group, it assumes the noise is roughly the same for every gate, it says nothing about leakage unless extended, and coherent errors are under-represented because random sequences scramble them. Interleaved RB runs the same experiment with a specific gate inserted after every Clifford and extracts that gate's error from the ratio of decay rates — this is where "CNOT fidelity 99.2%" comes from.

Gate set tomography: when you need the whole truth

Gate set tomography (GST), from Nielsen et al., reconstructs every gate, the state preparation and the measurement self-consistently, assuming none is ideal. It uses long, structured sequences designed to amplify specific errors, so it can see a 10⁻⁴ coherent rotation that RB would average away and tell you whether an error is a tilt in the rotation axis, an over-rotation or incoherent noise. The cost is scale: full GST is practical for one or two qubits and takes thousands of circuits. In practice you run RB everywhere, every day, and GST on a problem qubit when you need to know why. The open tool is pyGSTi.

Still unsettled

How to characterise a 100-qubit device as a system. Every method above is local. Cross-talk, correlated noise and drift during long circuits are only partially captured by simultaneous RB and cycle benchmarking; a complete, scalable system characterisation protocol is an active research problem, and Module 6 shows how vendors paper over it with summary numbers.

What to remember

  • Tune-up order: resonator → qubit spectroscopy → Rabi → Ramsey → T1 → echo → readout → fine amplitude/DRAG. Each step depends on the previous.
  • Ramsey refines frequency far beyond spectroscopy and gives T2* in the same fit.
  • RB: fit A·p^m + B; SPAM lives in A and B, gates in p; r = (1 − p)(1 − 1/d).
  • RB averages, GST explains; use GST on a few qubits when you need the error's structure.
  • Daily calibration is a graph walk with check/calibrate/diagnose at each node, not a fixed script.

Check Yourself

Loading the questions…

Module Mission

35–45 min

Write a small Python script that generates synthetic Ramsey data (T2* = 40 µs, detuning 0.5 MHz, Gaussian noise) and fits a decaying cosine with scipy.optimize.curve_fit to recover both parameters. Then generate a randomized-benchmarking decay (survival = A·p^m + B with p = 0.995) for sequence lengths 1–200, fit it, and convert p to error per Clifford. Deliverable: both fits with recovered values and the formula you used for the conversion.

Loading your work…

Curated Materials

2.1h

The deep work happens here — the lesson is your briefing.

  • Qiskit Textbook: Calibrating Qubits with Qiskit Pulse (archived notebook — read it; Qiskit Pulse was removed in Qiskit 2.0)Tutorial· 45 min
  • Magesan, Gambetta & Emerson: Robust Randomized Benchmarking of Quantum ProcessesPaper· 35 min
  • Nielsen et al.: Gate Set Tomography (Quantum, 2021)Paper· 45 min

Live on aiqbench

This lesson's subject on the rest of the site, today.

In the news, last 30 days

  • A single charge fluctuator found within 31nm of a spin qubit deviceQuantum Zeitgeist · Nov 26
  • Three-qubit NMR processor shows compilation affects accuracyQuantum Zeitgeist · Nov 26
  • New method certifies qubit measurements without random number inputsQuantum Zeitgeist · Nov 26
More news on this subject →

Go further

  • Quantum vendors comparedQubits, fidelities and roadmaps, each with its source.
  • Ask AI about this lessonOpens Ask AI with a question about this lesson, answered from the news archive with sources.
← Previous lesson3. The Control Stack — Pulses, Electronics & CryogenicsNext lesson →5. Two-Qubit Gates & Connectivity by Modality
aiqbench
AI & Quantum Intelligence© aiqbench. All rights reserved.

Feeds:RSS·JSON Feed

LanguageEnglish·Românăbeta
NewsAI & TechQuantumInsights
ExploreBenchmarksLearn
CompanyAboutTrustLegal noticeTerms of ServicePrivacy PolicyCopyright noticesData erasureReport content

The aiqbench take, the insights, the daily digest and Ask answers are written by AI models from the sources shown, without editorial review before publication. They may contain errors — check the source. How the model is used →

  • News
  • Insights
  • Ask AI
  • Benchmarks
  • Account