Autonomous Quantum Simulation through Large Language Model Agents
Weitang Li, Jiajun Ren, Lixue Cheng, Cunxi Gong
TL;DR
This work shows that large language model agents can autonomously perform tensor‑network simulations of quantum many‑body systems by coupling in‑context learning with carefully curated documentation and a multi‑agent workflow. A central Conductor coordinates seven specialized agents, enabling domain‑specific reasoning and rigorous validation throughout the physics–code–data pipeline. Across three benchmark tasks—the 2D transverse‑field Ising model, sub‑Ohmic spin‑boson dynamics, and retinal photoisomerization—the multi‑agent, in‑context approach yields approximately 90% success with publication‑quality outputs, while baseline configurations suffer from errors and hallucinations. The results suggest that documenting domain knowledge inside the agent prompt and decomposing tasks among specialized agents can democratize access to tensor‑network methods, with ongoing work aimed at reducing error rates and extending capabilities to more complex problems and modalities.
Abstract
We demonstrate that large language model (LLM) agents can autonomously perform tensor network simulations of quantum many-body systems, achieving approximately 90% success rate across representative benchmark tasks. Tensor network methods are powerful tools for quantum simulation, but their effective use requires expertise typically acquired through years of graduate training. By combining in-context learning with curated documentation and multi-agent decomposition, we create autonomous AI agents that can be trained in specialized computational domains within minutes. We benchmark three configurations (baseline, single-agent with in-context learning, and multi-agent with in-context learning) on problems spanning quantum phase transitions, open quantum system dynamics, and photochemical reactions. Systematic evaluation using DeepSeek-V3.2, Gemini 2.5 Pro, and Claude Opus 4.5 demonstrates that both in-context learning and multi-agent architecture are essential. Analysis of failure modes reveals characteristic patterns across models, with the multi-agent configuration substantially reducing implementation errors and hallucinations compared to simpler architectures.
