is_quantum_state
def
A density matrix on a finite-dimensional Hilbert space is a positive semidefinite complex matrix with trace equal to 1.
Statement
def is_quantum_state {d : Type*} [Fintype d] [DecidableEq d] (ρ : Matrix d d ℂ) : Prop
- Defined in
- arXiv:2610.34972 Section 1.3
- Verified
- 07 Nov 2026
- Axioms
- none listed
- Used by 1
- two_qubit_min_bell_fidelityFor a real number ε, two_qubit_min_bell_fidelity ε is the real infimum sInf of the set of real numbers F such that there exists a complex…
Read back from the Lean
Given a finite type d with decidable equality and a d × d matrix ρ with complex entries, is_quantum_state ρ is defined to hold if and only if ρ is positive semidefinite (with respect to the partial order on ℂ from ComplexOrder, meaning ρ is Hermitian and $x^\dagger \rho x \ge 0$ for all $x : d \to \mathbb{C}$) and the trace of ρ is equal to 1.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- A quantum state (density matrix) is a positive semidefinite complex matrix of trace one. -/ def is_quantum_state {d : Type*} [Fintype d] [DecidableEq d] (ρ : Matrix d d ℂ) : Prop := open ComplexOrder in ρ.PosSemidef ∧ ρ.trace = 1