pauli_eigenvalues
def
For an implicit natural number n, a probability distribution p : PauliString n → ℝ, and a Pauli string a : PauliString n, pauli_eigenvalues p a is the real number in ℝ defined as the sum over all Pauli strings b : PauliString n of p b * pauli_comm_factor a b.
Statement
open Classical in open scoped BigOperators in noncomputable def pauli_eigenvalues {n : ℕ} (p : PauliString n → ℝ) (a : PauliString n) : ℝ
- Defined in
- arXiv:2611.34872, line 169
- Verified
- 28 Nov 2026
- Axioms
- none listed
- Built on 3
- pauli_comm_factorFor an implicit natural number n and two Pauli strings a b : PauliString n, pauli_comm_factor a b is the real sign factor (-1 : ℝ) ^ k in…
- PauliStringA Pauli string of length $n$ is a function $p : \mathrm{Fin}\,n \to \mathrm{PauliBasis}$.
- instFintypePauliStringinstFintypePauliString
- Used by 1
- ppt_pauli_error_ratesFor an implicit natural number n, a function p : PauliString n → ℝ, and a Pauli string b : PauliString n, ppt_pauli_error_rates p b is the…
Read back from the Lean
For a natural number n, a function p : PauliString n → ℝ, and a Pauli string a : PauliString n, pauli_eigenvalues p a is defined as the real number obtained by summing p b * pauli_comm_factor a b over all b : PauliString n.
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
open Classical in open scoped BigOperators in /-- The Pauli eigenvalues lambda_a = sum_b p_b (-1)^[a,b] of a Pauli channel with error rates p. -/ noncomputable def pauli_eigenvalues {n : ℕ} (p : PauliString n → ℝ) (a : PauliString n) : ℝ := ∑ b : PauliString n, p b * pauli_comm_factor a b