Trace distance and state discrimination
Turn a difference of density operators into an optimal binary decision and distinguish measurement limitations from preparation uncertainty.
On this page
The question for today
What you’ll understand
- Compute trace distance from the spectrum of a Hermitian difference.
- Derive the optimal equal-prior discrimination probability.
- Explain why a fixed measurement may discard distinguishing information.
A source secretly chooses between two preparations and gives you one system. Your task is to name the preparation, accepting that mistakes may be unavoidable. This operational question gives trace distance its meaning. We work with normalized density operators on the same finite-dimensional Hilbert space and allow any positive-operator-valued measurement. The preparation labels, their prior probabilities, and the number of available copies belong to the problem specification; changing any of them changes the discrimination task.
A norm with a decision interpretation
A density operator is positive and has unit trace. For two candidate states define the Hermitian difference . Its eigenvalues sum to zero, so the sum of its positive eigenvalues equals the absolute sum of its negative eigenvalues. The trace norm adds the absolute eigenvalues of a Hermitian operator. Including the factor one half makes the resulting distance range from zero for identical states to one for states with orthogonal supports.
A binary measurement has effects and , with . If outcome means guessing rho, equal priors give a success probability equal to one half plus one half of . In the eigenbasis of the difference, this quantity is maximized by accepting every positive eigenspace and rejecting every negative one. Zero eigenspaces can be assigned either way without affecting success. This derivation explains the optimal measurement rather than merely naming a norm.
Classical records are one measurement away
If both matrices are diagonal in a common basis, measuring that basis produces classical distributions. Trace distance then becomes total variation distance: sum the absolute differences of probabilities and divide by two. No quantum measurement improves on reading this common eigenbasis. For noncommuting matrices, however, the computational basis can hide their difference. The pure states with opposite x-directed Bloch vectors have identical computational-basis probabilities but are perfectly distinguished by an x-basis measurement.
Unequal priors require a weighted difference . Its trace is generally nonzero, and the optimum success probability is one half of one plus its trace norm. Substituting the equal-prior distance formula into that task is incorrect. Similarly, repeated independent copies require comparing tensor powers rather than multiplying a single-copy success probability. A receiver can sometimes improve discrimination further by a collective measurement across the entire block.
Discarding information contracts distance
A quantum channel is a linear, completely positive, trace-preserving map. Applying the same channel to either hypothesis cannot increase their trace distance. Any output measurement could instead be implemented as a measurement on the input followed by that channel, so it cannot outperform the unrestricted input optimum. Partial trace is one example: losing a tensor factor can erase distinguishing correlations even if each retained subsystem remains perfectly well defined.
This conclusion concerns deterministic processing with all outcomes included. Conditioning on a rare success flag can increase the distance between normalized conditional states, but its probability must enter the overall task. It also does not say every particular measurement attains the distance. A detector that measures only population can miss coherence entirely. Distinguish a fundamental impossibility from a restriction imposed by the available apparatus, especially when comparing a theoretical error bound with an experimental readout.
Work it through
Discriminate diagonal qubit preparations
With equal priors, discriminate from using one qubit. Find the optimal rule and success probability.
Subtract the matrices in their common basis. The difference has eigenvalues 0.5 and −0.5, so its trace norm is 1 and its trace distance is 0.5.
Assign computational outcome zero to rho because its probability is larger there. Assign outcome one to sigma. These assignments select the positive and negative eigenspaces of the difference.
Average the conditional successes with their priors: one half times 0.8 plus one half times 0.7 equals 0.75. This agrees with the norm formula and exceeds blind guessing by 0.25.
The optimal measurement reads the common basis, guesses rho on zero and sigma on one, and succeeds with probability 0.75.
The living notebook
Explore the model
Interactive lab · quantum
A basis can hide perfect distinguishability
For each fresh comparison Reset and set both controls. Compare mixing angle 90 degrees with relative phase 0 degrees against angle 90 and phase 180. Predict equal basis probabilities of one half but opposite Bloch x coordinates, +1 and −1. Inspect at time zero. This is pure-qubit geometry, without a measurement, mixed-state editor, discrimination optimizer, or collapse simulation.
- Probability |0⟩
- 71.1%
- Probability |1⟩
- 28.9%
- Bloch (x, y, z)
- 0.78, 0.45, 0.42
A normalized two-level pure state, not an interacting field simulation. Playback adds one radian per second to the relative phase; basis probabilities stay fixed. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forIdentical probabilities in one basis do not imply identical states or zero optimal distinguishability.
Pause & reason
Check your understanding
Your turn
Try it yourself
A source chooses with prior 0.9 and with prior 0.1. Find the minimum-error strategy and success.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Diagonalize the prior-weighted difference, retaining the signs of both entries.
Compare with the solution
The weighted difference is . Guess rho on zero and sigma on one; the success is . Equivalently its trace norm is 0.90, giving . Always guessing rho would achieve only 0.9. An outcome one is decisive for sigma even though sigma has a small prior probability.
Keep the idea
Take it with you
- Trace distance quantifies the best binary decision advantage for equal priors.
- The optimal effect selects the positive spectrum of the appropriate weighted difference.
- A common deterministic quantum channel cannot improve optimal distinguishability.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.