Scientia sine finibus

Linear Algebra / Unit 9, The Mathematics of Quantum Mechanics / Topic 9.8

Units and Topics

Unit 9. The Mathematics of Quantum Mechanics

9.8 Time Evolution

The state of a quantum system changes in time according to the Schrödinger equation. It is a linear system of differential equations, like the systems of Topic 5.5, and eigenvalues and eigenvectors solve it. The solution is a unitary operator applied to the state at the start.

You need Topics 5.5, 8.4, 8.5, 9.3, and 9.4 for this topic.

1. The Schrödinger Equation

Between measurements, the state |ψ(t)⟩ of a system changes in time according to the Schrödinger equation.

iħ d|ψ⟩/dt = H|ψ⟩

The operator H is the observable of the energy. It is called the Hamiltonian of the system. This topic takes an H that does not depend on the time.

The equation is linear: if two kets are solutions, each linear combination of them is a solution. The equation contains only the first derivative in time, so the state at the time 0 determines the state at each later time.

2. Stationary States

Let |E⟩ be an eigenket of the Hamiltonian, H|E⟩ = E|E⟩. Start in this state. The solution is the same ket, multiplied by a phase factor that turns around the unit circle.

|ψ(t)⟩ = e−iEt/ħ |E⟩

Check: the derivative of e−iEt/ħ is (−iE/ħ)e−iEt/ħ, and iħ times −iE/ħ is E. So the left side of the Schrödinger equation is E|ψ(t)⟩, which is equal to H|ψ(t)⟩.

A phase factor in front of the whole ket does not change the state. The probability of each result of each measurement stays the same in time. The eigenkets of the Hamiltonian are therefore called stationary states. The phase factor turns with the angular frequency E/ħ.

3. The General Solution

The eigenkets |E₁⟩, |E₂⟩, … of the Hamiltonian are an orthonormal basis. The method of Topic 5.5 solves the equation for any start.

StepCalculation
1Find the eigenvalues Eₙ and the eigenkets |Eₙ⟩ of H
2Find the components of the start: cₙ = ⟨Eₙ|ψ(0)⟩
3Give each component its own phase factor
|ψ(t)⟩ = c₁e−iE₁t/ħ|E₁⟩ + c₂e−iE₂t/ħ|E₂⟩ + …

The absolute values |cₙ| do not change, so the probability of each energy stays the same, and the expectation value of the energy stays the same. This is the conservation of energy.

The phase factors of different energies turn at different rates. The phase of one component relative to another changes with the angular frequency (E₂ − E₁)/ħ, and the probabilities of other observables change at this frequency.

4. The Time Evolution Operator

The three steps can be written as one operator. With the spectral decomposition of Topic 9.2,

U(t) = e−iHt/ħ = Σₙ e−iEₙt/ħ |Eₙ⟩⟨Eₙ| and |ψ(t)⟩ = U(t)|ψ(0)⟩

This is the function of a matrix of Topic 8.5, with the function e−iλt/ħ applied to each eigenvalue. Topic 8.4 showed that eiA is unitary for a Hermitian A.

PropertyMeaning
U(t)†U(t) = IThe length of the state stays 1, so the probabilities always add up to 1
U(0) = IAt the time 0 the state has not changed
U(t + s) = U(t)U(s)Evolving for the time s and then for the time t is the same as evolving for the time t + s
U(−t) = U(t)†The inverse runs the evolution backward

For a very short time dt, the operator is close to I − (i/ħ)H dt. The Hamiltonian is the generator of the time evolution: it gives the change of the state in a short time.

5. A Spin in a Magnetic Field

A magnetic field along the z axis gives the spin of Topic 9.4 the Hamiltonian H = (ħω/2)σz, where the angular frequency ω is proportional to the strength of the field. The eigenkets are |↑⟩ with the energy ħω/2 and |↓⟩ with the energy −ħω/2.

Start with the spin up along the x axis, |ψ(0)⟩ = (|↑⟩ + |↓⟩)/√2. Each component receives its phase factor.

|ψ(t)⟩ = (e−iωt/2|↑⟩ + eiωt/2|↓⟩)/√2each eigenket is multiplied by its phase factor|ψ(t)⟩ = e−iωt/2 (|↑⟩ + eiωt|↓⟩)/√2take out the factor e−iωt/2

Compare this with the ket cos(θ/2)|↑⟩ + eiφ sin(θ/2)|↓⟩ of Topic 9.4. The state is spin up along the direction with θ = 90° and φ = ωt. The direction of the spin turns around the z axis with the angular frequency ω.

⟨σx⟩ = cos ωt ⟨σy⟩ = sin ωt ⟨σz⟩ = 0

