Skip to main content
KetQat

Appearance

Topic · intermediate

Distinguishability Measures

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\abs{\braket{\psi}{\phi}}^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 TT is defined so that the best possible success probability is exactly 12(1+T)\tfrac12(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 ε\varepsilon" are stated in trace distance.

The fidelity answers a different question. For a pure target ∣ψ⟩\ket{\psi}, it is the probability that the actual state passes the test "are you ∣ψ⟩\ket{\psi}?". 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−ε\abs{\braket{\psi}{\phi}}^2 = 1 - \varepsilon can be distinguished with bias ε\sqrt{\varepsilon}, which is much larger than ε\varepsilon when ε\varepsilon 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.

Prerequisites

Density operators, purifications and the partial trace (Density Operators); POVMs (Quantum Measurements); completely positive trace-preserving maps, Kraus operators and the Stinespring dilation (Quantum Channels). The lessons Measurement and probability and Noise and hardware give the elementary background.

Mathematical Definitions

DefinitionTrace distanceEstablished definition

For an operator AA on a finite-dimensional Hilbert space H\mathcal{H}, the trace norm is ∥A∥1=Tr⁡A†A\norm{A}_1 = \tr\sqrt{A\dagg A}, the sum of the singular values of AA. For density operators ρ\rho and σ\sigma on H\mathcal{H} the trace distance is

T(ρ,σ)  =  12∥ρ−σ∥1  =  12∑i∣λi∣,T(\rho, \sigma) \;=\; \tfrac12 \norm{\rho - \sigma}_1 \;=\; \tfrac12 \sum_i \abs{\lambda_i} ,

where λi\lambda_i are the eigenvalues of the Hermitian operator ρ−σ\rho - \sigma.

Variational form. Write ρ−σ=Δ+−Δ−\rho - \sigma = \Delta_+ - \Delta_- with Δ±≥0\Delta_\pm \ge 0 supported on orthogonal subspaces (the positive and negative eigenspaces). Because Tr⁡(ρ−σ)=0\tr(\rho - \sigma) = 0, Tr⁡Δ+=Tr⁡Δ−=T(ρ,σ)\tr \Delta_+ = \tr \Delta_- = T(\rho, \sigma), and

T(ρ,σ)  =  max⁡0≤E≤ITr⁡[E(ρ−σ)],T(\rho, \sigma) \;=\; \max_{0 \le E \le I} \tr\big[E(\rho - \sigma)\big] ,

with the maximum attained by the projector onto the support of Δ+\Delta_+. Indeed Tr⁡[E(ρ−σ)]=Tr⁡[EΔ+]−Tr⁡[EΔ−]≤Tr⁡Δ+\tr[E(\rho - \sigma)] = \tr[E\Delta_+] - \tr[E\Delta_-] \le \tr \Delta_+ for every 0≤E≤I0 \le E \le I. Consequently, for every measurement (POVM) {Ex}\{E_x\} with outcome distributions p(x)=Tr⁡[Exρ]p(x) = \tr[E_x\rho] and q(x)=Tr⁡[Exσ]q(x) = \tr[E_x\sigma],

12∑x∣p(x)−q(x)∣  ≤  T(ρ,σ),\tfrac12 \sum_x \abs{p(x) - q(x)} \;\le\; T(\rho, \sigma) ,

and some two-outcome projective measurement attains equality: the trace distance is the largest total variation distance between outcome distributions.

Properties. TT is a metric: 0≤T≤10 \le T \le 1, T(ρ,σ)=0T(\rho, \sigma) = 0 exactly when ρ=σ\rho = \sigma, T=1T = 1 exactly when the supports of ρ\rho and σ\sigma are orthogonal, and the triangle inequality holds because ∥⋅∥1\norm{\cdot}_1 is a norm. It is invariant under unitaries, jointly convex, and for commuting states with eigenvalues pip_i, qiq_i in a common eigenbasis it reduces to the classical total variation distance 12∑i∣pi−qi∣\tfrac12\sum_i \abs{p_i - q_i}. For pure states, T(∣ψ⟩⟨ψ∣,∣ϕ⟩⟨ϕ∣)=1−∣⟨ψ∣ϕ⟩∣2T(\ketbra{\psi}{\psi}, \ketbra{\phi}{\phi}) = \sqrt{1 - \abs{\braket{\psi}{\phi}}^2}. For qubits with Bloch vectors r⃗\vec r and s⃗\vec s, T=12∣r⃗−s⃗∣T = \tfrac12 \abs{\vec r - \vec s}.

Some authors define the distance without the factor 12\tfrac12; the operational statements then pick up that factor.

DefinitionFidelity of quantum statesEstablished definition

For density operators ρ\rho and σ\sigma on a finite-dimensional Hilbert space, the fidelity is

F(ρ,σ)  =  (Tr⁡ρ σρ)2  =  ∥ρσ∥1 2,F(\rho, \sigma) \;=\; \Big( \tr \sqrt{\sqrt{\rho}\, \sigma \sqrt{\rho}} \Big)^{2} \;=\; \norm{\sqrt{\rho}\sqrt{\sigma}}_1^{\,2} ,

where ∥A∥1=Tr⁡A†A\norm{A}_1 = \tr\sqrt{A\dagg A} is the trace norm. The two expressions agree because (ρσ)(ρσ)†=ρ σρ(\sqrt{\rho}\sqrt{\sigma})(\sqrt{\rho}\sqrt{\sigma})\dagg = \sqrt{\rho}\,\sigma\sqrt{\rho}.

Convention. This is the squared convention, used by Jozsa and by Wilde, and throughout KetQat Commons. With it,

F(∣ψ⟩⟨ψ∣,∣ϕ⟩⟨ϕ∣)=∣⟨ψ∣ϕ⟩∣2,F(∣ψ⟩⟨ψ∣,σ)=⟨ψ∣σ∣ψ⟩,F(\ketbra{\psi}{\psi}, \ketbra{\phi}{\phi}) = \abs{\braket{\psi}{\phi}}^2 , \qquad F(\ketbra{\psi}{\psi}, \sigma) = \bra{\psi}\sigma\ket{\psi} ,

so the fidelity with a pure state is the probability of passing the test "is the state ∣ψ⟩\ket{\psi}?". Nielsen and Chuang and Watrous instead call the unsquared quantity F=Tr⁡ρ σρ\sqrt{F} = \tr\sqrt{\sqrt{\rho}\,\sigma\sqrt{\rho}} the fidelity. Before using any formula from the literature, check which one it means: a bound such as T≤1−FT \le \sqrt{1 - F} in the squared convention reads T≤1−F2T \le \sqrt{1 - F^2} in the other.

Properties. 0≤F≤10 \le F \le 1; F(ρ,σ)=1F(\rho, \sigma) = 1 exactly when ρ=σ\rho = \sigma and F=0F = 0 exactly when the supports are orthogonal; F(ρ,σ)=F(σ,ρ)F(\rho, \sigma) = F(\sigma, \rho), which is not obvious from the first expression and follows from the second because ∥A∥1=∥A†∥1\norm{A}_1 = \norm{A\dagg}_1; FF is invariant under unitaries and multiplicative, F(ρ1⊗ρ2,σ1⊗σ2)=F(ρ1,σ1)F(ρ2,σ2)F(\rho_1 \otimes \rho_2, \sigma_1 \otimes \sigma_2) = F(\rho_1, \sigma_1) F(\rho_2, \sigma_2). For commuting states with eigenvalues pip_i, qiq_i in a common eigenbasis, F=(∑ipiqi)2F = \big(\sum_i \sqrt{p_i q_i}\big)^2, the squared Bhattacharyya coefficient. For qubits,

F(ρ,σ)=Tr⁡(ρσ)+2det⁡ρ det⁡σ.F(\rho, \sigma) = \tr(\rho\sigma) + 2\sqrt{\det\rho\, \det\sigma} .

The fidelity is not a metric. Two metrics built from it are the Bures distance dB(ρ,σ)=2−2F(ρ,σ)d_B(\rho, \sigma) = \sqrt{2 - 2\sqrt{F(\rho, \sigma)}} and the angle arccos⁡F(ρ,σ)\arccos\sqrt{F(\rho, \sigma)}.

DefinitionDiamond norm and diamond distanceEstablished definition

Let Φ\Phi be a linear map from operators on HA\mathcal{H}_A to operators on HB\mathcal{H}_B, both finite-dimensional. Its diamond norm is

∥Φ∥⋄  =  max⁡{∥(Φ⊗idR)(X)∥1  :  X an operator on HA⊗HR, ∥X∥1≤1},\norm{\Phi}_\diamond \;=\; \max\Big\{ \norm{(\Phi \otimes \mathrm{id}_R)(X)}_1 \;:\; X \text{ an operator on } \mathcal{H}_A \otimes \mathcal{H}_R,\ \norm{X}_1 \le 1 \Big\} ,

where HR\mathcal{H}_R is a reference space with dim⁡HR=dim⁡HA\dim\mathcal{H}_R = \dim\mathcal{H}_A; a larger reference does not increase the value. When Φ\Phi is the difference of two completely positive maps, in particular Φ=N−M\Phi = \mathcal{N} - \mathcal{M} for channels N\mathcal{N}, M\mathcal{M}, the maximum is attained on a pure state X=∣ψ⟩⟨ψ∣ARX = \ketbra{\psi}{\psi}_{AR}.

The diamond distance between channels N\mathcal{N} and M\mathcal{M} is 12∥N−M∥⋄\tfrac12 \norm{\mathcal{N} - \mathcal{M}}_\diamond. It is the largest trace distance between the outputs (N⊗idR)(ρAR)(\mathcal{N} \otimes \mathrm{id}_R)(\rho_{AR}) and (M⊗idR)(ρAR)(\mathcal{M} \otimes \mathrm{id}_R)(\rho_{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 12+14∥N−M∥⋄\tfrac12 + \tfrac14 \norm{\mathcal{N} - \mathcal{M}}_\diamond.

Properties. The diamond norm is a norm; it is multiplicative under tensor products, ∥Φ⊗Ψ∥⋄=∥Φ∥⋄∥Ψ∥⋄\norm{\Phi \otimes \Psi}_\diamond = \norm{\Phi}_\diamond \norm{\Psi}_\diamond; it is submultiplicative under composition; and ∥N∥⋄=1\norm{\mathcal{N}}_\diamond = 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:

12∥Nk∘⋯∘N1−Mk∘⋯∘M1∥⋄  ≤  ∑j=1k12∥Nj−Mj∥⋄.\tfrac12 \norm{\mathcal{N}_k \circ \cdots \circ \mathcal{N}_1 - \mathcal{M}_k \circ \cdots \circ \mathcal{M}_1}_\diamond \;\le\; \sum_{j=1}^{k} \tfrac12 \norm{\mathcal{N}_j - \mathcal{M}_j}_\diamond .

The reference system matters: without it one obtains the induced trace norm max⁡∥X∥1≤1∥Φ(X)∥1\max_{\norm{X}_1 \le 1} \norm{\Phi(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).

DefinitionEntanglement fidelity and channel fidelityEstablished definition

Let N\mathcal{N} be a quantum channel from a dd-dimensional system AA to itself, with Kraus operators {Kk}\{K_k\}, and let ρ\rho be a density operator on AA with purification ∣ψ⟩AR\ket{\psi}_{AR}. The entanglement fidelity of N\mathcal{N} with respect to ρ\rho is

Fe(ρ,N)  =  ⟨ψ∣ (N⊗idR)(∣ψ⟩⟨ψ∣)∣ψ⟩  =  ∑k∣Tr⁡(ρKk)∣2.F_e(\rho, \mathcal{N}) \;=\; \bra{\psi}\, (\mathcal{N} \otimes \mathrm{id}_R)\big(\ketbra{\psi}{\psi}\big) \ket{\psi} \;=\; \sum_k \abs{\tr(\rho K_k)}^2 .

It does not depend on the choice of purification or of Kraus operators. This is the fidelity (squared convention) between the pure input ∣ψ⟩⟨ψ∣\ketbra{\psi}{\psi} and the output on ARAR.

Taking ρ=I/d\rho = I/d, so that ∣ψ⟩=∣Φ⟩=d−1/2∑i∣i⟩A∣i⟩R\ket{\psi} = \ket{\Phi} = d^{-1/2}\sum_i \ket{i}_A\ket{i}_R, gives the entanglement fidelity of the channel, also called its channel fidelity or process fidelity to the identity:

Fe(N)  =  ⟨Φ∣(N⊗idR)(∣Φ⟩⟨Φ∣)∣Φ⟩  =  1d2∑k∣Tr⁡Kk∣2.F_e(\mathcal{N}) \;=\; \bra{\Phi} (\mathcal{N} \otimes \mathrm{id}_R)\big(\ketbra{\Phi}{\Phi}\big) \ket{\Phi} \;=\; \frac{1}{d^2} \sum_k \abs{\tr K_k}^2 .

The fidelity of N\mathcal{N} to a target unitary UU is Fe(U†∘N)F_e(\mathcal{U}\dagg \circ \mathcal{N}) with U†(X)=U†XU\mathcal{U}\dagg(X) = U\dagg X U, that is, d−2∑k∣Tr⁡(U†Kk)∣2d^{-2}\sum_k \abs{\tr(U\dagg K_k)}^2.

Properties. 0≤Fe≤10 \le F_e \le 1, and Fe(ρ,N)=1F_e(\rho, \mathcal{N}) = 1 exactly when N\mathcal{N} acts as the identity on the support of ρ\rho. For every decomposition ρ=∑ipi∣ϕi⟩⟨ϕi∣\rho = \sum_i p_i \ketbra{\phi_i}{\phi_i},

Fe(ρ,N)  ≤  ∑ipi⟨ϕi∣N(∣ϕi⟩⟨ϕi∣)∣ϕi⟩,F_e(\rho, \mathcal{N}) \;\le\; \sum_i p_i \bra{\phi_i} \mathcal{N}\big(\ketbra{\phi_i}{\phi_i}\big) \ket{\phi_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)=∑PpP PXP\mathcal{N}(X) = \sum_P p_P\, P X P on nn qubits, Fe(N)=pIF_e(\mathcal{N}) = p_I, the probability that no error occurs.

The quantity was introduced by Schumacher; the properties listed are in section 9.3 of Nielsen and Chuang. Its role among measures for comparing a gate with its target is discussed by Gilchrist, Langford and Nielsen.

Theorems

Operational meaning of the trace distance

TheoremHelstrom bound for discriminating two quantum statesEstablished result

A system is prepared in the state ρ0\rho_0 with probability p0p_0 or in ρ1\rho_1 with probability p1=1−p0p_1 = 1 - p_0. A two-outcome measurement {E0,E1}\{E_0, E_1\}, with E0,E1≥0E_0, E_1 \ge 0 and E0+E1=IE_0 + E_1 = I, guesses the label; the probability of a correct guess is p0Tr⁡[E0ρ0]+p1Tr⁡[E1ρ1]p_0 \tr[E_0\rho_0] + p_1 \tr[E_1\rho_1]. Then

psuccmax⁡  =  max⁡{E0,E1}(p0Tr⁡[E0ρ0]+p1Tr⁡[E1ρ1])  =  12(1+∥p0ρ0−p1ρ1∥1),p_{\mathrm{succ}}^{\max} \;=\; \max_{\{E_0, E_1\}} \big( p_0 \tr[E_0\rho_0] + p_1 \tr[E_1\rho_1] \big) \;=\; \tfrac12 \Big( 1 + \norm{p_0\rho_0 - p_1\rho_1}_1 \Big) ,

and the maximum is attained by the projective measurement in which E0E_0 is the projector onto the span of the eigenvectors of p0ρ0−p1ρ1p_0\rho_0 - p_1\rho_1 with positive eigenvalue and E1=I−E0E_1 = I - E_0 (the Helstrom measurement). Measurements with more than two outcomes followed by any guessing rule do no better.

For equal priors this reads psuccmax⁡=12(1+T(ρ0,ρ1))p_{\mathrm{succ}}^{\max} = \tfrac12\big(1 + T(\rho_0, \rho_1)\big) with TT the trace distance, and the minimum error probability is 12(1−T(ρ0,ρ1))\tfrac12\big(1 - T(\rho_0, \rho_1)\big). 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\rho_0, ρ1\rho_1 on a finite-dimensional Hilbert space and known prior probabilities p0+p1=1p_0 + p_1 = 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\Gamma = p_0\rho_0 - p_1\rho_1, a Hermitian operator with Tr⁡Γ=p0−p1\tr\Gamma = p_0 - p_1. Using E1=I−E0E_1 = I - E_0,

p0Tr⁡[E0ρ0]+p1Tr⁡[E1ρ1]=p1+Tr⁡[E0Γ].p_0 \tr[E_0\rho_0] + p_1 \tr[E_1\rho_1] = p_1 + \tr[E_0 \Gamma] .

Using E0=I−E1E_0 = I - E_1 instead gives p0−Tr⁡[E1Γ]p_0 - \tr[E_1\Gamma]. Averaging the two expressions,

psucc=12+12Tr⁡[(E0−E1)Γ].p_{\mathrm{succ}} = \tfrac12 + \tfrac12 \tr\big[(E_0 - E_1)\Gamma\big] .

Write the spectral decomposition Γ=Γ+−Γ−\Gamma = \Gamma_+ - \Gamma_- with Γ±≥0\Gamma_\pm \ge 0 and Γ+Γ−=0\Gamma_+\Gamma_- = 0, so that ∥Γ∥1=Tr⁡Γ++Tr⁡Γ−\norm{\Gamma}_1 = \tr\Gamma_+ + \tr\Gamma_-. Since −I≤E0−E1≤I-I \le E_0 - E_1 \le I,

Tr⁡[(E0−E1)Γ]=Tr⁡[(E0−E1)Γ+]−Tr⁡[(E0−E1)Γ−]≤Tr⁡Γ++Tr⁡Γ−=∥Γ∥1,\tr\big[(E_0 - E_1)\Gamma\big] = \tr\big[(E_0 - E_1)\Gamma_+\big] - \tr\big[(E_0 - E_1)\Gamma_-\big] \le \tr\Gamma_+ + \tr\Gamma_- = \norm{\Gamma}_1 ,

which proves psucc≤12(1+∥Γ∥1)p_{\mathrm{succ}} \le \tfrac12(1 + \norm{\Gamma}_1) for every two-outcome measurement. Let Π+\Pi_+ be the projector onto the support of Γ+\Gamma_+ and take E0=Π+E_0 = \Pi_+, E1=I−Π+E_1 = I - \Pi_+. Then E0−E1=2Π+−IE_0 - E_1 = 2\Pi_+ - I acts as +1+1 on the support of Γ+\Gamma_+ and as −1-1 on the support of Γ−\Gamma_-, so the inequality is an equality.

More outcomes do not help. A general strategy is a measurement {My}\{M_y\} followed by a (possibly random) guess g(y)∈{0,1}g(y) \in \{0, 1\} with conditional probabilities Pr⁡[g=b∣y]\Pr[g = b \mid y]. Setting Eb=∑yPr⁡[g=b∣y] MyE_b = \sum_y \Pr[g = b \mid y]\, M_y 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.

EquationHelstrom success probabilityEstablished result
psuccmax⁡  =  12(1+∥p0ρ0−p1ρ1∥1)p_{\mathrm{succ}}^{\max} \;=\; \tfrac12\Big(1 + \lVert p_0\rho_0 - p_1\rho_1 \rVert_1\Big)

This is the formula of the Helstrom bound, which also gives the measurement that attains it. The minimum error probability is perrmin⁡=12(1−∥p0ρ0−p1ρ1∥1)p_{\mathrm{err}}^{\min} = \tfrac12\big(1 - \norm{p_0\rho_0 - p_1\rho_1}_1\big). Special cases:

  • Equal priors: psuccmax⁡=12(1+T(ρ0,ρ1))p_{\mathrm{succ}}^{\max} = \tfrac12\big(1 + T(\rho_0, \rho_1)\big) with TT the trace distance.
  • Two pure states with equal priors: psuccmax⁡=12(1+1−∣⟨ψ0∣ψ1⟩∣2)p_{\mathrm{succ}}^{\max} = \tfrac12\big(1 + \sqrt{1 - \abs{\braket{\psi_0}{\psi_1}}^2}\big).
  • nn copies: replace ρb\rho_b by ρb⊗n\rho_b^{\otimes n}. The error then decays exponentially in nn 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 ε\varepsilon": that advantage, measured as the optimal success probability minus 12\tfrac12, is exactly 12∥p0ρ0−p1ρ1∥1\tfrac12 \norm{p_0\rho_0 - p_1\rho_1}_1.

Holds when
  • Two known states ρ0\rho_0, ρ1\rho_1 with known priors p0+p1=1p_0 + p_1 = 1, one copy, any measurement allowed.

Fidelity and purifications

TheoremUhlmann's theoremEstablished result

Let ρ\rho and σ\sigma be density operators on HA\mathcal{H}_A. A purification of ρ\rho on HA⊗HR\mathcal{H}_A \otimes \mathcal{H}_R is a unit vector ∣ψ⟩AR\ket{\psi}_{AR} with Tr⁡R∣ψ⟩⟨ψ∣=ρ\tr_R \ketbra{\psi}{\psi} = \rho.

  1. For every purification ∣ψ⟩AR\ket{\psi}_{AR} of ρ\rho and every purification ∣ϕ⟩AR\ket{\phi}_{AR} of σ\sigma on the same space, ∣⟨ψ∣ϕ⟩∣2≤F(ρ,σ)\abs{\braket{\psi}{\phi}}^2 \le F(\rho, \sigma).
  2. If dim⁡HR≥dim⁡HA\dim\mathcal{H}_R \ge \dim\mathcal{H}_A, then for every purification ∣ψ⟩AR\ket{\psi}_{AR} of ρ\rho there is a purification ∣ϕ⟩AR\ket{\phi}_{AR} of σ\sigma with ∣⟨ψ∣ϕ⟩∣2=F(ρ,σ)\abs{\braket{\psi}{\phi}}^2 = F(\rho, \sigma).

Hence, with one purification ∣ψ⟩\ket{\psi} of ρ\rho held fixed,

F(ρ,σ)  =  max⁡∣ϕ⟩ : Tr⁡R∣ϕ⟩⟨ϕ∣=σ∣⟨ψ∣ϕ⟩∣2.F(\rho, \sigma) \;=\; \max_{\ket{\phi}\,:\ \tr_R \ketbra{\phi}{\phi} = \sigma} \abs{\braket{\psi}{\phi}}^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\mathcal{H}_A and HR\mathcal{H}_R.
  • Squared fidelity convention, F(ρ,σ)=∥ρσ∥12F(\rho, \sigma) = \norm{\sqrt{\rho}\sqrt{\sigma}}_1^2.
  • For the maximum to be attained with a prescribed purification of ρ\rho, dim⁡HR≥dim⁡HA\dim\mathcal{H}_R \ge \dim\mathcal{H}_A.
Proof · Proof of Uhlmann's theorem

Let d=dim⁡HAd = \dim\mathcal{H}_A and dR=dim⁡HRd_R = \dim\mathcal{H}_R, and fix orthonormal bases {∣i⟩A}\{\ket{i}_A\} and {∣j⟩R}\{\ket{j}_R\}.

Vectors as matrices. To a d×dRd \times d_R complex matrix MM associate the vector ∣M⟩=∑i,jMij∣i⟩A∣j⟩R\ket{M} = \sum_{i,j} M_{ij} \ket{i}_A \ket{j}_R. Every vector of HA⊗HR\mathcal{H}_A \otimes \mathcal{H}_R arises this way, and a direct computation gives

Tr⁡R∣M⟩⟨M∣=MM†,⟨M∣N⟩=Tr⁡(M†N).\tr_R \ketbra{M}{M} = M M\dagg , \qquad \braket{M}{N} = \tr\big(M\dagg N\big) .

So ∣M⟩\ket{M} is a purification of ρ\rho exactly when MM†=ρM M\dagg = \rho.

Form of a purification. If MM†=ρM M\dagg = \rho, the polar decomposition gives M=ρ UM = \sqrt{\rho}\, U for a d×dRd \times d_R matrix UU with ∥U∥∞≤1\norm{U}_\infty \le 1 (a partial isometry). Conversely ρ U\sqrt{\rho}\, U is a purification whenever UU†=IdU U\dagg = I_d.

Part 1. Let ∣ψ⟩=∣ρ U⟩\ket{\psi} = \ket{\sqrt{\rho}\, U} and ∣ϕ⟩=∣σ V⟩\ket{\phi} = \ket{\sqrt{\sigma}\, V} with ∥U∥∞,∥V∥∞≤1\norm{U}_\infty, \norm{V}_\infty \le 1. Then

⟨ψ∣ϕ⟩=Tr⁡(U†ρσ V)=Tr⁡(ρσ  VU†).\braket{\psi}{\phi} = \tr\big(U\dagg \sqrt{\rho}\sqrt{\sigma}\, V\big) = \tr\big(\sqrt{\rho}\sqrt{\sigma}\; V U\dagg\big) .

For any square matrix AA and any CC with ∥C∥∞≤1\norm{C}_\infty \le 1, ∣Tr⁡(AC)∣≤∥A∥1\abs{\tr(AC)} \le \norm{A}_1: writing the singular value decomposition A=∑ksk∣ak⟩⟨bk∣A = \sum_k s_k \ketbra{a_k}{b_k} gives ∣Tr⁡(AC)∣=∣∑ksk⟨bk∣C∣ak⟩∣≤∑ksk\abs{\tr(AC)} = \abs{\sum_k s_k \bra{b_k} C \ket{a_k}} \le \sum_k s_k. Since ∥VU†∥∞≤1\norm{V U\dagg}_\infty \le 1,

∣⟨ψ∣ϕ⟩∣2≤∥ρσ∥1 2=F(ρ,σ).\abs{\braket{\psi}{\phi}}^2 \le \norm{\sqrt{\rho}\sqrt{\sigma}}_1^{\,2} = F(\rho, \sigma) .

No assumption on dRd_R was used.

Part 2. Assume dR≥dd_R \ge d and let ∣ψ⟩=∣ρ U0⟩\ket{\psi} = \ket{\sqrt{\rho}\, U_0} be the given purification, with U0U_0 the partial isometry of the polar decomposition, so that U0U0†U_0 U_0\dagg is the projector onto the support of ρ\rho. Because dR≥dd_R \ge d, there is a partial isometry U1U_1 whose initial space is orthogonal to that of U0U_0 and whose range is the kernel of ρ\rho; put U=U0+U1U = U_0 + U_1. Then UU†=IdU U\dagg = I_d and ρ U=ρ U0\sqrt{\rho}\, U = \sqrt{\rho}\, U_0, so ∣ψ⟩=∣ρ U⟩\ket{\psi} = \ket{\sqrt{\rho}\, U}.

Let ρσ=W∣ρσ∣\sqrt{\rho}\sqrt{\sigma} = W \abs{\sqrt{\rho}\sqrt{\sigma}} be a polar decomposition with WW a d×dd \times d unitary, and set V=W†UV = W\dagg U. Then VV†=W†UU†W=IdV V\dagg = W\dagg U U\dagg W = I_d, so ∣ϕ⟩=∣σ V⟩\ket{\phi} = \ket{\sqrt{\sigma}\, V} is a purification of σ\sigma, and

⟨ψ∣ϕ⟩=Tr⁡(ρσ  VU†)=Tr⁡(W∣ρσ∣ W†)=∥ρσ∥1.\braket{\psi}{\phi} = \tr\big(\sqrt{\rho}\sqrt{\sigma}\; V U\dagg\big) = \tr\big(W \abs{\sqrt{\rho}\sqrt{\sigma}}\, W\dagg\big) = \norm{\sqrt{\rho}\sqrt{\sigma}}_1 .

Squaring gives ∣⟨ψ∣ϕ⟩∣2=F(ρ,σ)\abs{\braket{\psi}{\phi}}^2 = F(\rho, \sigma).

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.

Relating the two

TheoremFuchs–van de Graaf inequalitiesEstablished result

For all density operators ρ\rho and σ\sigma,

1−F(ρ,σ)  ≤  T(ρ,σ)  ≤  1−F(ρ,σ).1 - \sqrt{F(\rho, \sigma)} \;\le\; T(\rho, \sigma) \;\le\; \sqrt{1 - F(\rho, \sigma)} .

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\big(1 - T\big)^2 \le F \le 1 - T^2. Two consequences are used constantly: a state with F≥1−εF \ge 1 - \varepsilon to a target is only guaranteed to have T≤εT \le \sqrt{\varepsilon}, and a state with T≤εT \le \varepsilon has F≥(1−ε)2≥1−2εF \ge (1 - \varepsilon)^2 \ge 1 - 2\varepsilon.

The inequalities were established by Fuchs and van de Graaf.

Holds when
  • Density operators ρ\rho, σ\sigma on a finite-dimensional Hilbert space.
  • Squared fidelity convention F(ρ,σ)=∥ρσ∥12F(\rho, \sigma) = \norm{\sqrt{\rho}\sqrt{\sigma}}_1^2 and trace distance T=12∥ρ−σ∥1T = \tfrac12\norm{\rho - \sigma}_1. In the unsquared convention F′=FF' = \sqrt{F} the statement reads 1−F′≤T≤1−F′21 - F' \le T \le \sqrt{1 - F'^2}.
Proof · Proof of the Fuchs–van de Graaf inequalities

Pure states. For unit vectors ∣ψ⟩\ket{\psi}, ∣ϕ⟩\ket{\phi} the operator X=∣ψ⟩⟨ψ∣−∣ϕ⟩⟨ϕ∣X = \ketbra{\psi}{\psi} - \ketbra{\phi}{\phi} is Hermitian, traceless and of rank at most 2, so its nonzero eigenvalues are ±λ\pm\lambda with 2λ2=Tr⁡X2=2−2∣⟨ψ∣ϕ⟩∣22\lambda^2 = \tr X^2 = 2 - 2\abs{\braket{\psi}{\phi}}^2. Hence

T(∣ψ⟩⟨ψ∣,∣ϕ⟩⟨ϕ∣)=λ=1−∣⟨ψ∣ϕ⟩∣2,T\big(\ketbra{\psi}{\psi}, \ketbra{\phi}{\phi}\big) = \lambda = \sqrt{1 - \abs{\braket{\psi}{\phi}}^2} ,

which is the upper bound with equality.

Upper bound. By Uhlmann's theorem there are purifications ∣ψ⟩AR\ket{\psi}_{AR} of ρ\rho and ∣ϕ⟩AR\ket{\phi}_{AR} of σ\sigma with ∣⟨ψ∣ϕ⟩∣2=F(ρ,σ)\abs{\braket{\psi}{\phi}}^2 = F(\rho, \sigma). For any 0≤E≤I0 \le E \le I on AA,

Tr⁡[E(ρ−σ)]=Tr⁡[(E⊗IR)(∣ψ⟩⟨ψ∣−∣ϕ⟩⟨ϕ∣)]≤T(∣ψ⟩⟨ψ∣,∣ϕ⟩⟨ϕ∣),\tr\big[E(\rho - \sigma)\big] = \tr\big[(E \otimes I_R)\big(\ketbra{\psi}{\psi} - \ketbra{\phi}{\phi}\big)\big] \le T\big(\ketbra{\psi}{\psi}, \ketbra{\phi}{\phi}\big) ,

by the variational form of the trace distance on ARAR. Maximising over EE and using the pure-state formula, T(ρ,σ)≤1−F(ρ,σ)T(\rho, \sigma) \le \sqrt{1 - F(\rho, \sigma)}.

Powers–Størmer inequality. For positive semidefinite AA, BB: Tr⁡(A−B)2≤∥A2−B2∥1\tr (A - B)^2 \le \norm{A^2 - B^2}_1. To see this, let A−B=∑iλi∣i⟩⟨i∣A - B = \sum_i \lambda_i \ketbra{i}{i} be a spectral decomposition. Since A2−B2=12[(A−B)(A+B)+(A+B)(A−B)]A^2 - B^2 = \tfrac12\big[(A - B)(A + B) + (A + B)(A - B)\big],

⟨i∣(A2−B2)∣i⟩=λi⟨i∣(A+B)∣i⟩.\bra{i}(A^2 - B^2)\ket{i} = \lambda_i \bra{i}(A + B)\ket{i} .

For a Hermitian X=X+−X−X = X_+ - X_- and any orthonormal basis, ∑i∣⟨i∣X∣i⟩∣≤∑i⟨i∣(X++X−)∣i⟩=∥X∥1\sum_i \abs{\bra{i} X \ket{i}} \le \sum_i \bra{i}(X_+ + X_-)\ket{i} = \norm{X}_1. Therefore

∥A2−B2∥1≥∑i∣λi∣ ⟨i∣(A+B)∣i⟩≥∑i∣λi∣ ∣⟨i∣(A−B)∣i⟩∣=∑iλi2=Tr⁡(A−B)2,\norm{A^2 - B^2}_1 \ge \sum_i \abs{\lambda_i}\, \bra{i}(A + B)\ket{i} \ge \sum_i \abs{\lambda_i}\, \abs{\bra{i}(A - B)\ket{i}} = \sum_i \lambda_i^2 = \tr(A - B)^2 ,

where the second step uses A,B≥0A, B \ge 0.

Lower bound. Apply the inequality to A=ρA = \sqrt{\rho} and B=σB = \sqrt{\sigma}:

2−2Tr⁡(ρσ)=Tr⁡(ρ−σ)2≤∥ρ−σ∥1=2 T(ρ,σ).2 - 2\tr\big(\sqrt{\rho}\sqrt{\sigma}\big) = \tr\big(\sqrt{\rho} - \sqrt{\sigma}\big)^2 \le \norm{\rho - \sigma}_1 = 2\, T(\rho, \sigma) .

The number Tr⁡(ρσ)=Tr⁡(σ1/4ρ σ1/4)\tr(\sqrt{\rho}\sqrt{\sigma}) = \tr(\sigma^{1/4}\sqrt{\rho}\,\sigma^{1/4}) is real and nonnegative, and ∣Tr⁡M∣≤∥M∥1\abs{\tr M} \le \norm{M}_1 for every square matrix MM, so Tr⁡(ρσ)≤∥ρσ∥1=F(ρ,σ)\tr(\sqrt{\rho}\sqrt{\sigma}) \le \norm{\sqrt{\rho}\sqrt{\sigma}}_1 = \sqrt{F(\rho, \sigma)}. Combining, 1−F(ρ,σ)≤T(ρ,σ)1 - \sqrt{F(\rho, \sigma)} \le T(\rho, \sigma).

Equality in the lower bound. If ρ\rho and σ\sigma commute with eigenvalues pip_i, qiq_i, then 1−F=12∑i(pi−qi)21 - \sqrt{F} = \tfrac12\sum_i (\sqrt{p_i} - \sqrt{q_i})^2 and T=12∑i∣pi−qi∣T = \tfrac12\sum_i \abs{p_i - q_i}. Termwise (pi−qi)2≤∣pi−qi∣(\sqrt{p_i} - \sqrt{q_i})^2 \le \abs{p_i - q_i} with equality exactly when pi=qip_i = q_i or piqi=0p_i q_i = 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.

Processing cannot help

TheoremMonotonicity of trace distance and fidelity under quantum channelsEstablished result

Let N\mathcal{N} be a quantum channel and let ρ\rho, σ\sigma be density operators on its input space. Then

T(N(ρ),N(σ))  ≤  T(ρ,σ),F(N(ρ),N(σ))  ≥  F(ρ,σ).T\big(\mathcal{N}(\rho), \mathcal{N}(\sigma)\big) \;\le\; T(\rho, \sigma) , \qquad F\big(\mathcal{N}(\rho), \mathcal{N}(\sigma)\big) \;\ge\; F(\rho, \sigma) .

Both hold with equality when N\mathcal{N} is conjugation by a unitary or, more generally, by an isometry. Special cases: discarding a subsystem (N=Tr⁡B\mathcal{N} = \tr_B) 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\mathcal{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†\mathcal{N}\dagg be the adjoint map, defined by Tr⁡[E N(X)]=Tr⁡[N†(E) X]\tr[E\, \mathcal{N}(X)] = \tr[\mathcal{N}\dagg(E)\, X]. It is positive because N\mathcal{N} is, and unital, N†(I)=I\mathcal{N}\dagg(I) = I, because N\mathcal{N} preserves the trace. Hence 0≤E≤I0 \le E \le I implies 0≤N†(E)≤I0 \le \mathcal{N}\dagg(E) \le I. By the variational form of the trace distance, with EE the optimal operator for the pair of outputs,

T(N(ρ),N(σ))=Tr⁡[E N(ρ−σ)]=Tr⁡[N†(E)(ρ−σ)]≤T(ρ,σ).T\big(\mathcal{N}(\rho), \mathcal{N}(\sigma)\big) = \tr\big[E\, \mathcal{N}(\rho - \sigma)\big] = \tr\big[\mathcal{N}\dagg(E)(\rho - \sigma)\big] \le T(\rho, \sigma) .

Fidelity. By the Stinespring dilation there are a space HE\mathcal{H}_E and an isometry V:HA→HB⊗HEV : \mathcal{H}_A \to \mathcal{H}_B \otimes \mathcal{H}_E with N(X)=Tr⁡E[VXV†]\mathcal{N}(X) = \tr_E\big[V X V\dagg\big]. By Uhlmann's theorem, part 2, choose purifications ∣ψ⟩AR\ket{\psi}_{AR} of ρ\rho and ∣ϕ⟩AR\ket{\phi}_{AR} of σ\sigma with ∣⟨ψ∣ϕ⟩∣2=F(ρ,σ)\abs{\braket{\psi}{\phi}}^2 = F(\rho, \sigma). The vectors (V⊗IR)∣ψ⟩(V \otimes I_R)\ket{\psi} and (V⊗IR)∣ϕ⟩(V \otimes I_R)\ket{\phi} lie in HB⊗(HE⊗HR)\mathcal{H}_B \otimes (\mathcal{H}_E \otimes \mathcal{H}_R); tracing out ERER gives N(ρ)\mathcal{N}(\rho) and N(σ)\mathcal{N}(\sigma), so they are purifications of the two outputs, and their overlap is unchanged because V†V=IV\dagg V = I. Part 1 of Uhlmann's theorem, which holds for any purifying space, gives

F(N(ρ),N(σ))≥∣⟨ψ∣(V†V⊗IR)∣ϕ⟩∣2=F(ρ,σ).F\big(\mathcal{N}(\rho), \mathcal{N}(\sigma)\big) \ge \abs{\bra{\psi}(V\dagg V \otimes I_R)\ket{\phi}}^2 = F(\rho, \sigma) .

Equality for isometries. If N(X)=VXV†\mathcal{N}(X) = V X V\dagg with VV an isometry, the nonzero eigenvalues of V(ρ−σ)V†V(\rho - \sigma)V\dagg are those of ρ−σ\rho - \sigma, and VρV†VσV†=Vρσ V†\sqrt{V\rho V\dagg}\sqrt{V\sigma V\dagg} = V\sqrt{\rho}\sqrt{\sigma}\,V\dagg has the singular values of ρσ\sqrt{\rho}\sqrt{\sigma}.

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.

The trace distance is also bounded by the relative entropy through the quantum Pinsker inequality, again at the price of a square root.

Fidelity measures for channels

EquationAverage fidelity from entanglement fidelityEstablished result
Fˉ(N)  =  d Fe(N)+1d+1\bar F(\mathcal{N}) \;=\; \frac{d\,F_e(\mathcal{N}) + 1}{d + 1}

Here Fe(N)F_e(\mathcal{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 UU, apply it to U†∘N\mathcal{U}\dagg \circ \mathcal{N}.

In terms of infidelities, 1−Fˉ=dd+1 (1−Fe)1 - \bar F = \frac{d}{d+1}\,(1 - F_e): for one qubit the average infidelity is 2/32/3 of the entanglement infidelity, for two qubits 4/54/5. Experiments usually report Fˉ\bar F; error budgets stated in terms of the probability that a Pauli error occurs are statements about FeF_e. Neither determines the worst-case diamond distance.

Holds when
  • N\mathcal{N} is a trace-preserving quantum operation on a single system of finite dimension dd.
  • Fˉ(N)=∫dψ ⟨ψ∣N(∣ψ⟩⟨ψ∣)∣ψ⟩\bar F(\mathcal{N}) = \int d\psi\, \bra{\psi}\mathcal{N}(\ketbra{\psi}{\psi})\ket{\psi} with dψd\psi the unitarily invariant probability measure on pure states.

Let N\mathcal{N} be a channel on a dd-dimensional system and ω=(N⊗id)(∣Φ⟩⟨Φ∣)\omega = (\mathcal{N} \otimes \mathrm{id})(\ketbra{\Phi}{\Phi}) 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)\tr[\ketbra{\Phi}{\Phi}(\ketbra{\Phi}{\Phi} - \omega)] = 1 - F_e(\mathcal{N}) is a lower bound on the trace distance by its variational form,

1−Fe(N)  ≤  12∥N−id∥⋄.1 - F_e(\mathcal{N}) \;\le\; \tfrac12 \norm{\mathcal{N} - \mathrm{id}}_\diamond .

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 dd levels that sends ∣0⟩\ket{0} to ∣1⟩\ket{1} and acts as the identity on the other basis states has 1−Fe=(2d−1)/d21 - F_e = (2d - 1)/d^2 while 12∥N−id∥⋄=1\tfrac12\norm{\mathcal{N} - \mathrm{id}}_\diamond = 1.

Worked Examples

Two mixed qubit states

Take ρ=diag⁡(0.9,0.1)\rho = \operatorname{diag}(0.9, 0.1) and σ=12I+0.3 X\sigma = \tfrac12 I + 0.3\, X, with Bloch vectors r⃗=(0,0,0.8)\vec r = (0, 0, 0.8) and s⃗=(0.6,0,0)\vec s = (0.6, 0, 0).

Trace distance. ρ−σ=0.4 Z−0.3 X\rho - \sigma = 0.4\, Z - 0.3\, X has eigenvalues ±0.5\pm 0.5, so T=12(0.5+0.5)=0.5T = \tfrac12(0.5 + 0.5) = 0.5, in agreement with 12∣r⃗−s⃗∣=12⋅1\tfrac12\abs{\vec r - \vec s} = \tfrac12 \cdot 1.

Helstrom measurement. With equal priors the optimal success probability is 12(1+0.5)=0.75\tfrac12(1 + 0.5) = 0.75, attained by measuring the observable 0.8 Z−0.6 X0.8\, Z - 0.6\, X and guessing ρ\rho on the outcome +1+1. With priors p0=0.8p_0 = 0.8 for ρ\rho and p1=0.2p_1 = 0.2 for σ\sigma, the operator 0.8ρ−0.2σ=diag⁡(0.62,−0.02)−0.06 X0.8\rho - 0.2\sigma = \operatorname{diag}(0.62, -0.02) - 0.06\, X has eigenvalues 0.62560.6256 and −0.0256-0.0256, so psuccmax⁡=12(1+0.6512)=0.8256p_{\mathrm{succ}}^{\max} = \tfrac12(1 + 0.6512) = 0.8256, slightly better than the 0.80.8 obtained by always guessing ρ\rho.

Fidelity. By the qubit formula, F=Tr⁡(ρσ)+2det⁡ρ det⁡σ=0.5+20.09×0.16=0.74F = \tr(\rho\sigma) + 2\sqrt{\det\rho\,\det\sigma} = 0.5 + 2\sqrt{0.09 \times 0.16} = 0.74.

Fuchs–van de Graaf. 1−0.74=0.140≤0.5≤0.26=0.5101 - \sqrt{0.74} = 0.140 \le 0.5 \le \sqrt{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−6F \ge 1 - 10^{-6} with a pure target. The Fuchs–van de Graaf inequalities give T≤10−6=10−3T \le \sqrt{10^{-6}} = 10^{-3} and nothing better: two pure states with that overlap have T=10−3T = 10^{-3} exactly. If the state is the target mixed with orthogonal noise, ρ=(1−ε)∣ψ⟩⟨ψ∣+ε∣ψ⊥⟩⟨ψ⊥∣\rho = (1 - \varepsilon)\ketbra{\psi}{\psi} + \varepsilon\ketbra{\psi^\perp}{\psi^\perp}, then F=1−εF = 1 - \varepsilon and T=ε=10−6T = \varepsilon = 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\mathcal{U}_\theta(X) = e^{-i\theta Z/2} X e^{i\theta Z/2} and the dephasing channel Dp(X)=(1−p)X+p ZXZ\mathcal{D}_p(X) = (1 - p) X + p\, Z X Z.

  • Entanglement fidelity. Fe(Uθ)=∣Tr⁡e−iθZ/2∣2/4=cos⁡2(θ/2)F_e(\mathcal{U}_\theta) = \abs{\tr e^{-i\theta Z/2}}^2/4 = \cos^2(\theta/2) and Fe(Dp)=1−pF_e(\mathcal{D}_p) = 1 - p. They agree when p=sin⁡2(θ/2)p = \sin^2(\theta/2).
  • Diamond distance of the rotation. For a pure input ∣ψ⟩AR\ket{\psi}_{AR} with reduced state ρA\rho_A, the overlap between input and output is Tr⁡(ρAe−iθZ/2)\tr(\rho_A e^{-i\theta Z/2}), a convex combination of e∓iθ/2e^{\mp i\theta/2} whose modulus is at least cos⁡(θ/2)\cos(\theta/2) for ∣θ∣≤π\abs{\theta} \le \pi, with equality for ∣+⟩\ket{+}. Pure states with overlap cc have trace distance 1−∣c∣2\sqrt{1 - \abs{c}^2}, so 12∥Uθ−id∥⋄=sin⁡(∣θ∣/2)\tfrac12\norm{\mathcal{U}_\theta - \mathrm{id}}_\diamond = \sin(\abs{\theta}/2).
  • Diamond distance of dephasing. Dp−id=p (Z−id)\mathcal{D}_p - \mathrm{id} = p\,(\mathcal{Z} - \mathrm{id}) with Z(X)=ZXZ\mathcal{Z}(X) = ZXZ, and 12∥Z−id∥⋄=1\tfrac12\norm{\mathcal{Z} - \mathrm{id}}_\diamond = 1 because the two channels map ∣+⟩\ket{+} to orthogonal states. Hence 12∥Dp−id∥⋄=p\tfrac12\norm{\mathcal{D}_p - \mathrm{id}}_\diamond = p.

For θ=0.02\theta = 0.02: both channels have Fe=1−1.0×10−4F_e = 1 - 1.0 \times 10^{-4} (average fidelity 1−6.7×10−51 - 6.7 \times 10^{-5}), but the diamond distances are 1.0×10−21.0 \times 10^{-2} for the rotation and 1.0×10−41.0 \times 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 ε\varepsilon of its ideal version, a circuit of kk gates is within kεk\varepsilon 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×dd \times d density matrices, trace distance and fidelity require an eigendecomposition or matrix square roots, which is polynomial in dd, 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⁡ρ σρ)2F = \big(\tr\sqrt{\sqrt{\rho}\,\sigma\sqrt{\rho}}\big)^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\norm{\rho - \sigma}_1 without the 12\tfrac12. 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 arccos⁡F\arccos\sqrt{F} 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\rho^{\otimes n} and σ⊗n\sigma^{\otimes 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.
Mentioned in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Carl W. Helstrom (1969). Quantum detection and estimation theory. Journal of Statistical Physics 1, 231-252. doi:10.1007/BF01007479
  2. A. Uhlmann (1976). The "transition probability" in the state space of a *-algebra. Reports on Mathematical Physics 9, 273-279. doi:10.1016/0034-4877(76)90060-4
  3. Richard Jozsa (1994). Fidelity for mixed quantum states. Journal of Modern Optics 41, 2315-2323. doi:10.1080/09500349414552171
  4. Christopher A. Fuchs, Jeroen van de Graaf (1999). Cryptographic distinguishability measures for quantum-mechanical states. IEEE Transactions on Information Theory 45, 1216-1227. doi:10.1109/18.761271arXiv:quant-ph/9712042
  5. A. Yu. Kitaev (1997). Quantum computations: algorithms and error correction. Russian Mathematical Surveys 52, 1191-1249. doi:10.1070/RM1997v052n06ABEH002155
  6. Dorit Aharonov, Alexei Kitaev, Noam Nisan (1998). Quantum circuits with mixed states. Proceedings of the 30th Annual ACM Symposium on Theory of Computing (STOC '98), 20-30. doi:10.1145/276698.276708arXiv:quant-ph/9806029
  7. John Watrous (2009). Semidefinite programs for completely bounded norms. Theory of Computing 5, 217-238. doi:10.4086/toc.2009.v005a011arXiv:0901.4709
  8. Alexei Gilchrist, Nathan K. Langford, Michael A. Nielsen (2005). Distance measures to compare real and ideal quantum processes. Physical Review A 71, 062310. doi:10.1103/PhysRevA.71.062310arXiv:quant-ph/0408063
  9. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667
  10. Mark M. Wilde (2017). Quantum Information Theory (2nd edition). Cambridge University Press. doi:10.1017/9781316809976arXiv:1106.1445
  11. John Watrous (2018). The Theory of Quantum Information. Cambridge University Press. doi:10.1017/9781316848142
  12. Benjamin Schumacher (1996). Sending entanglement through noisy quantum channels. Physical Review A 54, 2614-2628. doi:10.1103/PhysRevA.54.2614arXiv:quant-ph/9604023
  13. Michał Horodecki, Paweł Horodecki, Ryszard Horodecki (1999). General teleportation channel, singlet fraction, and quasidistillation. Physical Review A 60, 1888-1898. doi:10.1103/PhysRevA.60.1888arXiv:quant-ph/9807091
  14. Michael A. Nielsen (2002). A simple formula for the average gate fidelity of a quantum dynamical operation. Physics Letters A 303, 249-252. doi:10.1016/S0375-9601(02)01272-0arXiv:quant-ph/0205035

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. 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

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 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).