From Paper to Program: Knowledge Externalization for AI-Assisted Quantum Many-Body Code Generation

작성자

카테고리:

← 피드로
arXiv cs.AI · Yi Zhou · 2026-06-17 AI

[Submitted on 5 Apr 2026 (v1), last revised 17 Jun 2026 (this version, v4)]

View PDF HTML (experimental)

Abstract:Large language models can write scientific code, but direct paper-to-program translation remains fragile when correctness depends on tacit conventions rather than explicit equations. We frame this as a textbf{knowledge-externalization} problem: index choices, gauges, fermionic signs, contraction order, validation gates, and scaling constraints must be made explicit before code generation. We evaluate a multi-stage, human-in-the-loop workflow on two quantum many-body tasks. DMRG from Schollwock’s pedagogical review serves as calibration: specification-guided implementations pass in all 16 model pairings, compared with 6/13 direct attempts, and a prose-specification ablation shows that externalized content, not LaTeX{} form, is the active ingredient. Pfaffian conversion of HFB states to MPS from the five-page Letter by Jin et al. serves as the stress test: no public implementation is available, and success depends on tacit sign, gauge, ordering, and scalability conventions. Here the workflow yields 11/26 audited passes, while direct prompting yields none. Cross-specification transfer is asymmetric: non-GPT specifications implemented by GPT~5.5 pass 4/4, whereas GPT~5.5 specifications implemented by weaker models fail 4/4. The contrast supports a two-bottleneck picture. Externalization resolves the first bottleneck — paper-to-code ambiguity — well enough to make DMRG reproducible and Pfaffian-MPS auditable. The remaining failures expose a second bottleneck in implementation-model capability. Iterative meta-specification moves this boundary but does not eliminate it. The resulting emph{Paper-to-Program Many-Body} skill is both a reusable implementation protocol and a diagnostic instrument for AI-assisted many-body programming.

Submission history

From: Yi Zhou [view email]
[v1] Sun, 5 Apr 2026 12:12:54 UTC (2,318 KB)
[v2] Fri, 10 Apr 2026 03:33:06 UTC (2,326 KB)
[v3] Tue, 16 Jun 2026 14:20:43 UTC (2,505 KB)
[v4] Wed, 17 Jun 2026 04:17:21 UTC (2,509 KB)

원문에서 계속 ↗

추출 본문 · 출처: arxiv.org · https://arxiv.org/abs/2604.04089

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다