Hilbert–Schmidt norm
DefinitionWildeQIT_hsNormhilbert-schmidtquantum-informationtrace-normwilde-qit
Hilbert–Schmidt norm (Wilde §9.6). The Hilbert–Schmidt norm of an operator is
and the Hilbert–Schmidt distance between and is . Section 9.6 shows it is dominated by the trace norm up to the rank (Exercise 9.6.1) but is not monotone under channels (Exercise 9.6.2), so it is not a valid distinguishability measure.
Formalization Note. WildeQIT.hsNorm X := Real.sqrt (Matrix.trace (Xᴴ * X)).re for X : Matrix m n ℂ.
Definition code
import Mathlib.LinearAlgebra.Matrix.Trace
import Mathlib.LinearAlgebra.Matrix.ConjTranspose
import Mathlib.Analysis.Complex.Basic
import Mathlib.Analysis.SpecialFunctions.Pow.Real
/-!
Wilde, *Quantum Information Theory* (2nd ed.), §9.6 (The Hilbert–Schmidt Distance Measure).
The Hilbert–Schmidt norm of an operator `X` is `‖X‖₂ ≡ √(Tr{X†X})`, and the Hilbert–Schmidt
distance between two operators is `‖X − Y‖₂`.
-/
open Matrix
namespace WildeQIT
/-- **Hilbert–Schmidt (Frobenius) norm** `‖X‖₂ = √(Tr{X†X})` of `X : Matrix m n ℂ`. -/
noncomputable def hsNorm {m n : Type} [Fintype m] [Fintype n] (X : Matrix m n ℂ) : ℝ :=
Real.sqrt (Matrix.trace (Xᴴ * X)).re
end WildeQIT
Source
Wilde, *Quantum Information Theory*, 2nd ed. (Cambridge University Press, 2017; arXiv:1106.1445v8), §9.6 "The Hilbert–Schmidt Distance Measure", eq. defining .