AFTD Auto-Formalizing Theoretical Domains

gaussInvariant

def

The local-unitary invariant: determinant of the 3x3 real matrix with rows a, A·b, A·Aᵀ·a.

Statement

noncomputable def gaussInvariant (ψ : EuclideanSpace ℂ (Fin 3 → Fin 2)) : ℝ
Source
step towards three_qubit_gaussian_witness_not_locally_real
Verified
14 Nov 2026
Axioms
none listed
Built on 3
  • gaussBlochABloch vector of the first qubit: a_i = ⟨σ_i ⊗ I ⊗ I⟩.
  • gaussBlochBBloch vector of the second qubit: b_i = ⟨I ⊗ σ_i ⊗ I⟩.
  • gaussCorr2-qubit correlation matrix of qubits 1 and 2: A_{ij} = ⟨σ_i ⊗ σ_j ⊗ I⟩.

Lean source view module on GitHub

/-- Local-unitary invariant det[a, A b, A Aᵀ a] built from the Bloch vectors and correlation matrix. -/
noncomputable def gaussInvariant (ψ : EuclideanSpace ℂ (Fin 3 → Fin 2)) : ℝ := let a := gaussBlochA ψ
  let b := gaussBlochB ψ
  let A := gaussCorr ψ
  Matrix.det (Matrix.of ![a, A.mulVec b, A.mulVec (A.transpose.mulVec a)])
See it in the graphDiscuss this resultChallenge it