Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Trace distance

Trace distance is half the trace norm of the difference between two density operators and quantifies their optimal single-copy distinguishability.

Also called trace-norm distance

Edition released Coverage: Overview · Technical · Research
On this page

Definition and operational meaning

For states rho and sigma, D_tr(rho,sigma)=||rho-sigma||_1/2, where ||A||_1=Tr sqrt(A-dagger A). The value lies between zero and one. Zero means identical states; one means perfectly distinguishable states with orthogonal supports. For equal prior probabilities, the optimal probability of correctly identifying one copy is [1+D_tr]/2.

This connects a matrix norm to a concrete measurement task. It does not mean that any convenient measurement achieves the optimum. The measurement must be chosen for the two hypotheses and their prior probabilities.

Fully solved diagonal example

Take rho=diag(0.8,0.2) and sigma=diag(0.3,0.7). Their difference is diag(0.5,-0.5), whose trace norm is one. Therefore D_tr=0.5 and optimal equal-prior success is 0.75. A Z measurement achieves it: guess rho after outcome 0 and sigma after outcome 1. The success probability is (0.8+0.7)/2=0.75.

For |0> and |+>, pure-state trace distance is sqrt(1-|<0|+>|^2)=1/sqrt(2). The optimum success probability is (1+1/sqrt(2))/2, approximately 0.853553. Measuring only Z gives success 0.75 with the best simple decision rule, so it is suboptimal. The optimal measurement basis lies between the two state directions.

Qubit geometry

For rho=(I+r dot sigma)/2 and sigma=(I+s dot sigma)/2, the difference has eigenvalues plus and minus |r-s|/2. Hence D_tr=|r-s|/2. This Euclidean relation is special to qubits. It provides a useful check for a calculated pair of Bloch vectors but should not be generalized to higher-dimensional generalized Bloch coordinates without care.

Contractivity and limits

A common quantum channel cannot increase trace distance. Noise or discarding information therefore cannot make two unknown hypotheses more distinguishable in this optimal sense. Postselection can increase conditional distinguishability, but only with success probabilities accounted for; that does not violate channel contractivity.

Small trace distance bounds the difference in probabilities for any measurement event. It is therefore stronger than agreement in one chosen histogram. Estimating it from incomplete experimental data may require assumptions or bounds rather than full state reconstruction.

The variational formula identifies the optimal measurement

Let Δ = ρ−σ. It is Hermitian and has trace zero, so its spectral decomposition separates positive and negative parts as Δ = Δ₊−Δ₋, with orthogonal supports and equal traces. The trace distance is D(ρ,σ) = TrΔ₊ = TrΔ₋. For any effect E satisfying 0 ≤ E ≤ I, Tr(EΔ) ≤ Tr(EΔ₊) ≤ TrΔ₊. Equality is obtained by taking E to project onto the positive eigenspace of Δ.

Therefore D(ρ,σ) = max_E Tr[E(ρ−σ)]. Replacing E by I−E reverses the sign, so the same distance bounds the absolute difference in any event probability. This gives an operational meaning to the matrix trace norm: it is the largest probability discrepancy that one physically allowed binary event can reveal.

With equal prior probabilities, label the positive-eigenspace outcome as ρ and its complement as σ. The success probability is [Tr(Eρ)+Tr((I−E)σ)]/2 = [1+Tr(EΔ)]/2, giving the optimum [1+D(ρ,σ)]/2. This expression depends on the equal-prior assumption. Unequal priors require the positive part of the weighted difference pρ−(1−p)σ instead.

A fully solved noncommuting qubit comparison

Take Bloch vectors r = (0.6,0,0.2) and s = (−0.2,0.4,0). Their lengths are less than one, so both describe mixed states. Their difference is (0.8,−0.4,0.2), and Δ = [(r−s)·σ]/2 has eigenvalues ±√21/10. Thus D = √21/10, approximately 0.458258, and equal-prior discrimination succeeds with probability approximately 0.729129.

