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, and , describe how each decays.
- A qubit starts on the equator of the Bloch sphere, in , 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 , population at . Shorten : interference dies long before the energy leaks out.
- The readouts give both after 20 µs. Physics forbids , 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 ?
Along z they're indistinguishable: |0⟩ or |1⟩, half and half. Along x, the superposition is an eigenstate and gives "+" every time, while the mixture gives + or − at random. The difference lies in the density matrix's off-diagonal terms, the coherence: the superposition has them and the mixture doesn't. Decoherence is the process that turns the first into the second.
Name it
The density matrix
For a system in state with probability , . Any measurement's average is . A pure state has ; a mixture has less, down to for complete ignorance in d dimensions. It evolves by when isolated.
The Bloch ball
For a qubit, . Pure states have and lie on the Bloch sphere; mixed states lie inside, and the center is the completely mixed state. With populations , and coherence , .
and
Coupling to an environment adds two decays:
- energy relaxation: the populations relax toward thermal equilibrium with time ;
- dephasing: the off-diagonal terms decay with time , and always .
In thermal equilibrium at temperature T the populations follow Boltzmann, , 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 . A spin echo, a π pulse halfway through, reverses the phases' spreading and refocuses this static part, leaving only the true . Echoes are why MRI images and qubit memories can last far longer than their raw decay suggests.
Worked example
A qubit with = 50 µs and = 30 µs starts in . After 20 µs, what are its coherence and its population of |1⟩?
Show the solution
- Coherence. The off-diagonal term starts at ½ and decays as : so the Bloch vector's horizontal part has shrunk to 0.513.
- Population. The population of |1⟩ decays toward zero (at very low temperature) as
- 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 , 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
- Energy over temperature.
- Excited fraction. , so : excited 0.8% of the time.
- Purity.
- 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 = 1 µs, but a spin-echo measurement shows = 30 µs. How much coherence does each leave after 1 µs?
Show the solution
- Without the echo.
- With the echo.
- 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, , 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 = 0.7, = 1 − 0.7, and off-diagonal terms of size 0.1.
(a)
What is its purity, ?
(b)
How long is its Bloch vector?
Check
A superposition dephases with = 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 = 20 µs and = 10 µs and starts in .
(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 = 20 µs and = 60 µs. What do you conclude?
Check
What is the purity of a completely mixed state of 3 qubits?
Check
A qubit with = p, = 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°.
Step 2
What is its Bloch vector's length?
Explain why
Why does an environment destroy a superposition's coherence even when it takes no energy from the system?
Coherence is a fixed phase relation between the parts of a superposition. If the environment interacts with the system in a way that depends on which part it's in, even without exchanging energy, the environment's state becomes correlated with the system's: one environment state goes with |0⟩ and a slightly different one with |1⟩. Looking at the system alone, you have to average over the environment you aren't tracking, and the more distinguishable its two states become, the more the cross terms in the system's density matrix cancel. The populations are untouched, so no energy is lost, but interference between the two parts disappears. That's pure dephasing, and it's why can be much shorter than .
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.