Quantum information · PhysLib theorem

Fidelity One Characterizes Identical Quantum States

For finite PhysLib mixed states, fidelity reaches its maximum value exactly when the two density states are equal.

Provided by PhysLibLean checkedMeaning reviewed

What it says

What the theorem says

PhysLib rewrites fidelity as a trace norm, uses the maximizing unitary for that norm, and turns equality in the bound into equality of the square-root factors and hence of the two states.

Context

Why it matters

Fidelity is a standard measure of state similarity, and the sharp equality case explains why its top value means indistinguishable density states.

Inside the proof

Proof architecture

The nontrivial direction starts from maximal fidelity, passes through a trace-norm optimizer, and shows that the two positive square roots generate the same density matrix.

Step 1

Rewrite fidelity as a trace norm

PhysLib identifies fidelity with the trace norm of the product of the two positive square roots.

F(rho,sigma) = ||sqrt(sigma)sqrt(rho)||_1

Show the Lean ingredients
fidelity_eq_traceNorm_sqrt_mul_sqrtσ.M.sqrt.matρ.M.sqrt.mat

Step 2

Use the optimizing unitary

A unitary attaining the trace-norm variational maximum converts the equality value into a zero Hilbert-Schmidt distance between square-root factors.

Tr[(A-UB)* (A-UB)] = 0

Show the Lean ingredients
Matrix.traceNorm_eq_max_re_tr_UMatrix.trace_conjTranspose_mul_self_eq_zero_iffhave hAU : A = U.1 * B

Step 3

Recover equality of states

Squaring the aligned factors gives equal density matrices, and extensionality returns equality of the mixed states; the reverse direction uses self-fidelity.

rho = A* A = B* B = sigma

Show the Lean ingredients
MState.ext_mfidelity_self_eq_onehAeqhBeq

Authoritative formal type

Exact PhysLib statement

MState.fidelity_eq_one_iff_self.{u_1} {d : Type u_1} [Fintype d] [DecidableEq d] (ρ σ : MState d) : ρ.fidelity σ = 1 ↔ ρ = σ

This is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationMState.fidelity_eq_one_iff_self
Source moduleQuantumInfo.Finite.Distance.Fidelity
Source footprint32 nonempty lines in this declaration · 119 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomsClassical.choice, Quot.sound, propext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab