is_ppt_pauli_channel
A probability distribution p on n-qubit Pauli strings defines a PPT Pauli channel if each p(P) >= 0, sum_P p(P) = 1, and the partial transpose on the second factor of its Choi matrix is positive semidefinite.
Statement
open scoped BigOperators in open scoped ComplexOrder in def is_ppt_pauli_channel {n : ℕ} (p : PauliString n → ℝ) : Prop
- Defined in
- arXiv:2611.34872, Definition 2
- Verified
- 28 Nov 2026
- Axioms
- none listed
- Built on 3
- instFintypePauliStringinstFintypePauliString
- PauliStringA Pauli string of length $n$ is a function $p : \mathrm{Fin}\,n \to \mathrm{PauliBasis}$.
- pauli_choi_matrixGiven an implicit natural number n and an error distribution p : PauliString n → ℝ, pauli_choi_matrix p is the bipartite Choi matrix with…
Read back from the Lean
Given a natural number n and a function p : PauliString n → ℝ (assigning a real coefficient to each length-n Pauli string), is_ppt_pauli_channel p asserts that:
1. p is non-negative everywhere: for all P : PauliString n, 0 ≤ p P;
2. p sums to 1: ∑ P : PauliString n, p P = 1 (so p is a probability distribution on Pauli strings of length n); and
3. The partial transpose of the Choi matrix associated with p is positive semidefinite: specifically, the (2^n × 2^n) × (2^n × 2^n) complex matrix indexed by ((Fin n → Fin 2) × (Fin n → Fin 2)), whose entry at row p₁ and column q₁ is pauli_choi_matrix p (p₁.1, q₁.2) (q₁.1, p₁.2), satisfies Matrix.PosSemidef.
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 scoped BigOperators in open scoped ComplexOrder in /-- A Pauli channel is PPT if its error rates form a probability distribution and the partial transpose of its Choi matrix is positive semidefinite. -/ def is_ppt_pauli_channel {n : ℕ} (p : PauliString n → ℝ) : Prop := (∀ P, 0 ≤ p P) ∧ (∑ P, p P = 1) ∧ (Matrix.of fun (p₁ q₁ : (Fin n → Fin 2) × (Fin n → Fin 2)) => pauli_choi_matrix p (p₁.1, q₁.2) (q₁.1, p₁.2)).PosSemidef