|q⟩ Bad Qubits

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

Expectation Value Dynamics

We have followed states and probabilities through time. Often the most physical question is how an observable's average moves — the position of a wavepacket, the magnetisation of a spin. This lesson tracks ⟨A^⟩(t)\langle \hat A\rangle(t) directly.

Two routes to the same curve

There are two equivalent ways to compute ⟨A^⟩(t)\langle \hat A\rangle(t):

  1. Evolve the state, then sandwich: ⟨A^⟩(t)=⟨ψ(t)∣A^∣ψ(t)⟩\langle \hat A\rangle(t) = \langle\psi(t)|\hat A|\psi(t)\rangle with ∣ψ(t)⟩=U(t)∣ψ(0)⟩|\psi(t)\rangle = U(t)|\psi(0)\rangle.
  2. Evolve the operator (Heisenberg form): ⟨A^⟩(t)=⟨ψ(0)∣ U†A^ U ∣ψ(0)⟩=⟨ψ(0)∣A^H(t)∣ψ(0)⟩\langle \hat A\rangle(t) = \langle\psi(0)|\,U^\dagger \hat A\,U\,|\psi(0)\rangle = \langle\psi(0)|\hat A_H(t)|\psi(0)\rangle.

For our worked example the operator route is cleanest because Pauli operators rotate into each other.

A precessing spin

Take H^=ℏω2σz\hat H = \tfrac{\hbar\omega}{2}\sigma_z and watch the observable σx\sigma_x. A standard identity for conjugating a Pauli by a ZZ-rotation gives the Heisenberg-evolved operator

σx(t)=U†σx U=cos⁡(ωt) σx−sin⁡(ωt) σy,\sigma_x(t) = U^\dagger \sigma_x\, U = \cos(\omega t)\,\sigma_x - \sin(\omega t)\,\sigma_y,

and similarly σy(t)=cos⁡(ωt) σy+sin⁡(ωt) σx\sigma_y(t) = \cos(\omega t)\,\sigma_y + \sin(\omega t)\,\sigma_x, while σz(t)=σz\sigma_z(t) = \sigma_z. Now choose the initial state ∣+⟩|+\rangle, the +1+1 eigenstate of σx\sigma_x, for which ⟨σx⟩0=1\langle\sigma_x\rangle_0 = 1, ⟨σy⟩0=0\langle\sigma_y\rangle_0 = 0, ⟨σz⟩0=0\langle\sigma_z\rangle_0 = 0. Taking expectation values:

⟨σx⟩(t)=cos⁡(ωt),⟨σy⟩(t)=sin⁡(ωt),⟨σz⟩(t)=0.\langle \sigma_x\rangle(t) = \cos(\omega t), \qquad \langle \sigma_y\rangle(t) = \sin(\omega t), \qquad \langle \sigma_z\rangle(t) = 0.

The Bloch picture

These three averages are the components of the Bloch vector r⃗(t)=(⟨σx⟩,⟨σy⟩,⟨σz⟩)\vec r(t) = (\langle\sigma_x\rangle, \langle\sigma_y\rangle, \langle\sigma_z\rangle). Here

r⃗(t)=(cos⁡ωt,  sin⁡ωt,  0),\vec r(t) = \big(\cos\omega t,\; \sin\omega t,\; 0\big),

a unit vector sweeping counterclockwise around the zz-axis in the equatorial plane at angular frequency ω\omega. The expectation values are not abstract — they are literally the coordinates of the spin's arrow on the Bloch sphere, precessing like a gyroscope.

Consistency with Ehrenfest

You can also get ⟨σx⟩(t)=cos⁡ωt\langle\sigma_x\rangle(t) = \cos\omega t from Ehrenfest's theorem: ddt⟨σx⟩=iℏ⟨[H^,σx]⟩\tfrac{d}{dt}\langle\sigma_x\rangle = \tfrac{i}{\hbar}\langle[\hat H,\sigma_x]\rangle. Since [σz,σx]=2iσy[\sigma_z,\sigma_x] = 2i\sigma_y, this gives ⟨σx⟩˙=−ω⟨σy⟩\dot{\langle\sigma_x\rangle} = -\omega\langle\sigma_y\rangle, and likewise ⟨σy⟩˙=ω⟨σx⟩\dot{\langle\sigma_y\rangle} = \omega\langle\sigma_x\rangle. Solving this coupled pair with the given initial conditions reproduces ⟨σx⟩(t)=cos⁡ωt\langle\sigma_x\rangle(t)=\cos\omega t and ⟨σy⟩(t)=+sin⁡ωt\langle\sigma_y\rangle(t)=+\sin\omega t — consistent with the operator route above — and the next lesson formalises this Ehrenfest route.

Try it

This is a numerical exercise — your code should return a number. Compute ⟨σx⟩(t)=cos⁡(ωt)\langle\sigma_x\rangle(t) = \cos(\omega t) at ωt=π/3\omega t = \pi/3.

Run your code to see the quantum state.

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