|q⟩ Bad Qubits

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

Checkpoint: Evolve a State

This checkpoint pulls together everything from the module: building U(t)U(t), evolving a superposition, tracking expectation values, and using conservation. You will compute a single number that secretly encodes three separate facts.

The scenario

A spin starts in +=12(0+1)|+\rangle = \tfrac{1}{\sqrt2}(|0\rangle + |1\rangle) and evolves under

H^=ω2σz,\hat H = \frac{\hbar\omega}{2}\sigma_z,

for a time such that ωt=2π3\omega t = \tfrac{2\pi}{3}. From the module you can write down the Bloch components without re-deriving them:

What to compute

  1. Form the squared length s=σx2+σy2+σz2s = \langle\sigma_x\rangle^2 + \langle\sigma_y\rangle^2 + \langle\sigma_z\rangle^2. It must equal 11 — your built-in sanity check that the dynamics conserve probability.
  2. Form σx(t)=cosωt\langle\sigma_x\rangle(t) = \cos\omega t.
  3. Return the product sσx(t)s \cdot \langle\sigma_x\rangle(t). Because s=1s = 1, this is just σx(t)\langle\sigma_x\rangle(t).

At ωt=2π3\omega t = \tfrac{2\pi}{3} we have cos2π3=12\cos\tfrac{2\pi}{3} = -\tfrac12, so the answer is 12-\tfrac12.

Try it

This is a numerical exercise — your code should return a number. Compute sσx(t)s\cdot\langle\sigma_x\rangle(t) at ωt=2π/3\omega t = 2\pi/3. The correct value is 0.5-0.5.

Run your code to see the quantum state.

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