|q⟩ Bad Qubits

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

Solving the Schrödinger Equation

We have the time-evolution operator U(t)=eiH^t/U(t) = e^{-i\hat H t/\hbar}. Now we put it to work: given a Hamiltonian and an initial state, find the state — and a measurable probability — at a later time.

The recipe

Solving the Schrödinger equation for a time-independent Hamiltonian is mechanical once you know the energy eigenbasis:

  1. Diagonalise H^\hat H: find eigenstates En|E_n\rangle with H^En=EnEn\hat H|E_n\rangle = E_n|E_n\rangle.
  2. Expand the initial state in that basis: ψ(0)=ncnEn|\psi(0)\rangle = \sum_n c_n |E_n\rangle with cn=Enψ(0)c_n = \langle E_n|\psi(0)\rangle.
  3. Attach a phase to each component: each eigenstate evolves as EneiEnt/En|E_n\rangle \mapsto e^{-iE_n t/\hbar}|E_n\rangle.
  4. Reassemble: ψ(t)=ncneiEnt/En.|\psi(t)\rangle = \sum_n c_n\, e^{-iE_n t/\hbar}\,|E_n\rangle.

This is just U(t)U(t) written in its own eigenbasis, where it is diagonal.

A concrete qubit example

Take a spin-12\tfrac12 with Hamiltonian

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

whose eigenstates are the computational-basis states with energies E0=+ω2E_0 = +\tfrac{\hbar\omega}{2} for 0|0\rangle and E1=ω2E_1 = -\tfrac{\hbar\omega}{2} for 1|1\rangle. Start the system in

ψ(0)=+=12(0+1).|\psi(0)\rangle = |+\rangle = \frac{1}{\sqrt 2}\big(|0\rangle + |1\rangle\big).

Following the recipe, each basis state picks up its phase:

ψ(t)=12(eiωt/20+e+iωt/21).|\psi(t)\rangle = \frac{1}{\sqrt 2}\Big(e^{-i\omega t/2}|0\rangle + e^{+i\omega t/2}|1\rangle\Big).

Up to an overall phase this is

ψ(t)12(0+eiωt1),|\psi(t)\rangle \simeq \frac{1}{\sqrt 2}\big(|0\rangle + e^{i\omega t}|1\rangle\big),

so a relative phase ωt\omega t accumulates between the two components.

The survival probability

How likely are we to still find the system in the original state +|+\rangle? The amplitude is

+ψ(t)=12(eiωt/2+e+iωt/2)=cos ⁣ωt2,\langle +|\psi(t)\rangle = \frac{1}{2}\Big(e^{-i\omega t/2} + e^{+i\omega t/2}\Big) = \cos\!\frac{\omega t}{2},

using cosθ=12(eiθ+eiθ)\cos\theta = \tfrac12(e^{i\theta} + e^{-i\theta}). The survival probability is therefore

P+(t)=+ψ(t)2=cos2 ⁣ωt2.P_{+}(t) = \big|\langle +|\psi(t)\rangle\big|^2 = \cos^2\!\frac{\omega t}{2}.

It starts at 11, drops to 00 when ωt=π\omega t = \pi (the state has rotated to |-\rangle), and returns to 11 at ωt=2π\omega t = 2\pi. The phase that H^\hat H stamps onto the eigenstates becomes a physical oscillation as soon as we measure in a basis that mixes them.

Try it

This is a numerical exercise — your code should return a number. Compute the survival probability P+=cos2(ωt/2)P_{+} = \cos^2(\omega t/2) 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.