← Back to section · Quantum Information Science
Fidelity and Trace Distance: Two Ways to Measure How Close Quantum States Are
How close are two quantum states? The trace distance answers 'how easily can they be distinguished experimentally', and fidelity answers 'how large is their overlap'. They are the two most used state distances in quantum information, each with a definite operational meaning.
One question recurs in theory and experiment alike: how close is the prepared state to the target state? How large must the difference between two states be before they count as “distinguishable”? Quantum information answers such questions with two quantities: the trace distance and fidelity. Both map density matrices to a number between zero and one, and both attain their extremes when the two states coincide, but their operational meanings differ and they suit different kinds of argument. Clarifying these two quantities puts the approximation signs and error budgets of the later literature on firm ground. One can say that whenever a question concerns “whether the preparation is good enough” or “how much approximation is acceptable”, the final numerical accounting must land on these two quantities or their variants.
Trace Distance: Distance Defined by Distinguishability
The trace distance is defined as half the trace norm of the difference of the two states. Its most important property comes from quantum hypothesis testing: if someone hands you one of two candidate states at random and you perform a single optimal measurement to guess, your success probability equals exactly one half plus half the trace distance. That is, the trace distance is directly “the winning margin over blind guessing”. When the two states are orthogonal, the trace distance is one and they can be distinguished perfectly; when the two states are identical, the trace distance is zero and no measurement can help.
The trace distance has another property extremely friendly to theoretical arguments: the data-processing inequality. Passing both states through the same quantum channel — be it noise, measurement, or any CPTP evolution — the trace distance of the outputs never exceeds that of the inputs. This matches physical intuition: post-processing cannot create information out of nothing. Security definitions in cryptography are often built on the trace distance, requiring, for example, that the output state of a real protocol be sufficiently close in trace distance to the ideal state, thereby guaranteeing that no distinguisher can gain an advantage.
Fidelity: Closeness Defined by Overlap
The definition of fidelity is slightly more involved: it is the square of the trace norm of the product of the square roots of the two states. When one of the states is pure, the formula simplifies greatly: the fidelity equals the expectation value of that pure state in the other state — the “content” of the target state within the prepared state. Identical states give fidelity one; completely orthogonal states give zero. The “state fidelity of 99%” in experimental reports refers to this quantity: the degree of overlap between the prepared state and the target pure state.
Fidelity is convenient to compute and to estimate by measurement, and is used extensively in experimental physics: gate fidelity, state fidelity and process fidelity are everyday metrics. But it has properties to watch: fidelity is not a metric and does not satisfy the triangle inequality; the Bures distance derived from it does. When an argument needs chained reasoning of the form “errors can be passed along and accumulated”, one usually converts to the trace distance first.
Fidelity also has a property that characterizes its geometric position: Uhlmann’s theorem states that the fidelity of two states equals the maximum overlap attainable between their respective purifications. In other words, fidelity measures “how alike the mixed states can be made once they are lifted back to pure states”, which dovetails exactly with the discussion of purification earlier. From this, the repeated appearance of fidelity in entanglement theory and quantum metrology is no accident: whenever a problem can be rewritten as “the angle between two purifications”, fidelity is the natural answer. This also suggests a unified reading — many quantities in quantum information are not isolated definitions but projections of the same set of structures (purification, trace, spectrum) onto different problems.
Converting Between Them, and the Division of Use Cases
The two quantities are not competitors but two scales for the same fact. The Fuchs–van de Graaf inequalities sandwich them together: the trace distance is bounded from above and below by fidelity, so when fidelity is close to one the trace distance is necessarily small, and when the trace distance is large the fidelity is necessarily far from one. Hence the two are equivalent for qualitative conclusions of the form “sufficiently close”, and proofs often swap between them as convenient.
The division of labour in use cases is roughly as follows. For experimental preparation quality, comparison against a target state, and reporting device metrics, use fidelity; for security definitions, recoverability in approximate error correction, distinguishing advantage and information-theoretic bounds, use the trace distance. The approximate version of quantum error correction uses the trace distance to characterize “the recovered state is hard to distinguish from the original”; in security proofs of quantum key distribution, the trace distance between the key state and the ideal uniform key corresponds directly to the maximum advantage an eavesdropper can exploit. Mastering these two languages, most error statements in the quantum information literature read smoothly.
A Concrete Example and Two Reminders
Let the target be the pure state |0⟩, and the prepared state the slightly tilted superposition cos θ|0⟩ + sin θ|1⟩. Their fidelity equals cos²θ, and their trace distance equals |sin θ|. When θ is small, the fidelity departs from one at the order of θ², while the trace distance departs from zero at the order of θ. This explains a common phenomenon in the literature: fidelity is insensitive to small errors, so its numbers always look prettier; the trace distance is more “honest”, amplifying small errors linearly. When a report gives only fidelity, the reader should consciously perform the conversion once, so as not to be misled by the squaring.
Two reminders for use. First, fidelity comes in two conventions: some literature defines it as the square root of the quantity above, some as the square itself; the numerical values differ, and the convention must be confirmed before quoting numbers. Second, estimating fidelity completely in an experiment usually requires tomography, whose cost grows exponentially with system size; for large systems, sampling methods such as direct fidelity estimation and classical shadows are commonly used, giving estimates rather than exact values. The distance quantities themselves are defined at the theoretical level; when they land in an experimental report, a statistical method always stands behind them — another layer to watch when reading hardware papers. The same holds for the trace distance: although it has a clean operational definition, directly performing the optimal distinguishing measurement is not experimentally feasible, and it is usually obtained through tomography or sampling estimation followed by conversion, so its provenance convention likewise needs to be stated when quoted.
Tags: fidelitytrace distancedistinguishabilityquantum states