Pure-state fidelity
DefinitionWildeQIT_pureFidelitydensity-operatorfidelitymatrix-analysisquantum-informationwilde-qit
Definition 9.2.1 (Pure-State Fidelity). Let be pure states. The pure-state fidelity is the squared overlap of the states:
It is the probability that a state prepared as passes the test "is it ?", and is the special case of the general fidelity (Uhlmann's theorem, Exercise 9.2.5) for two pure states.
Formalization Note. Vectors are ψ φ : n → ℂ on a finite index type; WildeQIT.pureFidelity ψ φ = ‖star ψ ⬝ᵥ φ‖ ^ 2 with . Normalization is not part of the definition; theorems add it as a hypothesis.
Definition code
import Mathlib.LinearAlgebra.Matrix.DotProduct
import Mathlib.Analysis.Complex.Basic
/-!
Wilde, *Quantum Information Theory* (2nd ed.), §9.2.1, Definition 9.2.1 (Pure-State Fidelity).
Let `|ψ⟩, |φ⟩ ∈ ℋ` be pure states. The pure-state fidelity is the squared overlap
`F(ψ, φ) ≡ |⟨ψ|φ⟩|²`.
-/
open Matrix
namespace WildeQIT
/-- **Definition 9.2.1 (Pure-State Fidelity).** For vectors `ψ φ : n → ℂ`,
`pureFidelity ψ φ = |⟨ψ|φ⟩|²` where `⟨ψ|φ⟩ = ∑ᵢ conj(ψᵢ) φᵢ`. -/
noncomputable def pureFidelity {n : Type} [Fintype n] (ψ φ : n → ℂ) : ℝ :=
‖star ψ ⬝ᵥ φ‖ ^ 2
end WildeQIT
Source
Wilde, *Quantum Information Theory*, 2nd ed. (Cambridge University Press, 2017; arXiv:1106.1445v8), §9.2.1 "Pure-State Fidelity", Definition 9.2.1 (Pure-State Fidelity).