The optimal positive effect is E₊ = [I+n·σ]/2 with n = (4,−2,1)/√21. For ρ, its outcome probability is [1+2.6/√21]/2. For σ, it is [1−1.6/√21]/2. Subtracting gives 2.1/√21 = √21/10, exactly the trace distance. This verifies the optimizing measurement rather than merely quoting a distance calculated from eigenvalues.

Measuring Z would instead produce probability difference |0.2−0|/2 = 0.1. The states are substantially more distinguishable along the optimal oblique axis than in the computational basis. A distance between density operators optimizes over all effects, so it should not be identified with the discrepancy in an arbitrary fixed readout histogram.

Observable errors and the factor of two

If a Hermitian observable A has operator norm at most a, Hölder's inequality gives |Tr[A(ρ−σ)]| ≤ a||ρ−σ||₁ = 2aD. A binary effect has the tighter event-probability bound D because its spectrum lies between zero and one and the state difference has trace zero. Confusing these two classes of operators creates a common factor-of-two mistake.

More generally, if A has spectrum in [m,M], subtracting its midpoint times the identity does not change Tr[A(ρ−σ)]. The centered operator has norm at most (M−m)/2, giving |⟨A⟩ρ−⟨A⟩σ| ≤ (M−m)D. For a Pauli observable the range is [−1,1], so the bound is 2D; for a projector the range is [0,1], so it is D.

These bounds apply to the stated observable and exact states. If the measurement apparatus itself is uncertain, its calibration error is an additional contribution. A state-distance bound cannot silently absorb an unrelated uncertainty in which operator was actually measured.

Unequal priors change the decision operator

Suppose ρ = |0⟩⟨0| occurs with prior 0.8 and σ = I₂/2 occurs with prior 0.2. The weighted difference is 0.8ρ−0.2σ = diag(0.7,−0.1). Its positive-eigenspace measurement guesses ρ on outcome zero and σ on outcome one. The total success probability is 0.8×1+0.2×(1/2) = 0.9. Always guessing the more likely state would succeed only with probability 0.8.

The general formula is [1+||pρ−(1−p)σ||₁]/2, which gives [1+0.8]/2 = 0.9 here. The unweighted trace distance of these states is one-half, so the equal-prior formula would instead give 0.75 and answer the wrong decision problem. Priors alter which errors are costly in the average, even though they do not alter either density operator. An optimal measurement must therefore be specified together with the hypotheses and their prior weights; state distance alone is not a complete decision rule for an arbitrarily biased ensemble.

Multiple genuine copies and restricted access

For pure states with squared overlap f, n independently supplied copies have squared overlap fⁿ. Their trace distance is therefore √(1−fⁿ). If f = 0.9 and n = 10, the distance is approximately 0.807045. The increase reflects additional input specimens, not an operation that increases the distinguishability of one specimen.

Global distinguishability can also exceed what restricted observers can access. The orthogonal states Φ+ and Φ− have global trace distance one, but both individual marginals are I₂/2, with local trace distance zero. An observer limited to one qubit cannot distinguish them at all. The distance must be evaluated on the system actually available; a global mathematical value does not guarantee that a restricted measurement arrangement can attain it.

For the two mixed states, measuring along the Bloch-vector difference gives probability gap √21/10, versus 0.1 for Z readout. The relation between this gap and the reported guessing probability assumes equal priors. For the Bell-state example the global distance is one but the distance on either single-qubit marginal is zero.

Sources

  • John Watrous · · Textbook material · cs.uwaterloo.ca
    Verification scope

    The Theory of Quantum Information, Chapter 3: Similarity and distance among states and channels
    John Watrous · · Textbook material · cs.uwaterloo.ca

    Citation identity checked ·

    Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.

    The Theory of Quantum Information: Chapter 3, Similarity and distance among states and channels
    John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.ca

    Selected text checked ·

    Full-text PDF available; binary discrimination and weighted-difference trace norm formulation inspected. No claim that every distance discussed in the extensions has a direct experimental implementation.

    Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.

  • Stephen M. Barnett, Sarah Croke · · Review article · Peer-reviewed publication recorded · arXiv
    Verification scope

    Citation identity checked ·

    Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.