Physical Qubits: Two-Level Systems
Spins, photons and atoms: what a qubit actually is in the lab.
Mathematically a qubit is . Physically it is an electron spin, a photon's polarization, two levels of an ion, or the two lowest states of a superconducting circuit. All of them obey the same equation, and in this lesson you derive it: a two-level Hamiltonian that turns the Bloch sphere into a gyroscope, and a resonant drive that steers it.
What you’ll learn
- Show that every two-level Hamiltonian is and that it makes the Bloch vector precess, .
- Map spins, photon polarization, atomic levels and superconducting circuits onto the same qubit description, and say what differs between them.
- Derive the rotating-frame Hamiltonian of a driven qubit under the rotating-wave approximation, and compute π and π/2 pulse durations.
- Identify the main ways a real system deviates from an ideal two-level system.
One Hamiltonian for every qubit
Any physical qubit has a Hamiltonian, a Hermitian matrix. Expand it in the basis ; Hermiticity makes all four coefficients real:
The eigenvalues are , so the level splitting is . Time evolution is : up to phase, a rotation of the Bloch sphere about at angular velocity . The same fact, seen through expectation values:
Heisenberg (Ehrenfest) equation for a time-independent .
Use . The term commutes with everything.
Insert .
The Bloch vector precesses about like a gyroscope: counterclockwise by the right-hand rule, at angular frequency . Its length and its component along are conserved.
A qubit has and starts in . After time , where is its Bloch vector?
- (unchanged)
Show the answer
B.
The vector precesses about at rate , so after a quarter period it has turned by , from to . In amplitudes: .
Four ways to build a qubit
The same algebra describes very different physics. What changes from platform to platform is what the basis states are, what sets , and what disturbs it.
| Platform | / | Splitting set by | Control |
|---|---|---|---|
| Electron or nuclear spin-½ | spin up / down along a static field | Zeeman energy (electron GHz/T, proton MHz/T) | oscillating magnetic field (ESR, NMR) or electric-dipole spin resonance |
| Photon polarization | / , or any orthogonal pair | nothing: the two modes are degenerate | wave plates (fixed, passive rotations) |
| Trapped ion or neutral atom | two hyperfine or optical levels | atomic structure: GHz (hyperfine) or hundreds of THz (optical) | microwaves, or lasers (direct or Raman) |
| Superconducting transmon | lowest two levels of a nonlinear LC circuit | , typically 4–8 GHz | shaped microwave pulses |
In every case the qubit is a two-level approximation. An ion has many levels, a transmon a whole ladder, and the qubit is one well-isolated pair. How well it is isolated from the other levels, and how well it is shielded from its environment, separates a good physical qubit from a bad one.
Driving a qubit: resonance and Rabi oscillations
A static Hamiltonian only precesses the qubit about one fixed axis. To flip it you add a weak transverse field oscillating near the qubit frequency. The trick for solving this is to move into a frame rotating with the drive, in which the drive looks static.
Lab frame, with the ground state, driven at frequency with strength .
Change to a frame rotating with the drive. The extra term comes from differentiating .
, and ; multiply by and use product-to-sum formulas.
Rotating-wave approximation (RWA): drop the terms oscillating at , which average out when . What remains is time independent: rotation about the fixed axis .
Starting from : Rabi's formula. On resonance () the drive is and the qubit swings fully between and at the Rabi frequency .
A qubit is driven on resonance with Rabi frequency MHz. How long is a pulse, in nanoseconds?
Show the answer
50 ns
ns, half of the Rabi period ns. A pulse takes 25 ns. Typical superconducting single-qubit gates are in this range.
When two levels are not enough
Real two-level systems depart from the ideal in three main ways:
- Decoherence. Coupling to the environment relaxes (time ) and randomizes the relative phase (time , with ).
- Extra levels. A transmon is a weakly anharmonic oscillator. Its transition sits only a few hundred MHz below , so short pulses can leak population out of the qubit subspace.
- Approximations in the drive. The RWA drops counter-rotating terms. They shift the resonance by the Bloch–Siegert shift and matter for strong drives.
Why can't a perfectly harmonic oscillator (equally spaced levels) serve as a qubit under a simple resonant drive?
- Its levels are too closely spaced to resolve
- Harmonic oscillators have no ground state
- A drive resonant with is equally resonant with , , and so on
- Its states cannot be put into superposition
Show the answer
C. A drive resonant with is equally resonant with , , and so on
Equal spacing means one frequency drives every transition: the state spreads up the ladder (into a coherent state) instead of rotating between two levels. Anharmonicity, which the Josephson junction provides in a transmon, makes individually addressable.
Key takeaways
- Every two-level Hamiltonian is ; it rotates the Bloch vector, .
- Spins, polarization, atomic levels and superconducting circuits all fit this form. They differ in what sets , how they are controlled, and what disturbs them.
- In the frame rotating with a drive, the RWA gives : a π pulse takes , and detuning caps at .
- Every physical qubit is an approximation. Decoherence, extra levels and counter-rotating terms are the leading corrections.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
What are the energy levels of ?
- , because has no diagonal entries
Show the answer
B.
has eigenvalues , so has , a splitting of .
Starting from , a resonant pulse along of duration produces which state?
- , up to a phase
Show the answer
C.
On resonance , so the pulse is , and .
A drive is detuned by . What is the largest you can reach from ?
Show the answer
D.
. The rotation axis is tilted out of the equator, so the Bloch vector sweeps a cone that only just reaches the equator.
Which statement about a polarization-encoded photonic qubit is correct?
- Single-qubit gates are passive wave plates, but photons barely interact, so two-qubit gates are the hard part
- Its and states differ in energy by a few GHz
- It cannot be put into superposition
- It decoheres within nanoseconds in free space
Show the answer
A. Single-qubit gates are passive wave plates, but photons barely interact, so two-qubit gates are the hard part
and are degenerate modes. Combinations of wave plates implement any single-qubit unitary, but there is no deterministic photon–photon interaction, so linear-optics schemes rely on measurement and feed-forward.
Go deeper
- Spin-½ and the Pauli Algebra · Stern–Gerlach, su(2) commutators and anticommutators.
- Rabi Oscillations & the Rotating Frame · How a drive field rotates a qubit, and the rotating-wave approximation.
- Leakage & Non-Ideal Two-Level Systems · Anharmonicity, leakage out of the qubit subspace, and DRAG pulses.
Further reading
- M. A. Nielsen & I. L. Chuang, Quantum Computation and Quantum Information, Ch. 7 (Cambridge, 10th anniv. ed., 2010).
- P. Krantz, M. Kjaergaard, F. Yan, T. P. Orlando, S. Gustavsson & W. D. Oliver, A quantum engineer's guide to superconducting qubits, Applied Physics Reviews (2019).
- I. I. Rabi, Space quantization in a gyrating magnetic field, Physical Review (1937).
- D. P. DiVincenzo, The physical implementation of quantum computation, Fortschritte der Physik (2000).