Trace distance, fidelity and the diamond norm quantify how well two quantum states or two quantum channels can be told apart. This page gives their definitions, operational meanings, the inequalities relating them and the conventions that most often cause errors.
ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
Overview
Two quantum states are close when no experiment can reliably tell them apart. Making
that sentence quantitative gives several different numbers, and the two used most are
the trace distance, which is literally the best achievable advantage in a
single-shot guessing game, and the fidelity, an overlap that generalises
∣⟨ψ∣ϕ⟩∣2 to mixed states. For channels the analogue of the trace
distance is the diamond distance, and the analogue of the fidelity is the
entanglement fidelity.
The measures are equivalent in the sense that each bounds the others, but they are
not interchangeable: converting a fidelity into a trace distance can cost a square
root, and averages over inputs say little about the worst input. This page collects
the definitions, the theorems that give them meaning (the Helstrom bound, Uhlmann's
theorem, the Fuchs–van de Graaf inequalities, monotonicity under channels) and the
places where conventions differ. The asymptotic theory, in which many copies are
available and the relevant quantities are relative entropies, is covered in
Hypothesis Testing and One-Shot Theory.
Intuition
Suppose a referee prepares one of two known states with equal probability and hands
it to you. Whatever measurement you make, you end up with a classical outcome and
must guess. If the states were identical you would be right half the time. The
trace distance T is defined so that the best possible success probability is exactly
21(1+T): it is the largest bias any experiment can extract. That is why
error and security statements of the form "the real system behaves like the ideal one
except with probability ε" are stated in trace distance.
The fidelity answers a different question. For a pure target ∣ψ⟩, it is the
probability that the actual state passes the test "are you ∣ψ⟩?". It is
usually what an experiment can estimate, and it is mathematically convenient because
it is determined by overlaps of purifications. But a fidelity is not an error
probability. Two pure states with overlap ∣⟨ψ∣ϕ⟩∣2=1−ε
can be distinguished with bias ε, which is much larger than
ε when ε is small. Amplitudes, not probabilities, are what add
up when errors are coherent.
For channels there is one more twist: the best way to tell two channels apart may be
to feed in half of an entangled state and keep the other half. The diamond distance
builds this into the definition.
For an operator A on a finite-dimensional Hilbert space H, the trace
norm is ∥A∥1=TrA†A, the sum of the singular values of A.
For density operators ρ and σ on H the trace distance is
T(ρ,σ)=21∥ρ−σ∥1=21i∑∣λi∣,
where λi are the eigenvalues of the Hermitian operator ρ−σ.
Variational form. Write ρ−σ=Δ+−Δ− with
Δ±≥0 supported on orthogonal subspaces (the positive and negative
eigenspaces). Because Tr(ρ−σ)=0, TrΔ+=TrΔ−=T(ρ,σ),
and
T(ρ,σ)=0≤E≤ImaxTr[E(ρ−σ)],
with the maximum attained by the projector onto the support of Δ+. Indeed
Tr[E(ρ−σ)]=Tr[EΔ+]−Tr[EΔ−]≤TrΔ+ for every
0≤E≤I. Consequently, for every measurement (POVM) {Ex} with outcome
distributions p(x)=Tr[Exρ] and q(x)=Tr[Exσ],
21x∑∣p(x)−q(x)∣≤T(ρ,σ),
and some two-outcome projective measurement attains equality: the trace distance is
the largest total variation distance between outcome distributions.
Properties.T is a metric: 0≤T≤1, T(ρ,σ)=0 exactly when
ρ=σ, T=1 exactly when the supports of ρ and σ are orthogonal,
and the triangle inequality holds because ∥⋅∥1 is a norm. It is invariant
under unitaries, jointly convex, and for commuting states with eigenvalues pi, qi
in a common eigenbasis it reduces to the classical total variation distance
21∑i∣pi−qi∣. For pure states,
T(∣ψ⟩⟨ψ∣,∣ϕ⟩⟨ϕ∣)=1−∣⟨ψ∣ϕ⟩∣2.
For qubits with Bloch vectors r and s, T=21∣r−s∣.
Some authors define the distance without the factor 21; the operational
statements then pick up that factor.
For density operators ρ and σ on a finite-dimensional Hilbert space, the
fidelity is
F(ρ,σ)=(Trρσρ)2=∥ρσ∥12,
where ∥A∥1=TrA†A is the trace norm. The two expressions agree
because (ρσ)(ρσ)†=ρσρ.
Convention. This is the squared convention, used by Jozsa and
by Wilde, and throughout KetQat Commons. With it,
F(∣ψ⟩⟨ψ∣,∣ϕ⟩⟨ϕ∣)=∣⟨ψ∣ϕ⟩∣2,F(∣ψ⟩⟨ψ∣,σ)=⟨ψ∣σ∣ψ⟩,
so the fidelity with a pure state is the probability of passing the test "is the state
∣ψ⟩?". Nielsen and Chuang and
Watrous instead call the unsquared quantity
F=Trρσρ the fidelity. Before using any
formula from the literature, check which one it means: a bound such as
T≤1−F in the squared convention reads T≤1−F2 in the
other.
Properties.0≤F≤1; F(ρ,σ)=1 exactly when ρ=σ and
F=0 exactly when the supports are orthogonal; F(ρ,σ)=F(σ,ρ),
which is not obvious from the first expression and follows from the second because
∥A∥1=∥A†∥1; F is invariant under unitaries and multiplicative,
F(ρ1⊗ρ2,σ1⊗σ2)=F(ρ1,σ1)F(ρ2,σ2).
For commuting states with eigenvalues pi, qi in a common eigenbasis,
F=(∑ipiqi)2, the squared Bhattacharyya coefficient. For
qubits,
F(ρ,σ)=Tr(ρσ)+2detρdetσ.
The fidelity is not a metric. Two metrics built from it are the Bures distance
dB(ρ,σ)=2−2F(ρ,σ) and the angle
arccosF(ρ,σ).
Let Φ be a linear map from operators on HA to operators on
HB, both finite-dimensional. Its diamond norm is
∥Φ∥⋄=max{∥(Φ⊗idR)(X)∥1:X an operator on HA⊗HR,∥X∥1≤1},
where HR is a reference space with dimHR=dimHA;
a larger reference does not increase the value. When Φ is the difference of two
completely positive maps, in particular Φ=N−M for channels
N, M, the maximum is attained on a pure state
X=∣ψ⟩⟨ψ∣AR.
The diamond distance between channels N and M is
21∥N−M∥⋄. It is the largest
trace distance between the outputs
(N⊗idR)(ρAR) and
(M⊗idR)(ρAR) over all input states, so by the
Helstrom bound the best probability of identifying which
of two equally likely channels was applied once is
21+41∥N−M∥⋄.
Properties. The diamond norm is a norm; it is multiplicative under tensor
products, ∥Φ⊗Ψ∥⋄=∥Φ∥⋄∥Ψ∥⋄;
it is submultiplicative under composition; and ∥N∥⋄=1 for
every channel. Consequently the diamond distance does not grow when the channels act
on part of a larger system, and errors add at most linearly along a circuit:
21∥Nk∘⋯∘N1−Mk∘⋯∘M1∥⋄≤j=1∑k21∥Nj−Mj∥⋄.
The reference system matters: without it one obtains the induced trace norm
max∥X∥1≤1∥Φ(X)∥1, which can be strictly smaller and is not
stable under tensoring with the identity.
The norm was introduced into quantum computation by
Kitaev and developed by
Aharonov, Kitaev and Nisan. It coincides with the
completely bounded norm of the adjoint map and can be computed by semidefinite
programming (Watrous).
Let N be a quantum channel from a d-dimensional system A to itself,
with Kraus operators {Kk}, and let ρ be a density operator on A with
purification ∣ψ⟩AR. The entanglement fidelity of N with
respect to ρ is
Fe(ρ,N)=⟨ψ∣(N⊗idR)(∣ψ⟩⟨ψ∣)∣ψ⟩=k∑∣Tr(ρKk)∣2.
It does not depend on the choice of purification or of Kraus operators. This is the
fidelity (squared convention) between the pure input
∣ψ⟩⟨ψ∣ and the output on AR.
Taking ρ=I/d, so that ∣ψ⟩=∣Φ⟩=d−1/2∑i∣i⟩A∣i⟩R,
gives the entanglement fidelity of the channel, also called its channel fidelity
or process fidelity to the identity:
Fe(N)=⟨Φ∣(N⊗idR)(∣Φ⟩⟨Φ∣)∣Φ⟩=d21k∑∣TrKk∣2.
The fidelity of N to a target unitary U is
Fe(U†∘N) with U†(X)=U†XU, that is,
d−2∑k∣Tr(U†Kk)∣2.
Properties.0≤Fe≤1, and Fe(ρ,N)=1 exactly when
N acts as the identity on the support of ρ. For every decomposition
ρ=∑ipi∣ϕi⟩⟨ϕi∣,
Fe(ρ,N)≤i∑pi⟨ϕi∣N(∣ϕi⟩⟨ϕi∣)∣ϕi⟩,
so preserving entanglement with a reference is at least as demanding as preserving
the states of an ensemble on average. For a Pauli channel
N(X)=∑PpPPXP on n qubits, Fe(N)=pI, the
probability that no error occurs.
A system is prepared in the state ρ0 with probability p0 or in ρ1 with
probability p1=1−p0. A two-outcome measurement {E0,E1}, with
E0,E1≥0 and E0+E1=I, guesses the label; the probability of a correct
guess is p0Tr[E0ρ0]+p1Tr[E1ρ1]. Then
and the maximum is attained by the projective measurement in which E0 is the
projector onto the span of the eigenvectors of p0ρ0−p1ρ1 with positive
eigenvalue and E1=I−E0 (the Helstrom measurement). Measurements with more
than two outcomes followed by any guessing rule do no better.
For equal priors this reads psuccmax=21(1+T(ρ0,ρ1))
with T the trace distance, and the minimum error
probability is 21(1−T(ρ0,ρ1)). The result goes back to
Helstrom; Watrous's bibliographic remarks credit Helstrom with the
case of projective measurements and Holevo (1972) with general measurements. A textbook statement, under the name Holevo–Helstrom
theorem, is Theorem 3.4 of Watrous.
Holds when
Two hypotheses only, with known density operators ρ0, ρ1 on a finite-dimensional Hilbert space and known prior probabilities p0+p1=1.
A single measurement on the given system; the figure of merit is the average probability of a correct guess. For more than two states no closed formula of this kind exists in general.
Proof · Proof of the Helstrom bound
Let Γ=p0ρ0−p1ρ1, a Hermitian operator with TrΓ=p0−p1.
Using E1=I−E0,
p0Tr[E0ρ0]+p1Tr[E1ρ1]=p1+Tr[E0Γ].
Using E0=I−E1 instead gives p0−Tr[E1Γ]. Averaging the two
expressions,
psucc=21+21Tr[(E0−E1)Γ].
Write the spectral decomposition Γ=Γ+−Γ− with Γ±≥0
and Γ+Γ−=0, so that ∥Γ∥1=TrΓ++TrΓ−. Since
−I≤E0−E1≤I,
which proves psucc≤21(1+∥Γ∥1) for every
two-outcome measurement. Let Π+ be the projector onto the support of Γ+
and take E0=Π+, E1=I−Π+. Then E0−E1=2Π+−I acts as +1
on the support of Γ+ and as −1 on the support of Γ−, so the
inequality is an equality.
More outcomes do not help. A general strategy is a measurement {My} followed
by a (possibly random) guess g(y)∈{0,1} with conditional probabilities
Pr[g=b∣y]. Setting Eb=∑yPr[g=b∣y]My gives a two-outcome
measurement with the same success probability, so the bound applies.
The argument is the standard one; see Helstrom and Theorem 3.4
of Watrous.
This is the formula of the Helstrom bound, which also
gives the measurement that attains it. The minimum error probability is
perrmin=21(1−∥p0ρ0−p1ρ1∥1). Special
cases:
Equal priors: psuccmax=21(1+T(ρ0,ρ1)) with
T the trace distance.
Two pure states with equal priors:
psuccmax=21(1+1−∣⟨ψ0∣ψ1⟩∣2).
n copies: replace ρb by ρb⊗n. The error then decays
exponentially in n at the rate given by the
quantum Chernoff bound.
It is used whenever a security or correctness statement is phrased as "no experiment
tells the two situations apart with advantage more than ε": that advantage,
measured as the optimal success probability minus 21, is exactly 21∥p0ρ0−p1ρ1∥1.
Holds when
Two known states ρ0, ρ1 with known priors p0+p1=1, one copy, any measurement allowed.
Let ρ and σ be density operators on HA. A purification of
ρ on HA⊗HR is a unit vector ∣ψ⟩AR with
TrR∣ψ⟩⟨ψ∣=ρ.
For every purification ∣ψ⟩AR of ρ and every purification
∣ϕ⟩AR of σ on the same space,
∣⟨ψ∣ϕ⟩∣2≤F(ρ,σ).
If dimHR≥dimHA, then for every purification
∣ψ⟩AR of ρ there is a purification ∣ϕ⟩AR of σ with
∣⟨ψ∣ϕ⟩∣2=F(ρ,σ).
Hence, with one purification ∣ψ⟩ of ρ held fixed,
F(ρ,σ)=∣ϕ⟩:TrR∣ϕ⟩⟨ϕ∣=σmax∣⟨ψ∣ϕ⟩∣2.
The theorem is due to Uhlmann, who worked with states on
∗-algebras; the finite-dimensional formulation and an elementary proof are in
Jozsa. It is the reason the fidelity is
symmetric, is at most 1, and cannot decrease under quantum channels.
Holds when
Finite-dimensional Hilbert spaces HA and HR.
Squared fidelity convention, F(ρ,σ)=∥ρσ∥12.
For the maximum to be attained with a prescribed purification of ρ, dimHR≥dimHA.
Proof · Proof of Uhlmann's theorem
Let d=dimHA and dR=dimHR, and fix orthonormal bases
{∣i⟩A} and {∣j⟩R}.
Vectors as matrices. To a d×dR complex matrix M associate the vector
∣M⟩=∑i,jMij∣i⟩A∣j⟩R. Every vector of
HA⊗HR arises this way, and a direct computation gives
TrR∣M⟩⟨M∣=MM†,⟨M∣N⟩=Tr(M†N).
So ∣M⟩ is a purification of ρ exactly when MM†=ρ.
Form of a purification. If MM†=ρ, the polar decomposition gives
M=ρU for a d×dR matrix U with ∥U∥∞≤1
(a partial isometry). Conversely ρU is a purification whenever
UU†=Id.
Part 1. Let ∣ψ⟩=∣ρU⟩ and ∣ϕ⟩=∣σV⟩
with ∥U∥∞,∥V∥∞≤1. Then
⟨ψ∣ϕ⟩=Tr(U†ρσV)=Tr(ρσVU†).
For any square matrix A and any C with ∥C∥∞≤1,
∣Tr(AC)∣≤∥A∥1: writing the singular value decomposition
A=∑ksk∣ak⟩⟨bk∣ gives
∣Tr(AC)∣=∣∑ksk⟨bk∣C∣ak⟩∣≤∑ksk. Since
∥VU†∥∞≤1,
∣⟨ψ∣ϕ⟩∣2≤∥ρσ∥12=F(ρ,σ).
No assumption on dR was used.
Part 2. Assume dR≥d and let ∣ψ⟩=∣ρU0⟩ be the given
purification, with U0 the partial isometry of the polar decomposition, so that
U0U0† is the projector onto the support of ρ. Because dR≥d, there
is a partial isometry U1 whose initial space is orthogonal to that of U0 and
whose range is the kernel of ρ; put U=U0+U1. Then UU†=Id and
ρU=ρU0, so ∣ψ⟩=∣ρU⟩.
Let ρσ=W∣ρσ∣ be a polar decomposition
with W a d×d unitary, and set V=W†U. Then VV†=W†UU†W=Id,
so ∣ϕ⟩=∣σV⟩ is a purification of σ, and
⟨ψ∣ϕ⟩=Tr(ρσVU†)=Tr(W∣ρσ∣W†)=∥ρσ∥1.
Squaring gives ∣⟨ψ∣ϕ⟩∣2=F(ρ,σ).
The proof follows the finite-dimensional argument of Jozsa; see also
section 9.2.2 of Nielsen and Chuang, where the unsquared
convention is used.
The upper bound holds with equality whenever both states are pure. The lower bound
holds with equality, for example, for commuting states whose eigenvalues in a common
eigenbasis are, index by index, either equal or such that one of the two vanishes;
this includes states with orthogonal supports.
Equivalently, (1−T)2≤F≤1−T2. Two consequences are used
constantly: a state with F≥1−ε to a target is only guaranteed to have
T≤ε, and a state with T≤ε has
F≥(1−ε)2≥1−2ε.
Density operators ρ, σ on a finite-dimensional Hilbert space.
Squared fidelity convention F(ρ,σ)=∥ρσ∥12 and trace distance T=21∥ρ−σ∥1. In the unsquared convention F′=F the statement reads 1−F′≤T≤1−F′2.
Proof · Proof of the Fuchs–van de Graaf inequalities
Pure states. For unit vectors ∣ψ⟩, ∣ϕ⟩ the operator
X=∣ψ⟩⟨ψ∣−∣ϕ⟩⟨ϕ∣ is Hermitian, traceless and of rank at
most 2, so its nonzero eigenvalues are ±λ with
2λ2=TrX2=2−2∣⟨ψ∣ϕ⟩∣2. Hence
T(∣ψ⟩⟨ψ∣,∣ϕ⟩⟨ϕ∣)=λ=1−∣⟨ψ∣ϕ⟩∣2,
which is the upper bound with equality.
Upper bound. By Uhlmann's theorem there are
purifications ∣ψ⟩AR of ρ and ∣ϕ⟩AR of σ with
∣⟨ψ∣ϕ⟩∣2=F(ρ,σ). For any 0≤E≤I on A,
by the variational form of the trace distance on AR.
Maximising over E and using the pure-state formula,
T(ρ,σ)≤1−F(ρ,σ).
Powers–Størmer inequality. For positive semidefinite A, B:
Tr(A−B)2≤∥A2−B2∥1. To see this, let A−B=∑iλi∣i⟩⟨i∣
be a spectral decomposition. Since
A2−B2=21[(A−B)(A+B)+(A+B)(A−B)],
⟨i∣(A2−B2)∣i⟩=λi⟨i∣(A+B)∣i⟩.
For a Hermitian X=X+−X− and any orthonormal basis,
∑i∣⟨i∣X∣i⟩∣≤∑i⟨i∣(X++X−)∣i⟩=∥X∥1. Therefore
Lower bound. Apply the inequality to A=ρ and B=σ:
2−2Tr(ρσ)=Tr(ρ−σ)2≤∥ρ−σ∥1=2T(ρ,σ).
The number Tr(ρσ)=Tr(σ1/4ρσ1/4) is real
and nonnegative, and ∣TrM∣≤∥M∥1 for every square matrix M, so
Tr(ρσ)≤∥ρσ∥1=F(ρ,σ).
Combining, 1−F(ρ,σ)≤T(ρ,σ).
Equality in the lower bound. If ρ and σ commute with eigenvalues pi,
qi, then 1−F=21∑i(pi−qi)2 and
T=21∑i∣pi−qi∣. Termwise
(pi−qi)2≤∣pi−qi∣ with equality exactly when pi=qi or
piqi=0.
The inequalities are due to Fuchs and van de Graaf.
Theorem 3.33 of Watrous obtains the lower bound from a measurement
whose outcome statistics attain the fidelity, and the upper bound from Uhlmann's theorem as
above; the route to the lower bound through the Powers–Størmer inequality used here is an
alternative. Section 9.2.3 of Nielsen and Chuang also relates
the two measures.
Let N be a quantum channel and let ρ, σ be density operators on
its input space. Then
T(N(ρ),N(σ))≤T(ρ,σ),F(N(ρ),N(σ))≥F(ρ,σ).
Both hold with equality when N is conjugation by a unitary or, more
generally, by an isometry. Special cases: discarding a subsystem
(N=TrB) and performing a measurement and keeping only the classical
outcome. The corresponding statement for the
relative entropy is the
data-processing inequality. Textbook treatments are section 9.2 of
Nielsen and Chuang and Chapter 9 of Wilde.
Holds when
N is a completely positive trace-preserving map between operators on finite-dimensional Hilbert spaces. For the trace distance, positivity and trace preservation suffice.
Proof · Proof that channels contract trace distance and increase fidelity
Trace distance. Let N† be the adjoint map, defined by
Tr[EN(X)]=Tr[N†(E)X]. It is positive because
N is, and unital, N†(I)=I, because N preserves
the trace. Hence 0≤E≤I implies 0≤N†(E)≤I. By the
variational form of the trace distance, with E the
optimal operator for the pair of outputs,
T(N(ρ),N(σ))=Tr[EN(ρ−σ)]=Tr[N†(E)(ρ−σ)]≤T(ρ,σ).
Fidelity. By the Stinespring dilation there are a space HE and an
isometry V:HA→HB⊗HE with
N(X)=TrE[VXV†]. By
Uhlmann's theorem, part 2, choose purifications
∣ψ⟩AR of ρ and ∣ϕ⟩AR of σ with
∣⟨ψ∣ϕ⟩∣2=F(ρ,σ). The vectors
(V⊗IR)∣ψ⟩ and (V⊗IR)∣ϕ⟩ lie in
HB⊗(HE⊗HR); tracing out ER gives
N(ρ) and N(σ), so they are purifications of the two
outputs, and their overlap is unchanged because V†V=I. Part 1 of Uhlmann's
theorem, which holds for any purifying space, gives
F(N(ρ),N(σ))≥∣⟨ψ∣(V†V⊗IR)∣ϕ⟩∣2=F(ρ,σ).
Equality for isometries. If N(X)=VXV† with V an isometry, the
nonzero eigenvalues of V(ρ−σ)V† are those of ρ−σ, and
VρV†VσV†=VρσV† has the singular
values of ρσ.
These are the standard arguments; compare Theorems 9.2 and 9.6 of
Nielsen and Chuang, and Theorem 3.27 and Corollary 3.40 of
Watrous, which prove the two monotonicity statements by other routes.
Here Fe(N) is the
entanglement fidelity of the channel for the
maximally mixed input. The relation was derived by
M., P. and R. Horodecki and given a short
direct proof by Nielsen. For the fidelity to
a target unitary U, apply it to U†∘N.
In terms of infidelities, 1−Fˉ=d+1d(1−Fe): for one qubit the
average infidelity is 2/3 of the entanglement infidelity, for two qubits 4/5.
Experiments usually report Fˉ; error budgets stated in terms of the probability
that a Pauli error occurs are statements about Fe. Neither determines the
worst-case diamond distance.
Holds when
N is a trace-preserving quantum operation on a single system of finite dimension d.
Fˉ(N)=∫dψ⟨ψ∣N(∣ψ⟩⟨ψ∣)∣ψ⟩ with dψ the unitarily invariant probability measure on pure states.
Let N be a channel on a d-dimensional system and
ω=(N⊗id)(∣Φ⟩⟨Φ∣) its normalised Choi
state. Since the maximally entangled state is one admissible input in the definition
of the diamond norm, and Tr[∣Φ⟩⟨Φ∣(∣Φ⟩⟨Φ∣−ω)]=1−Fe(N)
is a lower bound on the trace distance by its variational form,
1−Fe(N)≤21∥N−id∥⋄.
In the other direction no dimension-independent bound holds. The third worked example
shows a square-root gap already for a qubit, and a channel on d levels that sends
∣0⟩ to ∣1⟩ and acts as the identity on the other basis states has
1−Fe=(2d−1)/d2 while 21∥N−id∥⋄=1.
Worked Examples
Two mixed qubit states
Take ρ=diag(0.9,0.1) and σ=21I+0.3X, with Bloch
vectors r=(0,0,0.8) and s=(0.6,0,0).
Trace distance.ρ−σ=0.4Z−0.3X has eigenvalues ±0.5, so
T=21(0.5+0.5)=0.5, in agreement with 21∣r−s∣=21⋅1.
Helstrom measurement. With equal priors the optimal success probability is
21(1+0.5)=0.75, attained by measuring the observable 0.8Z−0.6X
and guessing ρ on the outcome +1. With priors p0=0.8 for ρ and
p1=0.2 for σ, the operator 0.8ρ−0.2σ=diag(0.62,−0.02)−0.06X
has eigenvalues 0.6256 and −0.0256, so
psuccmax=21(1+0.6512)=0.8256, slightly better than the
0.8 obtained by always guessing ρ.
Fidelity. By the qubit formula,
F=Tr(ρσ)+2detρdetσ=0.5+20.09×0.16=0.74.
Fuchs–van de Graaf.1−0.74=0.140≤0.5≤0.26=0.510. Here the
upper bound is nearly tight and the lower bound is far off; which of the two is
tight depends on the pair of states, so neither can be used as an estimate.
What a fidelity guarantee buys
A state is certified to have fidelity F≥1−10−6 with a pure target. The
Fuchs–van de Graaf inequalities give T≤10−6=10−3 and nothing
better: two pure states with that overlap have T=10−3 exactly. If the
state is the target mixed with orthogonal noise, ρ=(1−ε)∣ψ⟩⟨ψ∣+ε∣ψ⊥⟩⟨ψ⊥∣,
then F=1−ε and T=ε=10−6. The same fidelity is
compatible with trace distances three orders of magnitude apart, depending on whether
the deviation is coherent or not.
Coherent and incoherent errors with the same fidelity
Compare two single-qubit channels: the over-rotation
Uθ(X)=e−iθZ/2XeiθZ/2 and the dephasing channel
Dp(X)=(1−p)X+pZXZ.
Entanglement fidelity.Fe(Uθ)=∣Tre−iθZ/2∣2/4=cos2(θ/2)
and Fe(Dp)=1−p. They agree when p=sin2(θ/2).
Diamond distance of the rotation. For a pure input ∣ψ⟩AR with reduced
state ρA, the overlap between input and output is Tr(ρAe−iθZ/2),
a convex combination of e∓iθ/2 whose modulus is at least
cos(θ/2) for ∣θ∣≤π, with equality for ∣+⟩. Pure
states with overlap c have trace distance 1−∣c∣2, so
21∥Uθ−id∥⋄=sin(∣θ∣/2).
Diamond distance of dephasing.Dp−id=p(Z−id)
with Z(X)=ZXZ, and 21∥Z−id∥⋄=1
because the two channels map ∣+⟩ to orthogonal states. Hence
21∥Dp−id∥⋄=p.
For θ=0.02: both channels have Fe=1−1.0×10−4 (average
fidelity 1−6.7×10−5), but the diamond distances are 1.0×10−2
for the rotation and 1.0×10−4 for dephasing. A fidelity alone does not
fix the worst-case error to better than a square root.
Applications
Security and correctness definitions. Composable security of a cryptographic
protocol is stated as a bound on the trace distance (or, for channels, diamond
distance) between the real and ideal systems, because that bound is the
distinguishing advantage and it survives any further processing by monotonicity.
Circuit error budgets. If every gate of a circuit is within diamond distance
ε of its ideal version, a circuit of k gates is within kε
of the ideal circuit, by the linear accumulation stated with the diamond norm. This
bookkeeping is the reason analyses of
fault-tolerant computation are phrased
in terms of this norm, which Kitaev
introduced for that purpose.
Benchmarking. State and gate fidelities are the quantities experiments report.
Converting them into worst-case guarantees requires the inequalities on this page
and usually additional knowledge of the noise;
Gilchrist, Langford and Nielsen compare the
candidate measures for this purpose.
Quantum error correction. The entanglement fidelity of noise followed by
recovery, restricted to the code space, is the standard figure of merit for
approximate quantum error correction.
Computational Complexity
For explicitly given d×d density matrices, trace distance and fidelity
require an eigendecomposition or matrix square roots, which is polynomial in d,
hence exponential in the number of qubits. The diamond norm of a map given by its
Choi matrix is the optimal value of a semidefinite program of size polynomial in the
input and output dimensions (Watrous).
Limitations and Common Pitfalls
Squared or unsquared fidelity. This page uses
F=(Trρσρ)2. Many sources, including
Nielsen and Chuang, use the square root of this. Every
inequality changes shape between the two conventions; state yours.
Factor of one half. Trace distance is sometimes defined as ∥ρ−σ∥1
without the 21. The same ambiguity affects the diamond distance.
Fidelity is not a metric. It does not obey a triangle inequality. To chain
estimates across steps, convert to the Bures distance, the angle
arccosF or the trace distance first.
Average is not worst case. Average gate fidelity and entanglement fidelity are
averages over inputs. The third worked example shows a quadratic gap to the diamond
distance for a coherent error.
The Helstrom formula is for two hypotheses. For three or more states there is
no general closed form for the optimal measurement, and for many copies the optimal
measurement is in general collective.
Single-copy quantities are not rates. Trace distance between
ρ⊗n and σ⊗n tends to 1 for any two distinct states;
the speed is governed by the
quantum Chernoff bound, not by the
single-copy trace distance.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Topic's own text only (embedded records carry their own review states). All worked-example numbers recomputed numerically (T = 0.5, Helstrom 0.75 and 0.8256 with eigenvalues 0.6256/-0.0256, F = 0.74, Fuchs-van de Graaf values, pure vs dephased fidelity guarantee, rotation vs dephasing: F_e, average fidelity, diamond distances sin(theta/2) and p at theta = 0.02); the bound 1 - F_e <= (1/2)||N - id||_diamond re-derived; Kitaev's introduction of the diamond norm compared with Watrous (open author PDF) Sec. 3.5 notes; Watrous 2009 SDP and other reference metadata compared with Crossref.
The sentence 'No dimension-independent bound holds in the other direction beyond the square-root behaviour' could be read as asserting a dimension-free square-root bound, which is false. Replaced by an explicit statement with a checked d-level example (1 - F_e = (2d-1)/d^2 while the diamond distance is maximal).
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10
Current revision 62f33d1b498a56a2. Source file knowledge/records/topic/distinguishability-measures.md in the content repository (readable there once it is public).