The probabilities of the results of σz stay 1/2 and 1/2, because |↑⟩ and |↓⟩ are the stationary states. The probability of the result 1 for σx is cos²(ωt/2), which changes in time. Magnetic resonance imaging in hospitals measures this turning motion for the spins of protons.

6. Oscillation between Two States

Now let the Hamiltonian be H = (ħΩ/2)σx, and start in the state |↑⟩, which is not a stationary state of this H. The time evolution operator is the rotation of Topic 9.4 with the angle Ωt.

U(t) = e−iΩtσx/2the exponential of −iHt/ħU(t) = cos(Ωt/2) I − i sin(Ωt/2) σxthe rotation formula of Topic 9.4 |ψ(t)⟩ = cos(Ωt/2)|↑⟩ − i sin(Ωt/2)|↓⟩

The probability of finding the spin down is sin²(Ωt/2). It rises from 0 to 1, returns to 0, and repeats with the period 2π/Ω. At the time π/Ω the spin is down with certainty.

With both terms, H = (ħ/2)(Δσz + Ωσx), the Hamiltonian is ħW/2 times the Pauli matrix for the direction (Ω, 0, Δ)/W, where W = √Ω² + Δ². The same calculation gives

probability of spin down = Ω²/W² sin²(Wt/2)

The oscillation is faster, and it no longer reaches 1. This formula is called the Rabi formula. Atomic clocks and quantum computers use it to move an atom from one state to another.

Try it: the oscillation between two states

The Hamiltonian is H = (ħ/2)(Δσz + Ωσx), and the state at the time 0 is |↑⟩. The curve shows the probability of spin down as a function of the time. The sliders set Ω, Δ, and the time of the green mark.

7. How Expectation Values Change

The Schrödinger equation gives the rate of change of the expectation value of any observable A that does not depend on the time itself.

d⟨A⟩/dt = i/ħ ⟨[H, A]⟩

The derivation uses the product rule on ⟨ψ|A|ψ⟩. The derivative of the ket is −(i/ħ)H|ψ⟩, and the derivative of the bra is (i/ħ)⟨ψ|H. The two terms together contain HA − AH.

If A commutes with H, the expectation value of A does not change for any state. Such an observable is called a conserved quantity. The Hamiltonian commutes with itself, so the energy is conserved. From Topic 8.6, a conserved quantity shares a basis of eigenkets with H, and its eigenvalues label the stationary states.

A check with Part 5: there H = (ħω/2)σz and [σz, σx] = 2iσy.

d⟨σx⟩/dt = (i/ħ)(ħω/2)(2i)⟨σy⟩the formula, with the commutatord⟨σx⟩/dt = −ω⟨σy⟩because (i)(2i)/2 = −1d⟨σx⟩/dt = −ω sin ωtfrom Part 5

This is the derivative of cos ωt.

Common Mistakes

  • Giving all components the same phase factor. Each component turns with its own energy.
  • Attaching the phase factors in a basis that is not the eigenbasis of H. The components must be taken along the eigenkets of the Hamiltonian first.
  • Leaving out the minus sign in e−iEt/ħ.
  • Concluding that nothing changes because each |cₙ| stays the same. The phases of the components relative to each other change, and they change the results of other measurements.
  • Calling a state stationary when it is an eigenket of another observable and not of H.

Summary

FactStatement
Schrödinger equationiħ d|ψ⟩/dt = H|ψ⟩
Stationary stateAn eigenket of H, which changes only by the phase factor e−iEt/ħ
General solution|ψ(t)⟩ = Σₙ cₙe−iEₙt/ħ|Eₙ⟩ with cₙ = ⟨Eₙ|ψ(0)⟩
Time evolution operatorU(t) = e−iHt/ħ, which is unitary
Two statesFor H = (ħΩ/2)σx and the start |↑⟩, the probability of spin down is sin²(Ωt/2)
Expectation valuesd⟨A⟩/dt = (i/ħ)⟨[H, A]⟩, which is zero when A commutes with H

Practice

Problems 1 and 2 use units in which ħ = 1. Work each problem on paper first. Then open the answer to check your work.

1. The Hamiltonian is the diagonal matrix with the entries 1 and 3, and the state at the time 0 is (1, 1)/√2. Find the state at the time t.

The standard basis kets are the eigenkets, with the energies 1 and 3.

|ψ(t)⟩ = (e−it, e−3it)/√2.

2. For the state of Problem 1, find the probability of the result |+⟩ = (1, 1)/√2 at the time t, and the first time at which it is zero.

⟨+|ψ(t)⟩ = (e−it + e−3it)/2the amplitude⟨+|ψ(t)⟩ = (e−2it(eit + e−it))/2take out the factor e−2it⟨+|ψ(t)⟩ = e−2it cos tthe formula of Eulerprobability = cos²tthe squared absolute value

