|q⟩ Bad Qubits

intermediate · Physics · Spin-½ Systems & Pauli Algebra

Rabi Oscillations of Spin

A static field makes a spin precess but cannot flip it between energy levels. To drive transitions we add a weak oscillating field perpendicular to the static one, tuned near the Larmor frequency. The result is Rabi oscillation: the population sloshes coherently back and forth between spin-up and spin-down.

The driven Hamiltonian

With a static field B0z^B_0\hat{z} and a transverse drive of amplitude B1B_1 oscillating at frequency ω\omega, the Hamiltonian (after moving to the rotating frame and dropping fast-oscillating terms — the rotating-wave approximation) is

Hrot=2(Δσz+Ωσx),H_{\text{rot}} = \frac{\hbar}{2}\bigl(\Delta\,\sigma_z + \Omega\,\sigma_x\bigr),

where Δ=ω0ω\Delta = \omega_0 - \omega is the detuning from resonance (ω0=γB0\omega_0 = \gamma B_0) and Ω=γB1\Omega = \gamma B_1 is the Rabi frequency set by the drive strength.

On-resonance dynamics

Exactly on resonance, Δ=0\Delta = 0, so Hrot=Ω2σxH_{\text{rot}} = \tfrac{\hbar\Omega}{2}\sigma_x. A state started in 0|0\rangle then evolves as a rotation about the xx-axis,

ψ(t)=eiΩtσx/20=RX(Ωt)0,|\psi(t)\rangle = e^{-i\Omega t\,\sigma_x/2}\,|0\rangle = R_X(\Omega t)\,|0\rangle,

and the probability of finding the spin in the excited state is

P(t)=sin2 ⁣(Ωt2).P_{\downarrow}(t) = \sin^2\!\left(\frac{\Omega t}{2}\right).

The population oscillates fully between 00 and 11 at the Rabi frequency Ω\Omega. A pulse with Ωt=π\Omega t = \pi (a π\pi-pulse) flips 01|0\rangle \to |1\rangle completely; a pulse with Ωt=π/2\Omega t = \pi/2 creates an equal superposition.

Off resonance

With nonzero detuning the oscillation is faster but incomplete. The generalized Rabi frequency is

ΩR=Ω2+Δ2,P(t)=Ω2Ω2+Δ2sin2 ⁣(ΩRt2).\Omega_R = \sqrt{\Omega^2 + \Delta^2}, \qquad P_{\downarrow}(t) = \frac{\Omega^2}{\Omega^2 + \Delta^2}\,\sin^2\!\left(\frac{\Omega_R t}{2}\right).

The maximum excited-state probability is Ω2/(Ω2+Δ2)<1\Omega^2/(\Omega^2 + \Delta^2) < 1: only on resonance can the spin be fully inverted. Sweeping ω\omega and watching the peak excitation is exactly how an experiment finds the qubit's transition frequency.

Try it

Apply a resonant drive with accumulated angle Ωt=π/2\Omega t = \pi/2 to a spin in 0|0\rangle, i.e. RX(π/2)R_X(\pi/2), and let the grader read the excited-state probability. It should be sin2(π/4)=12\sin^2(\pi/4) = \tfrac{1}{2}.

Run your code to see the quantum state.

Sign in on the full site to ask questions and join the discussion.