|q⟩ Bad Qubits

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

Solving the Schrödinger Equation

We have the time-evolution operator U(t)=e−iH^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⟩=En∣En⟩\hat H|E_n\rangle = E_n|E_n\rangle.
  2. Expand the initial state in that basis: ∣ψ(0)⟩=∑ncn∣En⟩|\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 ∣En⟩↦e−iEnt/ℏ∣En⟩|E_n\rangle \mapsto e^{-iE_n t/\hbar}|E_n\rangle.
  4. Reassemble: ∣ψ(t)⟩=∑ncn e−iEnt/ℏ ∣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(e−iωt/2∣0⟩+e+iωt/2∣1⟩).|\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ωt∣1⟩),|\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(e−iω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θ+e−iθ)\cos\theta = \tfrac12(e^{i\theta} + e^{-i\theta}). The survival probability is therefore

P+(t)=∣⟨+∣ψ(t)⟩∣2=cos⁡2 ⁣ω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+=cos⁡2(ω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.