Entropy and distinguishability
A qubit’s state is described by continuous numbers, yet measuring it yields a single bit. So how much information does a qubit hold? This last lesson of the track gives three precise answers to three versions of that question.
Entropy of a classical source
Section titled “Entropy of a classical source”Start with the classical case. A source produces outcomes with probabilities Its Shannon entropy is
measured in bits. It is the average number of bits needed to record an outcome, and so a measure of how uncertain you are beforehand. A fair coin has entropy 1 bit. A coin that always lands heads has entropy 0. A coin with probabilities 0.9 and 0.1 has about 0.47 bits.
Entropy of a quantum state
Section titled “Entropy of a quantum state”For a density matrix the corresponding quantity is the von Neumann entropy,
In practice you compute it from the eigenvalues of , which are non-negative and sum to 1, and so form a probability distribution:
Two cases to remember:
- a pure state has eigenvalues 1 and 0, so its entropy is 0,
- the maximally mixed qubit has eigenvalues and , so its entropy is 1 bit.
Entropy measures mixedness, and nothing else.
The state gives 0 or 1 with equal probability when measured. What is its von Neumann entropy?
is a pure state, so its entropy is 0. The entropy comes from the eigenvalues of , not its diagonal entries. Measuring in the wrong basis gives a random bit, but in the right basis the outcome is certain.
Entropy as a measure of entanglement
Section titled “Entropy as a measure of entanglement”In the lesson on density matrices you saw that half of a Bell pair is maximally mixed, even though the pair is pure. That observation becomes a measuring stick.
For a pure state of two parts, the entropy of either part’s reduced state is called the entanglement entropy. Both parts always give the same value. It is 0 for a product state and 1 bit for a Bell pair, which is why one Bell pair is called one ebit of entanglement.
States in between exist too. The panel in this puzzle shows the entropy of the top qubit.
Starting from , give the top qubit the reduced state with diagonal entries 0.854 and 0.146 and no coherences. Its entropy is about 0.6 bits: entangled, but less than a Bell pair.
This puzzle needs JavaScript.
Hint
, then , then on gives a state with unequal probabilities, about 0.854 and 0.146. Then entangle.
The CNOT is the same one that makes a Bell pair. It produced less entanglement here because the control was not in an equal superposition. How much entanglement a gate creates depends on the state it acts on.
Telling states apart
Section titled “Telling states apart”Now a different question. Someone hands you a qubit that is either in state or in state , each with probability . You may do any measurement you like, once. How often can you say correctly which it was?
If the states are orthogonal, such as and , always. If they are identical, half the time, by guessing. In between, it depends on their overlap, and no measurement does better than the limit set by quantum mechanics.
In the simulator, is fixed at and you choose how far away is. Then turn the measurement axis to make your success rate as high as possible. The outcome on the side marked + is read as “it was A”.
Things to try:
- With the states at 90°, which are and , the natural choice is to measure along . That gives 75%. Can you beat it?
- Find the best axis for a few different angles. How is it placed relative to the two states?
- Bring the states close together. What does the best success rate tend to?
The best axis does not point straight at . It is tilted away from , at right angles to the line that bisects the two states, so that the + end favours exactly as much as the other end favours . The resulting success rate is the Helstrom bound:
For and the overlap is , and the bound is about 85.4%.
This limit is not a statement about clumsy apparatus. It is a property of the states. Several things you have met depend on it:
- Cryptography. BB84 is secure because an eavesdropper cannot reliably tell from .
- No-cloning. If you could copy an unknown state, you could make many copies and measure them all, distinguishing the states as well as you liked. So copying must be impossible.
For mixed states the overlap is replaced by the trace distance , a number between 0 and 1 that measures how different two density matrices are. The best success rate is . Trace distance is the standard way of saying how close a noisy state is to the one you wanted.
How many bits fit in a qubit
Section titled “How many bits fit in a qubit”Finally, the question from the top of the page. Describing a qubit’s state exactly takes infinitely many bits. But the Holevo bound says that however Alice encodes a message into qubits, and however Bob measures them, he can recover at most bits of it.
Alice and Bob share no entanglement. Alice sends Bob one qubit. How many bits of a message can he reliably recover?
The Holevo bound gives 1 bit per qubit. Superdense coding delivers 2 bits only because a second qubit, half of an entangled pair, was sent in advance.
So a qubit is not a container for unlimited data. The amplitudes are real, and a computation can make use of all of them along the way, but only a small amount of classical information can be read out at the end. Designing quantum algorithms is largely the art of working within that limit, arranging for the one thing you can read to be the thing you wanted to know.
Where to go next
Section titled “Where to go next”That completes the foundation. You can now describe pure and mixed states, gates, measurements, entanglement and noise, and you have the vocabulary the other tracks are written in. They can be taken in any order:
- Quantum Algorithms builds on interference.
- Quantum Error Correction builds on channels and entanglement.
- Quantum Machine Learning builds on gates and measurement statistics.
- Quantum Cryptography builds on distinguishability.
Remember it
Section titled “Remember it”How is the von Neumann entropy of a state defined?
, which is the Shannon entropy of the eigenvalues of .
What is the entropy of a pure state, and of a maximally mixed qubit?
0 bits and 1 bit.
How do you measure how entangled a pure state of two parts is?
By the entropy of the reduced state of either part. A Bell pair has 1 bit.
What is the best chance of telling apart two equally likely pure states and ?
. It reaches 1 only when the states are orthogonal.
How much classical information can qubits carry, with no shared entanglement?
At most bits. This is the Holevo bound.