B1027 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

B10 · Lesson 27 · Density matrices

Mixed states, the Bloch ball, and how T₁ and T₂ wash out a qubit's superposition

Lesson 26 treated a two-level system as perfectly isolated, so a superposition lasted forever. Real qubits, spins and atoms are coupled to their surroundings, which slowly learn about them and scramble their phases. To describe a system whose state is uncertain, because it was prepared imperfectly or because it's tangled up with an environment you aren't tracking, quantum mechanics uses the density matrix. Its diagonal holds populations, its off-diagonal terms hold the coherence that makes interference possible, and two times, T1 and T2, describe how each decays.

  • A qubit starts on the equator of the Bloch sphere, in 12(|0⟩+|1⟩), and decays. The solid curve is the length of its Bloch vector's horizontal part, the coherence; the dashed one is the population of |1⟩.
  • Coherence decays at the rate 1T2, population at 1T1. Shorten T2: interference dies long before the energy leaks out.
  • The readouts give both after 20 µs. Physics forbids T2>2T1, so the sliders won't let coherence outlast twice the energy relaxation.

Predict

A qubit is either in |0⟩ or in |1⟩, each with probability ½, and you don't know which. How does that differ from the superposition 12(|0⟩+|1⟩)?

Name it

The density matrix

For a system in state |ψi⟩ with probability pi, ρ^=∑ipi|ψi⟩⟨ψi|. Any measurement's average is ⟨Q⟩=Tr(ρ^Q^). A pure state has Trρ^2=1; a mixture has less, down to 1d for complete ignorance in d dimensions. It evolves by iℏdρ^dt=[H^,ρ^] when isolated.

The Bloch ball

For a qubit, ρ^=12(1+𝐫⋅𝝈). Pure states have |𝐫|=1 and lie on the Bloch sphere; mixed states lie inside, and the center is the completely mixed state. With populations p0, p1 and coherence ρ01, |𝐫|=(p0−p1)2+4|ρ01|2.

T1 and T2

Coupling to an environment adds two decays:

  • energy relaxation: the populations relax toward thermal equilibrium with time T1;
  • dephasing: the off-diagonal terms decay with time T2, and always T2≤2T1.

In thermal equilibrium at temperature T the populations follow Boltzmann, p1p0=e−hf/kT, with no coherence.

Inhomogeneous dephasing and echoes

When each member of an ensemble, or each repetition of an experiment, has a slightly different frequency, the average coherence decays faster, with time T2*. A spin echo, a π pulse halfway through, reverses the phases' spreading and refocuses this static part, leaving only the true T2. Echoes are why MRI images and qubit memories can last far longer than their raw decay suggests.

Worked example

A qubit with T1 = 50 µs and T2 = 30 µs starts in 12(|0⟩+|1⟩). After 20 µs, what are its coherence and its population of |1⟩?

Show the solution
  1. Coherence. The off-diagonal term starts at ½ and decays as e−t/T2: 12e−20/30=0.257 so the Bloch vector's horizontal part has shrunk to 0.513.
  2. Population. The population of |1⟩ decays toward zero (at very low temperature) as 12e−t/T1=0.335
  3. Compare the two. Coherence has lost half its size while energy has barely begun to leak. That's why quantum algorithms must finish well within T2, the shorter of the two.

Answer after 20 µs the coherence is 0.257 and the population of |1⟩ is 0.335.

Worked example

A 5 GHz superconducting qubit sits at 50 mK. In thermal equilibrium, what fraction of the time is it excited, and how pure is its state?

Show the solution
  1. Energy over temperature. hfkT=6.626×10−34×5×1091.381×10−23×0.05=4.80
  2. Excited fraction. p1p0=e−4.80, so p1=0.0082: excited 0.8% of the time.
  3. Purity. p02+p12=0.984
  4. What experiments do about it. A qubit left to itself isn't quite in |0⟩. Experiments reset it actively before each run, because a 0.8% error at the start would be larger than most of the gate errors that follow.

Answer it's excited 0.8% of the time, and its purity is 0.984.

Worked example

A Ramsey measurement on a qubit shows its coherence decaying with T2* = 1 µs, but a spin-echo measurement shows T2 = 30 µs. How much coherence does each leave after 1 µs?

Show the solution
  1. Without the echo. e−1/1=0.37
  2. With the echo. e−1/30=0.97
  3. Why they differ. The fast Ramsey decay came from a frequency that drifted slowly between repetitions, which the echo's π pulse cancels. What's left, T2, is the decay from noise too fast to refocus. Comparing the two tells a designer which kind of noise to fight.

Answer 0.37 of the coherence remains without the echo, and 0.97 with it.

Check

A qubit's density matrix has p0 = 0.7, p1 = 1 − 0.7, and off-diagonal terms of size 0.1.

(a)

What is its purity, Trρ^2?

(b)

How long is its Bloch vector?

Check

A superposition dephases with T2 = 20 µs. What fraction of its coherence remains after 5 µs?

Check

A 4 GHz qubit sits in thermal equilibrium at 80 mK. What percentage of the time is it excited?

Check

A qubit has T1 = 20 µs and T2 = 10 µs and starts in 12(|0⟩+|1⟩).

(a)

After 15 µs, how big are the off-diagonal terms?

(b)

And the population of |1⟩, near zero temperature?

Check

A qubit is reported with T1 = 20 µs and T2 = 60 µs. What do you conclude?

Check

What is the purity of a completely mixed state of 3 qubits?

Check

A qubit with p0 = p, p1 = 1 − p and coherence c.

Step 1

What is its purity?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does an environment destroy a superposition's coherence even when it takes no energy from the system?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.