B10 · Lesson 26 · Two-level systems, magnetic resonance and Rabi oscillation
Driving a qubit from one state to the other
A spin in a magnetic field, an atom's two levels under a laser, and a superconducting qubit under a microwave pulse all behave the same way: two levels a frequency apart, driven by an oscillating field near . The result is Rabi oscillation: the system swings smoothly from one state to the other and back, at a rate set by the drive's strength. Every quantum gate on a qubit is a carefully timed piece of one of these swings, and every MRI image is built from spins tipped by them.
- A two-level system starts in its lower state. The drive has Rabi frequency (its strength) and detuning δ from the transition. The curve is the probability of finding it in the upper state, against time in microseconds.
- On resonance (δ = 0) it swings all the way up and back. The first peak, at , is a π pulse: it flips the state exactly.
- Detune the drive: the swings get faster but never reach the top; at δ = they peak at ½. The resonance has a width set by the drive itself.
Predict
A qubit is driven on resonance with Rabi frequency 25 MHz. How long a pulse flips it from |0⟩ to |1⟩?
The upper-state probability is , which first reaches 1 at = 20 ns. Half as long, 10 ns, is a π/2 pulse: it makes an equal superposition, the starting point of most quantum algorithms. Superconducting qubits use pulses of about this length.
Name it
The driven two-level system
Two levels and , split by , driven by a field at frequency f with coupling strength (for a spin, = 28.0 MHz per mT of rotating field ; for an atom, with d the transition dipole). In a frame rotating with the drive, and dropping terms that oscillate at 2f (the rotating-wave approximation), the Hamiltonian becomes a constant 2×2 matrix:
Rabi's formula
Starting in ,
- On resonance it reaches 1, at .
- Off resonance the swing is faster, at the generalized Rabi frequency , and smaller.
- The resonance is a Lorentzian in δ with half-width : a stronger drive is less selective (power broadening).
On the Bloch sphere
The drive is a rotation of the state about an axis set by the drive's phase and detuning. A π pulse turns the north pole (|0⟩) to the south pole (|1⟩); a π/2 pulse leaves it on the equator. Quantum gates are rotations chosen by pulse length, amplitude and phase.
Where it's used
- MRI: a π/2 pulse tips the protons' spins into the plane, where their precession induces a voltage in a pickup coil.
- Qubits: single-qubit gates are timed Rabi rotations; the qubit's frequency and the pulse's spectrum must keep it away from other transitions.
- Atomic clocks and lasers: the same mathematics with optical fields.
Worked example
A spin is driven at 10 MHz Rabi frequency, 10 MHz off resonance. How far does it get, and how fast does it swing?
Show the solution
- Largest transfer.
- Generalized Rabi frequency. so the swing repeats every 70.7 ns.
- The resonance's width. Detuning by halves the transfer: that's the resonance's half-width.
Answer it reaches at most half the population, and the swing repeats every 70.7 ns (14.1 MHz).
Worked example
An ESR experiment applies a rotating field = 0.1 mT. How long is a π pulse?
Show the solution
- Rabi frequency.
- π pulse.
- A stronger field. Doubling halves it, at the cost of four times the microwave power.
Answer a π pulse lasts 178 ns.
Worked example
In a Ramsey experiment, two π/2 pulses are separated by a wait of T with the drive detuned by 100 kHz. How does the final population of |1⟩ vary with T?
Show the solution
- Phase drift during the wait. The state's phase drifts relative to the drive by , so the second pulse finds it rotated and with kHz.
- The fringes. The population oscillates with T, a fringe every 10 µs.
- Why it's useful. Counting the fringes measures the detuning to a precision set by how long the wait can be, which is why atomic clocks use Ramsey's method: longer waits give narrower fringes and more precise frequencies.
Answer , which oscillates with a fringe every 10 µs.
Check
A two-level system is driven with Rabi frequency 5 MHz, detuned by 1 MHz. What's the largest probability of reaching the upper state?
Check
How long is a π pulse for Rabi frequency 12.5 MHz on resonance?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A resonant drive with Rabi frequency 3 MHz runs for 20 ns. What's the probability of the upper state?
Check
An electron spin is driven by a rotating field of 0.2 mT. How long is a π pulse?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Rabi frequency 5 MHz, detuning 5 MHz: how long is one full swing up and back?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A qubit in |0⟩ gets a π/2 pulse, then a second π/2 pulse with the same phase. What's the state?
Check
A two-level system is driven with Rabi frequency 10 MHz, 5 MHz off resonance.
(a)
What is the most it can be flipped?
(b)
At what frequency does it swing?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
Rabi's formula with drive Ω (write O), detuning Δ (write D) and time t (angular frequencies).
Step 1
What is the population of the upper level?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the period of the oscillation?
Explain why
Why does a drive that's off resonance never fully flip a two-level system?
In the frame rotating with the drive, the system feels two effects at once: the drive, which tries to rotate the state between |0⟩ and |1⟩, and the detuning, which acts like a field along the |0⟩ to |1⟩ axis that makes the state precess around it. The combined rotation is about a tilted axis on the Bloch sphere. A state starting at the north pole circles that tilted axis and comes back without reaching the south pole; the more detuned the drive, the more the axis tips toward the pole and the smaller the circle. Only on resonance does the axis lie in the equator, so the circle passes through both poles.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.