Metraipolis › archive › dc_ab79612fe5e3
AG-CoT: Verified Algorithmic Traces for LLM Program Synthesis on Clifford Circuits — arXiv:2609.33192
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.33192
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T21:53:59.424Z
- SHA-256 of the archived text
b4ce12b5068695b460ffc6d06c92bfa081f6bca06cdf396126b5538b480aa801- Stable URL of this page
https://metraipolis.com/documento/dc_ab79612fe5e3
How to cite
AG-CoT: Verified Algorithmic Traces for LLM Program Synthesis on Clifford Circuits — arXiv:2609.33192 — arXiv (en), https://arxiv.org/abs/2609.33192 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ab79612fe5e3 (Metraipolis archive dc_ab79612fe5e3, sha256 b4ce12b5068695b460ffc6d06c92bfa081f6bca06cdf396126b5538b480aa801)
BibTeX
@misc{dcab79612fe5e3,
title = {AG-CoT: Verified Algorithmic Traces for LLM Program Synthesis on Clifford Circuits — arXiv:2609.33192},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.33192},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ab79612fe5e3; sha256 b4ce12b5068695b460ffc6d06c92bfa081f6bca06cdf396126b5538b480aa801},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.33192. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Scientific code generation can produce executable programs that fail to compute the intended scientific object. We study this problem in language-model synthesis of Clifford circuits, which prepare the stabilizer states used in quantum error correction and admit exact classical verification. In our target-conditioned framework, each target is given as compact signed stabilizer generators, and an exact verifier checks the generated OpenQASM circuits. We supervise models with Aaronson-Gottesman chain-of-thought (AG-CoT) traces checked by the verifier, and continue training on model generations that the verifier accepts. Across two independently trained model families (3B and 7B), AG-CoT supervision multiplies greedy-decode state-equivalence accuracy by four to six times over circuit-only baselines, and verifier-filtered continuation training adds a further consistent gain atop both. A complementary 32B study shows that supervised models achieve near-perfect syntax and Clifford validity while the strongest direct model reaches 6.14% state equivalence per target, rising to over 10% under verifier-guided selection with multiple candidates. These results show that algorithmic trace supervision gives a large, statistically significant gain in both model families and that verifier-filtered continuation adds a further repeated gain. The persistent gap between Clifford validity and state equivalence confirms that exact verification is necessary: a circuit can be syntactically and physically valid yet prepare the wrong quantum state. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.CL). Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL); Quantum Physics (quant-ph). Pagina del lavoro: https://arxiv.org/abs/2609.33192 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T21:27:08.752Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).