From Paper to Program: Accelerating Quantum Many-Body Algorithm Development via a Multi-Stage LLM-Assisted Workflow
Yi Zhou

TL;DR
This paper presents a multi-stage LLM-assisted workflow for developing quantum many-body algorithms, externalizing critical computational knowledge to improve reliability and significantly reduce development time.
Contribution
The paper introduces an intermediate technical specification step, externalizing implementation details, which enhances code correctness and accelerates quantum algorithm development.
Findings
Externalized content enables reliable code generation.
Workflow reproduces key physical properties of quantum models.
Development time reduced from weeks to under 24 hours.
Abstract
Large language models (LLMs) can generate code rapidly but remain unreliable for scientific algorithms whose correctness depends on structural assumptions rarely explicit in the source literature. We introduce a multi-stage LLM-assisted workflow that separates theory extraction, formal specification, and code implementation. The key step is an intermediate technical specification -- produced by a dedicated LLM agent and reviewed by the human researcher -- that externalizes implementation-critical computational knowledge absent from the source literature, including explicit index conventions, contraction orderings, and matrix-free operational constraints that avoid explicit storage of large operator matrices. A controlled comparison shows that it is this externalized content, rather than the formal document structure, that enables reliable code generation. As a stringent benchmark, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
