arXiv:2610.41183cs.AIOct 2026

Manuscript Offprint

arXiv:2610.41183

Researcher-in-the-Loop Evolutionary Discovery of Entanglement-Assisted Quantum Code Families

Jae-Hyun Baek, Byung-Sun Won, Jon-Lark Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

LLM-guided program evolution can produce mathematical constructions, but validity, generality, and reproducibility require distinct evidence. We develop a researcher-in-the-loop discovery pipeline that combines program evolution, exact evaluation, mathematical generalization, certified nonexistence checks, and formal proof checking. We apply it to entanglement-assisted quantum error-correcting codes (EAQECCs). Starting from tasks that did not specify a family formula, evolved programs produced finite qubit constructions whose structure researchers generalized to the family [[n,1,n−1;n−q−1]]q[[n, 1, n-1; n-q-1]]_q for prime powers q≥3q \geq 3 at n≥2q+1n \geq 2q+1 and for q=2q=2 at odd n≥5n \geq 5. Lean checks the algebraic certificate underlying this family. Together with entanglement lifting, the family closes 54 gaps in archived EAQECC tables. The released evidence includes 115 verified code records, ten nonexistence results with checked DRAT proofs, family implementations, and preserved search programs for exact checks and seeded replay. In a controlled cohort of eight paired generation blocks, validation-selected iterative programs achieve success in 46.1% and 31.6% of held-out executions at unseen lengths n=13,15n=13, 15, compared with 19.5% and 3.1% for independently generated programs. In this setting, program evolution and researcher analysis turn finite computational discoveries into a proved family with independently checkable evidence.

1 INTRODUCTION

LLM-guided program search has produced mathematical constructions and algorithms (Romera-Paredes et al., 2024; Novikov et al., 2025). Their outputs can also support general mathematical results through researcher analysis. This raises three questions: whether evolved programs produce valid codes, whether their structure can be generalized and proved to work beyond the searched cases, and whether the resulting constructions and preserved searches can be independently reproduced. Addressing these questions requires records of the initial task, computational discoveries and subsequent mathematical analysis.

We study this process for entanglement-assisted quantum error-correcting codes (EAQECCs). Early AlphaEvolve searches produced finite qubit codes whose structure led us to an infinite qubit family. Further mathematical generalization gives the prime-power construction and proof in Theorem 1. The initial instructions suggested directions such as cyclic shifts, but did not provide this family formula. Later instructions explicitly incorporated the discovered qubit family (Appendix B.3), allowing it to guide further searches.

Our reproducibility contribution concerns these mathematical constructions and their computational evidence. The artifact supplies code matrices, family implementations, proofs, task specifications and preserved search programs. Readers can recompute code parameters, construct and verify family

*Corresponding author: jlkim@sogang.ac.kr instances, inspect the proof and replay preserved searches. Figure 1 summarizes how researcher analysis and program evolution interact. Section 3.4 specifies which operations are reproducible. A final Lean stage checks the algebraic construction underlying Theorem 1 (Appendix D); model generation remains stochastic.

Several improvements concern constructions published in 2020 and 2022 that remained listed in the EAQECC tables accessed on 17 July 2026 (Grassl et al., 2020; Luo et al., 2022). Our constructions and certified exclusions close nine previously tabulated qubit distance gaps (Table 1). The prior constructions predate our table access by approximately four to six years. Their dates document available constructions rather than a complete history of improvement attempts.

Our contributions are:

  • A researcher-in-the-loop discovery pipeline. We connect LLM-guided program evolution with researcher proposals, mathematical generalization and formal proof checking for EAQECC discovery. Preserved programs, code matrices and formal certificates support reconstruction and independent verification of the resulting constructions (Sections 3 and 3.4).

  • General constructions from evolved program outputs. Finite qubit constructions led to the general family of Theorem 1, whose algebraic construction is checked in Lean. The family and entanglement lifting close 54 listed gaps, while checked nonexistence certificates establish selected optimality and minimum-entanglement results (Section 4).

  • Program development and generalization. We compare independent and iterative generation under shared research guidance. Eight new generation blocks yield longer-code success of 46.1% and 31.6% for iterative programs, versus 19.5% and 3.1% for independent proposals at n=13,15n = 13, 15. Preserved lineages identify useful objective and search-policy changes (Section 5).