mlsanityData to 7 Oct 2026

QAgent: An LLM-based Multi-Agent System for Autonomous OpenQASM programming

arXiv 2508.20134 ↗First posted 26 Aug 2025cs.AI cs.ET quant-phcited by 9

On the map: LLM agents and tool use → Medical and scientific domain agents

Abstract (arXiv)

Programming quantum circuits at the OpenQASM level is essential for achieving hardware-aware optimization and reliable execution on noisy intermediate-scale quantum (NISQ) devices, yet it remains challenging due to the need for domain-specific planning, iterative code synthesis, and low-level calibration. In this paper, we present QAgent, the first autonomous multi-agent framework for end-to-end OpenQASM code generation. QAgent integrates schema-aware task planning, example- and tool-driven code synthesis, and hardware-aware calibration within a unified planning-synthesis-calibration workflow. The system leverages retrieval-augmented generation (RAG) to access structured kernel knowledge, examples, and backend constraints, and employs coordinated multi-agent reasoning with iterative execution feedback to ensure correctness. We evaluate QAgent on 12 representative quantum kernels and their compositions across five large language models (LLMs). Results show that QAgent improves Pass@1 accuracy by 47-70% on single-kernel tasks and achieves over 88% accuracy on multi-kernel workflows for large models, substantially outperforming existing baselines. Furthermore, under realistic hardware frequency drift, QAgent maintains near-unit execution fidelity through automated calibration, whereas SDK-based LLM methods suffer significant degradation. These results demonstrate that integrating planning, synthesis, and calibration is critical for reliable quantum program generation. The implementation of QAgent is open-sourced at https://github.com/fuzhenxiao/QAgent

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use. Builds on 22 of its 49 references that are in the map. First posted on arXiv 26 Aug 2025.

Builds on

22 of 49 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025El Agente: An Autonomous Agent for Quantum Chemistry5 May
  2. 2025Enhancing LLM-based Quantum Code Generation with Multi-Agent Optimization and Quantum Error Correction20 Apr

Other references · 20

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
  5. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  6. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
  7. 2021Quantum advantage in learning from experimentscited by 186
  8. 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 124
  9. 2024BetterV: Controlled Verilog Generation with Discriminative Guidancecited by 99
  10. 2024WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environmentcited by 99
  11. 2024VerilogCoder: Autonomous Verilog Coding Agents with Graph-based Planning and Abstract Syntax Tree (AST)-based Waveform Tracing Toolcited by 85
  12. 2024Qiskit HumanEval: An Evaluation Benchmark For Quantum Code Generative Modelscited by 29
8 more
  1. 2024Qiskit Code Assistant: Training LLMs for generating Quantum Computing Codecited by 24
  2. 2025Devstral: Fine-tuning Language Models for Coding Agent Applicationscited by 23
  3. 2024Quantum Many-Body Physics Calculations with Large Language Modelscited by 17
  4. 2024Exploring LLM-Driven Explanations for Quantum Algorithmscited by 7
  5. 2024Testing and Debugging Quantum Programs: The Road to 2030cited by 5
  6. 2020OpenQL : A Portable Quantum Programming Framework for Quantum Acceleratorscited by 4
  7. 2022Quantum Advantage in Cryptographycited by 1
  8. 2025Circuit Partitioning Using Large Language Models for Quantum Compilation and Simulationscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 8.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Agent-Q: Fine-Tuning Large Language Models for Quantum Circuit Generation and Optimization
  2. 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challenges
  3. 2025LLM-based Multi-Agent Copilot for Quantum Sensor
  4. 2026QBugLM: An Agentic Benchmarking Framework for LLM-based Quantum Software Debugging
  5. 2026An LLM System for Autonomous Variational Quantum Circuit Design
  6. 2026Lowering the implementation barrier of neutral-atom quantum computing with agentic workflows
  7. 2026Evaluating Verified Autonomy in Quantum Engineering
  8. 2026PennySynth: RAG-Driven Data Synthesis for Automated Quantum Code Generation