mlsanityData to 14 Oct 2026

QBugLM: An Agentic Benchmarking Framework for LLM-based Quantum Software Debugging

arXiv 2606.07314 ↗First posted 5 Jun 2026cs.SE cs.ET quant-phcited by 2

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

Abstract (arXiv)

Quantum software bugs often yield silent, incorrect outputs rather than explicit errors, making them particularly difficult to detect and repair with conventional techniques. Although large language models (LLMs) have shown strong performance on classical software engineering tasks, their ability to debug quantum code remains largely unexplored. To bridge this gap, we propose QBugLM, a multi-agent framework that automates the quantum software debugging pipeline, from taxonomy-driven bug injection to LLM-based detection and repair, and finally to simulation-based validation, for framework-agnostic OpenQASM 3.0 programs. We further conduct a comprehensive case study using QBugLM to benchmark two LLMs, Claude 4.6 Sonnet and Qwen3 Coder Next, across different prompting strategies, bug categories, and quantum programs. Our results show that iterative feedback is critical, as a single retry raises Pass@1 from below 25% to above 80%. Moreover, simpler structured prompting can even outperform Chain-of-Thought and ReAct for reasoning-capable models under fixed-resource constraints. Our work takes initial steps toward benchmarking LLM capabilities for debugging quantum programs and offers practical insights to support future efforts in automated quantum software repair.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use. Builds on 21 of its 33 references that are in the map. First posted on arXiv 5 Jun 2026.

Builds on

21 of 33 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025Enhancing LLM-based Quantum Code Generation with Multi-Agent Optimization and Quantum Error Correction20 Apr
  2. 2025Agent-Q: Fine-Tuning Large Language Models for Quantum Circuit Generation and Optimization15 Apr

Other references · 19

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 181
  5. 2019SPoC: Search-based Pseudocode to Codecited by 176
  6. 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
  7. 2024Qiskit HumanEval: An Evaluation Benchmark For Quantum Code Generative Modelscited by 30
  8. 2024Qiskit Code Assistant: Training LLMs for generating Quantum Computing Codecited by 25
  9. 2025QuanBench: Benchmarking Quantum Code Generation with Large Language Modelscited by 12
  10. 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challengescited by 8
  11. 2025PennyCoder: Efficient Domain-Specific LLMs for PennyLane-Based Quantum Code Generationcited by 6
  12. 2024Testing and Debugging Quantum Programs: The Road to 2030cited by 5
7 more
  1. 2024On Repairing Quantum Programs Using ChatGPTcited by 4
  2. 2021Bugs in Quantum Computing Platforms: An Empirical Studycited by 3
  3. 2021QBugs: A Collection of Reproducible Bugs in Quantum Algorithms and a Supporting Infrastructure to Enable Controlled Quantum Software Testing and Debugging Experimentscited by 2
  4. 2022QuSBT: Search-Based Testing of Quantum Programscited by 2
  5. 2023QChecker: Detecting Bugs in Quantum Programs via Static Analysiscited by 2
  6. 2026Leveraging Mutation Analysis for LLM-based Repair of Quantum Programscited by 1
  7. 2026Asking the Right Questions: Improving Reasoning with Generated Stepping Stonescited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Revisiting Quantum Code Generation: Where Should Domain Knowledge Live?
  2. 2026Beyond Rules: LLM-Powered Linting for Quantum Programs ↗
  3. 2025QAgent: An LLM-based Multi-Agent System for Autonomous OpenQASM programming
  4. 2025AInsteinBench: Benchmarking Coding Agents on Scientific Repositories
  5. 2025A PennyLane-Centric Dataset to Enhance LLM-based Quantum Code Generation using RAG
  6. 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesis
  7. 2026Qiskit QuantumKatas: Adapting Microsoft's Quantum Computing exercises for LLM evaluation
  8. 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Models