Eigenvalues of an XOR-convolution matrix are scaled Fourier coefficients
ProvedQAlgorithms.Arunachalam.xorConv_eigenvaluesarunachalamlecture-notesquantum-information
Let and let be defined by , where addition is over . Write for the Fourier coefficients of . Then the eigenvalues of , counted with multiplicity, are for :
The Hadamard matrix diagonalizes every such matrix; this is the basic tool for computing the square root of the Gram matrix in Theorem 7.5.1.
Preamble
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances set_option autoImplicit false
Formal statement
namespace QAlgorithms.Arunachalam
open QAlgorithms.Learning
/-- Arunachalam p.171, Claim 7.5.2: for `g : {0,1}^k → ℝ` and `P ∈ ℝ^{2^k × 2^k}` defined by
`P(x, y) = g(x + y)` (addition over `F₂`), the eigenvalues of `P` are
`{2^k ĝ(Q) : Q ∈ {0,1}^k}`, with `ĝ(Q) = E_z[g(z)(−1)^{Q·z}]`.
Stated with multiplicities, as the proof gives it (`H P H⁻¹ = diag(2^k ĝ(Q))`): the
characteristic polynomial of `P` is `∏_Q (X − 2^k ĝ(Q))`; and, as a set, the spectrum of `P` is
`{2^k ĝ(Q)}`. -/
theorem xorConv_eigenvalues {k : ℕ} (g : (Fin k → ZMod 2) → ℝ) :
(xorConvMatrix g).charpoly =
∏ Q : Fin k → ZMod 2, (Polynomial.X - Polynomial.C ((2 : ℝ) ^ k * boolFourier g Q)) ∧
spectrum ℝ (xorConvMatrix g) = Set.range fun Q => (2 : ℝ) ^ k * boolFourier g Q := by
sorry
end QAlgorithms.Arunachalam
Source
Srinivasan Arunachalam, Quantum Algorithms and Learning Theory — Part II, 2018 thesis, ILLC DS-2018-08, PDF p. 171, Claim 7.5.2. https://ir.cwi.nl/pub/27536/Thesis_S_Arunachalam
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let (including ), and let be an arbitrary function. Let be the real matrix indexed by with entries
where the addition is in (bitwise XOR). Let be the Boolean Fourier transform
where is the dot product, read as or in the exponent.
The theorem asserts two things:
- The characteristic polynomial of is
- The real spectrum of is exactly the set .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.