Co-Designing Quantum Codes with Transversal Diagonal Gates via Multi-Agent Systems
Xi He
Sirui Lu
Bei Zeng Xi He

Sirui Lu

Bei Zeng
+3
This paper presents a multi-agent platform that extends TeXRA with a Lean 4 verification layer, enabling exact scientific discovery by coupling symbolic synthesis, search, exact reconstruction, and formal verification. Applied to nonadditive quantum codes with transversal diagonal gates in the subset-sum linear-programming framework, it produces a Lean-certified catalogue of 14,116 distance-2 codes for $K\in\{2,3,4\}$ and up to six qubits, realizing cyclic logical orders 2 through 18, and extracts closed-form infinite families. A residue-degenerate $((6,4,2))$ code implements the logical controlled-phase gate $\mathrm{diag}(1,1,1,i)$. For distance-3 $((7,2,3))$ codes, 10 transversal-$T$ candidates admit exact realizations while 2 are excluded by no-go proofs, all formalized in Lean.

arXiv ·
· October 23, 2025