prime_convolution_choi
With d : ℕ, r : ZMod d and σ : Matrix (Fin d) (Fin d) ℂ (no hypotheses), returns the complex matrix indexed by Fin d × Fin d whose entry at row (a, b) and column (a', b') equals (1/d) times the sum over j, l in Fin d of σ j l restricted to the pairs with b = r·a + j, b' = r·a' + l and a + j = a' + l, all three equations read in ZMod d (elements of Fin d cast to ZMod d through their natural-number values). This is the normalised Choi matrix J = (1/d) Σ_{a,a'} |a⟩⟨a'| ⊗ N(|a⟩⟨a'|) of the channel N(ρ) = Tr_2[U_r (ρ ⊗ σ) U_r†] with U_r|i,j⟩ = |r·i + j, i + j⟩ over ZMod d: the first index is the reference system, the second the channel output.
Statement
noncomputable def prime_convolution_choi (d : ℕ) (r : ZMod d) (σ : Matrix (Fin d) (Fin d) ℂ) : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ
- Defined in
- OP-2466 (proposed here; it builds on the qutrit convolution channels of arXiv:2609.16200, whose Theorem 8 gives the exact PPT and entanglement-breaking threshold 2/5 on a balanced two-level qutrit slice, and on arXiv:2611.09594, which shows PPT and entanglement breaking differ for another convolution environment). The Choi matrix of the convolution channel, written out from the unitary U_r: the standard Choi matrix, normalised by 1/d.
- Verified
- 26 Nov 2026
- Axioms
- none listed
- Used by 6
- prime_convolution_choi_ppt_iff_thresholdLet d be a prime with d ≥ 5, r ∈ ZMod d with r ≠ 0, r ≠ 1 and 2r ≠ 1 (r is not the inverse of 2), and p, t real numbers in [0, 1]. Let J =…
- prime_convolution_choi_traceFor d ≥ 1, every r in ZMod d and every complex d×d matrix σ, the trace of prime_convolution_choi d r σ equals the trace of σ.
- prime_convolution_separable_imp_thresholdLet d be a prime with d ≥ 5, r ∈ ZMod d with r ≠ 0, r ≠ 1 and 2r ≠ 1 (r is not the inverse of 2), and p, t real numbers in [0, 1]. If…
- prime_convolution_diagonal_environment_separableFor any finite dimension at least two and any coupling, a convolution channel with a nonnegative diagonal environment has a separable Choi…
- prime_convolution_entanglement_breaking_iff_thresholdLet d be a prime with d ≥ 5, r ∈ ZMod d with r ≠ 0, r ≠ 1 and 2r ≠ 1 (r is not the inverse of 2), and p, t real numbers in [0, 1]. The…
- prime_convolution_five_two_fifth_entanglement_breaking_iffFor every real t with 0 ≤ t ≤ 1: the matrix prime_convolution_choi 5 2 (two_level_environment 5 (1/5) t) (d = 5, r = 2, p = 1/5) is…
Read back from the Lean
Given a natural number d, an element r : ZMod d, and a d × d complex matrix σ (indexed by Fin d × Fin d), prime_convolution_choi d r σ is defined as the (d × d) × (d × d) complex matrix (indexed by (Fin d × Fin d) × (Fin d × Fin d)) whose entry at row x = (x₁, x₂) and column y = (y₁, y₂) is:
(1 / (d : ℂ)) * ∑_{j : Fin d} ∑_{l : Fin d} (if x₂ = r * x₁ + j ∧ y₂ = r * y₁ + l ∧ x₁ + j = y₁ + l in ZMod d then σ j l else 0),
where x₁, x₂, y₁, j, and l are coerced from Fin d to ℕ and then to ZMod d.
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 normalised Choi matrix of the convolution channel `ρ ↦ Tr₂[U_r (ρ ⊗ σ) U_r†]`, `U_r|i,j⟩ = |r i + j, i + j⟩` over `ZMod d`. -/ noncomputable def prime_convolution_choi (d : ℕ) (r : ZMod d) (σ : Matrix (Fin d) (Fin d) ℂ) : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ := Matrix.of fun x y => (1 / (d : ℂ)) * ∑ j : Fin d, ∑ l : Fin d, if ((x.2 : ℕ) : ZMod d) = r * ((x.1 : ℕ) : ZMod d) + ((j : ℕ) : ZMod d) ∧ ((y.2 : ℕ) : ZMod d) = r * ((y.1 : ℕ) : ZMod d) + ((l : ℕ) : ZMod d) ∧ ((x.1 : ℕ) : ZMod d) + ((j : ℕ) : ZMod d) = ((y.1 : ℕ) : ZMod d) + ((l : ℕ) : ZMod d) then σ j l else 0