Trace distance and von Neumann entropy #
To prove more results here we should probably work with the characteristic polynomial of a density matrix.
The trace distance between two density matrices.
Equations
- traceDistance ρ σ = 1 / 2 * ∑ i : Fin q, |⋯.eigenvalues i|
Instances For
The von Neumann entropy of a density matrix.
Equations
- vonNeumannEntropy ρ = -∑ i : Fin q, ⋯.eigenvalues i * Real.log (⋯.eigenvalues i)
Instances For
theorem
densityMatrix_one
{R : Type u_1}
[Ring R]
[PartialOrder R]
[StarRing R]
(ρ : densityMatrix (Fin 1))
:
A 1x1 density matrix has 1 as its single entry.
The trace distance satisfies the axiom d(x,x)=0 of a metric.