Uhlmann fidelity: over canonical purifications
DefinitionWildeQIT_uhlmannFidelitydensity-operatorfidelitymatrix-analysisquantum-informationwilde-qit
Definition 9.2.3 (Uhlmann Fidelity). The Uhlmann fidelity between two mixed states and is the maximum overlap between their respective purifications, where the maximization is with respect to all unitaries acting on the purification system :
The purifications are the canonical ones of §5.1.1, with , so .
Formalization Note. WildeQIT.canonicalPurification ρ : n × n → ℂ has component at (reference index first). WildeQIT.uhlmannFidelity ρ σ is the real supremum sSup of the squared overlaps ‖star φ^ρ ⬝ᵥ ((U ⊗ₖ 1) *ᵥ φ^σ)‖ ^ 2 over U ∈ Matrix.unitaryGroup n ℂ; the set is nonempty and bounded (Theorem 9.2.1 shows the supremum is attained and equals ), so it is the book's maximum.
Definition code
import Definitions.Def_WildeQIT_traceNorm
import Mathlib.LinearAlgebra.Matrix.Kronecker
import Mathlib.LinearAlgebra.UnitaryGroup
/-!
Wilde, *Quantum Information Theory* (2nd ed.), §9.2.3, Definition 9.2.3 (Uhlmann Fidelity).
The Uhlmann fidelity `F(ρ_A, σ_A)` between two mixed states is the maximum overlap between their
respective purifications, the maximization being over all unitaries `U` on the purification
system `R`: `F(ρ_A, σ_A) = max_U |⟨φ^ρ|_{RA} (U_R ⊗ I_A) |φ^σ⟩_{RA}|²`.
The purifications used are the canonical ones of §5.1.1, `|φ^ρ⟩_{RA} = (I_R ⊗ √ρ_A)|Γ⟩_{RA}`
with `|Γ⟩ = ∑ᵢ |i⟩_R |i⟩_A`, so that `dim ℋ_R = dim ℋ_A`.
-/
open Matrix
open Kronecker
open scoped MatrixOrder
namespace WildeQIT
/-- The **canonical purification** `|φ^ρ⟩_{RA} = (I_R ⊗ √ρ_A)|Γ⟩_{RA}` of `ρ : Matrix n n ℂ`,
a vector on `R × A` with `R` a copy of the index type `n`: its `(r, x)` component is `(√ρ)ₓᵣ`. -/
noncomputable def canonicalPurification {n : Type} [Fintype n] [DecidableEq n]
(ρ : Matrix n n ℂ) : n × n → ℂ :=
fun p => CFC.sqrt ρ p.2 p.1
/-- **Definition 9.2.3 (Uhlmann Fidelity).** The supremum over unitaries `U` on the reference
system of the squared overlap `|⟨φ^ρ| (U ⊗ I) |φ^σ⟩|²` of the canonical purifications; the
supremum is attained (Theorem 9.2.1), so this is the book's maximum. -/
noncomputable def uhlmannFidelity {n : Type} [Fintype n] [DecidableEq n] (ρ σ : Matrix n n ℂ) : ℝ :=
sSup {x : ℝ | ∃ U ∈ Matrix.unitaryGroup n ℂ,
x = ‖star (canonicalPurification ρ) ⬝ᵥ (((U : Matrix n n ℂ) ⊗ₖ (1 : Matrix n n ℂ)) *ᵥ
canonicalPurification σ)‖ ^ 2}
end WildeQIT
Source
Wilde, *Quantum Information Theory*, 2nd ed. (Cambridge University Press, 2017; arXiv:1106.1445v8), §9.2.3 "Uhlmann Fidelity", Definition 9.2.3 (Uhlmann Fidelity).