This book uses two kinds of numerical models: circuit spectra and time evolution. Keep their units separate. Read this page once, then keep it beside your editor.
| Quantity | Meaning | Code convention |
|---|---|---|
| energies | Spectrum lab uses |
|
| cycles per second | MHz = cycles per microsecond | |
| angular frequencies | Dynamics labs use rad/us, usually 2*np.pi*f_MHz
|
|
|
|
actually |
Multiply by time in us to obtain a dimensionless phase |
| photon-number decay rate | Population decays as |
|
| time constants | us in labs 01 to 06; seconds in lab 11 | |
|
|
signed Cooper-pair number | Integer charge states, including negative integers |
| excitation number | Nonnegative oscillator Fock number; different from Cooper-pair number |
For example, g = 2*np.pi*100 means
All scripts use basis(2, 0) as the ground state and basis(2, 1) as the
excited state. Computational destroy(2), or sigmam() uses a spin convention and is not that matrix.
Chapter 05 uses the common atomic convention
Detuning is always a signed difference, but the pair being compared changes:
| Context | Definition |
|---|---|
| Qubit-cavity (05 to 06, lab 10) | |
| Driven qubit (07, Ramsey lab) | |
| Two qubits (08, CZ lab) | |
| Driven cavity (lab 04) |
For a transmon,
- Predict a limiting case before running: no drive, no coupling, or no noise.
- Compare a numerical result with an independent analytic identity.
- Increase the Hilbert-space cutoff and tighten the integrator tolerances.
- Separate numerical convergence from physical validity. A perfectly converged two-level model cannot predict transmon leakage.
- Check the requested observable. Low final leakage does not establish an X gate; a conditional phase near pi does not establish CZ.
The lab runner implements checks of these kinds.
For stochastic simulations, zero observed failures is not a zero failure
probability: zero events in