It is zero for the first time at t = π/2.

3. Find the time evolution operator for H = (ħω/2)σz, and its value at the time t = 2π/ω.

H is diagonal, so U(t) is the diagonal matrix with the entries e−iωt/2 and eiωt/2.

At t = 2π/ω both entries are e−iπ = −1 and eiπ = −1, so U = −I. The spin direction has made one full turn, and the ket has the factor −1 of Topic 9.4.

4. For H = (ħΩ/2)σx and the start |↑⟩, find the first time at which the probability of spin down is 1/2.

sin²(Ωt/2) = 1/2the probability of spin downΩt/2 = π/4because sin²(π/4) = 1/2t = π/2Ωmultiply both sides by 2, then divide by Ω

5. For H = (ħω/2)σz, which of the observables σz and σx is conserved?

σz commutes with H, so it is conserved.

σx does not commute with H, because [σz, σx] = 2iσy. Its expectation value changes in time.

6. In the Rabi formula, let Δ = Ω. Find the largest probability of spin down and the period of the oscillation.

W = √Ω² + Ω² = √2 Ωlargest probability = Ω²/W² = 1/2period = 2π/W = 2π/(√2 Ω)sin²(Wt/2) repeats when Wt/2 grows by π

Python Practice

The code of this topic uses units in which ħ = 1.

Step 1. The time evolution operator

The code below builds U(t) = e−iHt from the eigenvalues and the eigenkets of H, as in Part 4: the function e−iλt is applied to each eigenvalue. The Hamiltonian is the diagonal matrix of Practice Problem 1. The code prints U and tests whether it is unitary.

Python

The diagonal entries are e−0.5i and e−1.5i, and the test gives True. Now change the time to π. Both phase factors are then −1, so U should be −I.

Python

Step 2. The state at a later time

The code below applies U to the state (1, 1)/√2 and calculates the probability of the result |+⟩, as in Practice Problem 2.

Python

Both results are 0.7702, apart from a rounding error: the probability is cos²t. Now change the time to π/2. The probability should be 0.

Python

Step 3. An oscillation in time

The loop below calculates the state at five times between 0 and 2π for the Hamiltonian H = σx/2 of Part 6, with Ω = 1. The start is |↑⟩. For each time it prints the time and the probability of spin down, which is the squared absolute value of the second component.

Python

The probabilities are 0, 0.5, 1, 0.5, and 0, which are the values of sin²(t/2). Now add the second term of Part 6 with Δ = 1: change the Hamiltonian to H = (σx + σz)/2. The probability of spin down should stay at or below 0.5.

Python

Step 4. Many short steps

From Part 4, the change of the state in a short time dt is −iH|ψ⟩ dt. The loop below applies this change 1000 times with dt = 0.001, which brings the state from the time 0 to the time 1. The code prints the state, the exact state from the formula of Part 6, and the length of the state.

Python

The state agrees with the exact state to about three decimal places. The length is 1.000125 and not exactly 1, because the matrix I − iH dt is only close to a unitary matrix. Now use 10000 steps. The length should be ten times closer to 1.

Python

Step 5. The rate of change of an expectation value

The code below checks the formula of Part 7 for the spin of Part 5 with ω = 1, so H = σz/2. The state at the time t is known from Part 5. The first result is i times the expectation value of the commutator [H, σx]. The second result is the derivative of ⟨σx⟩ = cos t, which is −sin t.

Python

Both results are −0.644218.

Quiz

This quiz has 5 questions on this topic. A question asks you either to choose one answer or to type numbers. The page grades your answers and explains each one. A number can be typed as a whole number, a decimal, a fraction such as 1/3, or a calculation such as sqrt(18)/2 or arccos(1/2). The page shows the value of a calculation next to the box. Angles in a calculation are in degrees. The Calculator button under each question opens a calculator. Your answers are saved in your browser, so they are still on the page when you come back to it.

Choose how your answers are checked

1. H is a Hermitian operator. Which kind of operator is the time evolution operator e−iHt/ħ?

2. A stationary state has the energy E = 2, in units with ħ = 1. Find its phase factor e−iEt at the time t = π/4.

3. The Hamiltonian is H = (ħΩ/2)σx with Ω = 2, in units with ħ = 1. The state at the time 0 is |↑⟩. Find the probability of spin down at the time t = π/4.

4. When is an observable A a conserved quantity, so that ⟨A⟩ stays the same in time for each state?

5. A system starts in an eigenket of H with the energy E. What happens to its state in time?

Next: Topic 9.9, Tensor Products and Systems of Two Particles