Skip to content
Tutorials Center
My learning

Topics

Lesson 17 of 39 · Time-Dependent Perturbation and Transitions

Rabi Oscillations and the Two-Level System

Solve a driven two-level system with the rotating-wave approximation, derive the Rabi formula, and compare it with exact numerics, including detuning and pulses.

First-order perturbation theory breaks down exactly when things get interesting: a resonant drive moves a system completely from one level to another. For a two-level system the full problem has an elegant, nearly exact solution called Rabi oscillations. The same mathematics governs a spin in a magnetic resonance experiment, an atom in laser light, an NMR pulse and a superconducting qubit.

The model

Consider two levels |g⟩ and |e⟩ with energies 0 and ħω₀, driven by a field of frequency ω that couples them. In the basis (|e⟩, |g⟩):

Text
H(t) = (ħω₀/2) σ_z + ħΩ cos(ωt) σ_x

(the constant −ħω₀/2 offset is irrelevant). Here Ω is the Rabi frequency, measuring the coupling strength: for an atom in laser light it is proportional to the dipole matrix element times the electric-field amplitude. Define the detuning Δ = ω − ω₀.

The rotating-wave approximation

Write the drive as cos ωt = (e^{iωt} + e^{−iωt})/2. In the interaction picture the coupling terms oscillate at frequencies Δ (slow) and ω + ω₀ (fast, about twice the optical frequency). Averaged over a time much longer than 1/(ω + ω₀), the fast terms cancel out. Dropping them is the rotating-wave approximation (RWA). It is excellent when Ω ≪ ω₀ and |Δ| ≪ ω₀.

After the RWA the problem is a time-independent two-level problem in a rotating frame, with effective Hamiltonian (ħ/2)[ −Δ σ_z + Ω σ_x ]. Its exact solution, starting in the ground state, is the Rabi formula:

Text
P_e(t) = [Ω² / (Ω² + Δ²)] · sin²( √(Ω² + Δ²) · t / 2 )

Features worth memorizing:

  1. On resonance (Δ = 0): P_e = sin²(Ωt/2) swings between 0 and 1 with angular frequency Ω. The system is fully inverted at t = π/Ω (a π-pulse) and in an equal superposition at t = π/(2Ω) (a π/2-pulse).
  2. Off resonance: the oscillation is faster (Ω_eff = √(Ω² + Δ²)) but shallower (maximum Ω²/(Ω² + Δ²)).
  3. Weak drive (Ω ≪ |Δ|): P_e ≈ (Ω/Δ)² sin²(Δt/2), which is the constant-perturbation result of the previous lesson with V_{fi} = ħΩ/2 (the factor of 2 goes into the definition of Ω).

Resonant driving

Rabi flopping P = sin²(Ωt/2)
π-pulse Full inversion
π/2-pulse Equal superposition
1 / 2

Testing the approximation

The experiment below integrates the exact lab-frame Schrödinger equation (no RWA) with ħ = 1, ω₀ = 1, and a modest Rabi frequency, and compares the excited-state probability with the Rabi formula. The small ripples in the exact curve are the counter-rotating terms that the RWA discards; they also shift the resonance very slightly (the Bloch–Siegert shift).

Python Exact driven two-level system versus the Rabi formula

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The two columns agree to a few parts in 10⁴ at these times. The small ripples in the exact curve come from the counter-rotating terms. If you increase Omega toward 0.5 the RWA visibly fails.

The resonance line shape

Fix a pulse duration of exactly a π-pulse for the resonant case, t = π/Ω, and scan the detuning. The excited-state probability traces out the resonance curve

Text
P(Δ) = [Ω² / (Ω² + Δ²)] sin²( (π/2) √(1 + Δ²/Ω²) )

with a central peak of full width of order Ω. A shorter, stronger pulse has a broader line (power broadening), while a longer pulse is more frequency selective, as the time–frequency uncertainty relation predicts.

Python Frequency scan after a pi pulse

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The printed curve shows a central maximum of exactly 1 at Δ = 0 and side lobes that fall off, a spectral line shape for a pulse of finite length, sometimes called the Rabi (or sinc-squared) line shape. The full width at half maximum comes out near 1.6 Ω. A longer, weaker pulse (smaller Ω) gives a narrower line, as the time–frequency uncertainty relation predicts.

Physical realizations

  • Magnetic resonance. I. I. Rabi introduced the method in the 1930s for molecular beams; the same equations drive nuclear magnetic resonance and MRI, with the spin precessing about an effective field.
  • Atoms and ions. Laser pulses implement quantum logic gates on trapped ions as π and π/2 pulses.
  • Superconducting circuits. Microwave pulses produce Rabi oscillations of a qubit, whose period gives a direct measurement of the drive amplitude.
  • Spontaneous emission limits real oscillations: the oscillations decay with the system's coherence time. The ideal formula above applies to times short compared with it.

The Rabi formula describes a coherent process. Averaged over many atoms with different coupling strengths, or with relaxation, the oscillations wash out and the population tends to a steady value instead. Chapter 8 will treat such loss of coherence systematically.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. On resonance, the excited-state probability is

    With Δ = 0 the Rabi formula reduces to sin²(Ωt/2).
  2. 2. A π-pulse is a resonant pulse of duration

    At t = π/Ω, sin²(π/2) = 1: the system is completely inverted.
  3. 3. The rotating-wave approximation drops terms that oscillate at roughly

    These counter-rotating terms average to nearly zero and cause only small corrections such as the Bloch–Siegert shift.
  4. 4. How does detuning change the Rabi oscillation?

    The maximum probability falls to Ω²/(Ω²+Δ²) and the angular frequency rises to √(Ω²+Δ²).

Summary

  • A driven two-level system, H = (ħω₀/2)σ_z + ħΩ cos(ωt)σ_x, is solved accurately by the rotating-wave approximation.
  • Rabi formula: P_e = Ω²/(Ω²+Δ²) · sin²(√(Ω²+Δ²) t/2).
  • π-pulse: complete inversion; π/2-pulse: equal superposition; detuning lowers the peak and raises the frequency.
  • The RWA fails when Ω approaches ω₀; exact numerics reveal the counter-rotating corrections.
  • Coherence is needed for oscillations; relaxation damps them.

Next: Fermi's Golden Rule