AES × KKP-R — Exact Constraint Spectrum

A fully enumerated 16-bit AES S-box constraint Hamiltonian. The 39 RREF quadratic equations define the exact input/output relation. The nonzero energy spectrum depends on this selected equation basis.

Carrier65,536
Kernel256
Spectral gap7
λ max34
ε optimal2/41
Convergence ratio27/41

Exact projectors

H = Σₖ (I − Uₖ)/2; Uₖ|z⟩ = (−1)^qₖ(z)|z⟩
P = ∏ₖ₌₇³⁴ (I − H/k)
dim ker H = 256; degree P = 28
Chebyshev: pₙ(H) = Tₙ((41I − 2H)/27)/Tₙ(41/27)

Entire spectrum

λMultiplicityDistribution

16-qubit AES S-box · interactive finite-field / parity experiment

Compute the byte substitution by inversion in 𝔽₂⁸ and check all 39 quadratic constraints against the original QASM on demand. This is a browser-native, classical exact calculation.

Select Evaluate to compute.

Input x=0x53 must produce y=0xED. Initial reversible oracle: |x,0⟩ → |x,S(x)⟩. The 39-oracle joint +1 sector is precisely the 256-dimensional graph kernel.

Reproducibility and downloads

Mathematical constraints are exactly checked over 65,536 Boolean states. OpenQASM defines 39 individual diagonal phase oracles; it does not constitute a quantum speedup or physical execution.

Existing quantum simulators and research

The AES E₂₅₆ and SU(2) E₄₇ kernels remain distinct carrier constructions sharing the spectral-projection operation. Hardware execution or QPU advantage is not claimed.

Unified ANF · CNF · quadratic ideal invariance

𝔽₂₈ = 𝔽₂[α]/(α⁸+α⁴+α³+α+1)
S(x) = A x²⁵⁴ ⊕ 0x63
𝒢 = {(x,S(x)) : x ∈ 𝔽₂⁸}
𝔈₂₅₆ = span{|x,S(x)⟩}
dim I₂(𝒢) = 137 − 98 = 39
Γ⋆ = I − 2H/41
‖Γ⋆ⁿ − P‖₂ = (27/41)ⁿ

Each output ANF has degree 7; vectorial nonlinearity is 112; differential uniformity is 4. For each nonzero input difference the DDT has 129 zero entries, 126 entries equal to 2 and one equal to 4. The full quadratic nullspace has dimension 39; a 24-relation bilinear presentation requires its own basis specification.

Exact CNF correction: exhaustive projection of the graph onto every subset of up to five variables gives no forbidden assignments at widths 1–4 and exactly one at width 5: (x₂,x₃,x₆,y₃,y₅)=(0,1,0,1,0). The valid prime clause is x₂ ∨ ¬x₃ ∨ x₆ ∨ ¬y₃ ∨ y₅. Minimum width is 5, not 8. This does not certify a globally minimum CNF.

Residuals at n=34,50,67,83: 6.787609564×10⁻⁷, 8.491714258×10⁻¹⁰, 6.996064398×10⁻¹³, 8.752503991×10⁻¹⁶. For a finite Hermitian PSD operator with positive spectral endpoints Δ,L, the optimal stationary contraction is ε⋆=2/(L+Δ), ρ=(L−Δ)/(L+Δ). E₄₇ and E₂₅₆ instantiate this same identity on distinct carriers.

The ordinary complex circulant with integer coefficients (2,3,1,1) has eigenvalues 7, −1, 1±2i and modulus separation 7−√5. Actual AES MixColumns acts over GF(2⁸), where its characteristic polynomial is (t+1)⁴. The complex separation is not an AES round diffusion-rate theorem.