gaussAxis
def
The standard Bloch axis order X, Y, Z.
Statement
noncomputable def gaussAxis : Fin 3 → PauliBasis
- Source
- step towards three_qubit_gaussian_witness_not_locally_real
- Verified
- 14 Nov 2026
- Axioms
- none listed
- Built on 1
- PauliBasisThe four Pauli basis elements $\{I,X,Y,Z\}$, represented as an inductive type.
- Used by 4
- gaussBlochBBloch vector of the second qubit: b_i = ⟨I ⊗ σ_i ⊗ I⟩.
- gaussPauliFrameThe single-qubit Pauli frame C(m)_{ij} = Re tr(m^* σ_i m σ_j)/2 of a 2x2 matrix m.
- gaussBlochABloch vector of the first qubit: a_i = ⟨σ_i ⊗ I ⊗ I⟩.
- gaussCorr2-qubit correlation matrix of qubits 1 and 2: A_{ij} = ⟨σ_i ⊗ σ_j ⊗ I⟩.
Lean source view module on GitHub
/-- The Bloch axis order X, Y, Z as a map Fin 3 → PauliBasis. -/ noncomputable def gaussAxis : Fin 3 → PauliBasis := ![PauliBasis.X, PauliBasis.Y, PauliBasis.Z]