|q⟩ Bad Qubits

intermediate · Physics · Time Evolution & the Schrödinger Picture

Two-Level Rabi Oscillations

A two-level system driven on resonance does not sit still — it cycles coherently between its two levels. These Rabi oscillations are the workhorse of qubit control: every single-qubit gate is a carefully timed Rabi flop.

The driving Hamiltonian

In a frame rotating with the drive (the "rotating frame"), a resonant drive of strength Ω\Omega — the Rabi frequency — reduces to the time-independent Hamiltonian

H^=Ω2σx.\hat H = \frac{\hbar\Omega}{2}\,\sigma_x.

The evolution operator is the exponential of a Pauli matrix. Using eiθσx/2=cosθ2Iisinθ2σxe^{-i\theta\sigma_x/2} = \cos\tfrac{\theta}{2}\,I - i\sin\tfrac{\theta}{2}\,\sigma_x,

U(t)=eiH^t/=ei(Ωt/2)σx=cos ⁣Ωt2Iisin ⁣Ωt2σx.U(t) = e^{-i\hat H t/\hbar} = e^{-i(\Omega t/2)\sigma_x} = \cos\!\frac{\Omega t}{2}\,I - i\sin\!\frac{\Omega t}{2}\,\sigma_x.

This is exactly the rotation gate RX(θ)R_X(\theta) with angle θ=Ωt\theta = \Omega t. Time evolution under an XX-type drive is an RXR_X rotation — the link between physics and the gate set is direct.

Population transfer

Apply U(t)U(t) to the ground state 0|0\rangle:

ψ(t)=cos ⁣Ωt20isin ⁣Ωt21.|\psi(t)\rangle = \cos\!\frac{\Omega t}{2}\,|0\rangle - i\sin\!\frac{\Omega t}{2}\,|1\rangle.

The probability of finding the system in the excited state is the Rabi formula:

P1(t)=sin2 ⁣Ωt2.P_1(t) = \sin^2\!\frac{\Omega t}{2}.

It oscillates fully between 00 and 11 at the Rabi frequency. Some landmark times:

| Ωt\Omega t | State | P1P_1 | Name | |------------|-------|-------|------| | 00 | 0|0\rangle | 00 | start | | π/2\pi/2 | 12(0i1)\tfrac{1}{\sqrt2}(|0\rangle - i|1\rangle) | 1/21/2 | π/2\pi/2-pulse | | π\pi | i1-i|1\rangle | 11 | π\pi-pulse (full flip) | | 2π2\pi | 0-|0\rangle | 00 | full cycle |

Off resonance (briefly)

If the drive is detuned from the transition by δ\delta, the oscillation frequency increases to the generalised Rabi frequency Ω=Ω2+δ2\Omega' = \sqrt{\Omega^2 + \delta^2}, and the population no longer reaches 11: P1(t)=Ω2Ω2sin2(Ωt/2)P_1(t) = \tfrac{\Omega^2}{\Omega'^2}\sin^2(\Omega' t/2). Perfect flopping requires exact resonance, which is why qubit calibration hunts for the frequency that maximises the transfer amplitude.

Try it

Prepare the qubit state after a quarter Rabi period, Ωt=π/2\Omega t = \pi/2, by applying RX(π/2)R_X(\pi/2) to 0|0\rangle. The grader checks the full statevector: you should get 12(0i1)\tfrac{1}{\sqrt2}(|0\rangle - i|1\rangle), with each level carrying probability 1/21/2.

Run your code to see the quantum state.

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