quadratic_pure_state_form
For a family of matrices T, a weight vector zeta : Fin (d^2 - 1) → ℝ, and a density matrix rho, the quadratic pure-state form is the sum over a : Fin (d^2 - 1) of zeta a * (Matrix.trace (rho * T a)).re ^ 2.
Statement
def quadratic_pure_state_form {d : ℕ} (T : Fin (d^2 - 1) → Matrix (Fin d) (Fin d) ℂ)
(ζ : Fin (d^2 - 1) → ℝ) (ρ : Matrix (Fin d) (Fin d) ℂ) : ℝ- Defined in
- arXiv:2610.36076 Def. 1
- Verified
- 02 Nov 2026
- Axioms
- none listed
- Used by 5
- open_problem_qudit_pure_state_invariantsFor any natural number d ≥ 3 and any family T of d^2 - 1 matrices satisfying is_orthonormal_hermitian_basis d T, the constant function…
- pure_state_invariant_additionFor any family of matrices T and weight vectors zeta_1, zeta_2 : Fin (d^2 - 1) → ℝ, if both satisfy is_quadratic_pure_state_invariant T,…
- orthonormal_hermitian_basis_bloch_norm_sqFor any natural number d ≥ 1, any orthonormal Hermitian basis T, and any pure state ρ, the quadratic pure-state form with weight 1 equals…
- pure_state_invariant_scalingFor any family of matrices T, if zeta : Fin (d^2 - 1) → ℝ satisfies is_quadratic_pure_state_invariant T zeta, then for any real number…
- is_quadratic_pure_state_invariantA weight vector zeta : Fin (d^2 - 1) → ℝ is a quadratic pure-state invariant for T if there exists a real constant c such that for all…
Read back from the Lean
Given a natural number $d$, a family of $d \times d$ complex matrices $T : \text{Fin}(d^2 - 1) \to \text{Matrix}(\text{Fin } d, \text{Fin } d, \mathbb{C})$, a coefficient function $\zeta : \text{Fin}(d^2 - 1) \to \mathbb{R}$, and a $d \times d$ complex matrix $\rho$, quadratic_pure_state_form T ζ ρ is the real number defined by the sum
$$\sum_{a \in \text{Fin}(d^2 - 1)} \zeta(a) \cdot \left(\operatorname{Re}(\operatorname{tr}(\rho \cdot T(a)))\right)^2$$
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
/-- The quadratic pure-state form I_rho(zeta) evaluates the sum over basis operators T_a of zeta_a times (Re(Tr(rho T_a)))^2. -/ def quadratic_pure_state_form {d : ℕ} (T : Fin (d^2 - 1) → Matrix (Fin d) (Fin d) ℂ) (ζ : Fin (d^2 - 1) → ℝ) (ρ : Matrix (Fin d) (Fin d) ℂ) : ℝ := ∑ a : Fin (d^2 - 1), ζ a * ((Matrix.trace (ρ * T a)).re ^ 2)