Qiskit Code Assistant: Training LLMs for generating Quantum Computing Code
Not on the map. Why?
Abstract (arXiv)
Code Large Language Models (Code LLMs) have emerged as powerful tools, revolutionizing the software development landscape by automating the coding process and reducing time and effort required to build applications. This paper focuses on training Code LLMs to specialize in the field of quantum computing. We begin by discussing the unique needs of quantum computing programming, which differ significantly from classical programming approaches or languages. A Code LLM specializing in quantum computing requires a foundational understanding of quantum computing and quantum information theory. However, the scarcity of available quantum code examples and the rapidly evolving field, which necessitates continuous dataset updates, present significant challenges. Moreover, we discuss our work on training Code LLMs to produce high-quality quantum code using the Qiskit library. This work includes an examination of the various aspects of the LLMs used for training and the specific training conditions, as well as the results obtained with our current models. To evaluate our models, we have developed a custom benchmark, similar to HumanEval, which includes a set of tests specifically designed for the field of quantum computing programming using Qiskit. Our findings indicate that our model outperforms existing state-of-the-art models in quantum computing tasks. We also provide examples of code suggestions, comparing our model to other relevant code LLMs. Finally, we introduce a discussion on the potential benefits of Code LLMs for quantum computing computational scientists, researchers, and practitioners. We also explore various features and future work that could be relevant in this context.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 23 of its 39 references that are in the map. First posted on arXiv 29 May 2024.
Builds on
23 of 39 references.
References · 23
- 2023GPT-4 Technical Reportcited by 18,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024Mixtral of Expertscited by 1,785
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2023StarCoder: may the source be with you!cited by 790
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2016Quantum Machine Learningcited by 325
- 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 216
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
- 2023SantaCoder: don't reach for the stars!cited by 169
11 more
- 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
- 2023A Survey of Large Language Models for Code: Evolution, Benchmarking, and Future Trendscited by 66
- 2023Learning to Decode the Surface Code with a Recurrent, Transformer-Based Neural Networkcited by 40
- 2022Systematic Literature Review: Quantum Machine Learning and its applicationscited by 32
- 2018Optimizing Quantum Error Correction Codes with Reinforcement Learningcited by 28
- 2020Machine learning enables completely automatic tuning of a quantum device faster than human expertscited by 23
- 2024Practical and efficient quantum circuit synthesis and transpiling with Reinforcement Learningcited by 21
- 2020Deep Reinforcement Learning for Efficient Measurement of Quantum Devicescited by 15
- 2020Quantum device fine-tuning using unsupervised embedding learningcited by 14
- 2019Quantum Computing at the Frontiers of Biological Sciencescited by 8
Built on by
Citing papers per year: 2024: 1; 2025: 14; 2026: 9.
24 papers.
Sort:
By area:
- 2024Qiskit HumanEval: An Evaluation Benchmark For Quantum Code Generative Modelscited by 29
- 2025Agent-Q: Fine-Tuning Large Language Models for Quantum Circuit Generation and Optimizationcited by 17
- 2025Enhancing LLM-based Quantum Code Generation with Multi-Agent Optimization and Quantum Error Correctioncited by 10
- 2025QAgent: An LLM-based Multi-Agent System for Autonomous OpenQASM programmingcited by 9
- 2025Artificial intelligence for representing and characterizing quantum systemscited by 9
- 2025A PennyLane-Centric Dataset to Enhance LLM-based Quantum Code Generation using RAGcited by 7
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challengescited by 7
- 2025PennyCoder: Efficient Domain-Specific LLMs for PennyLane-Based Quantum Code Generationcited by 6
- 2025Quantum Verifiable Rewards for Post-Training Qiskit Code Assistantcited by 6
- 2025Q-Fusion: Diffusing Quantum Circuitscited by 4
- 2025QuantumBench: A Benchmark for Quantum Problem Solvingcited by 3
- 2025Taxonomy of migration scenarios for Qiskit refactoring using LLMscited by 2
12 more
- 2026QuanBench+: A Unified Multi-Framework Benchmark for LLM-Based Quantum Code Generationcited by 2
- 2026Qiskit QuantumKatas: Adapting Microsoft's Quantum Computing exercises for LLM evaluationcited by 2
- 2026QBugLM: An Agentic Benchmarking Framework for LLM-based Quantum Software Debuggingcited by 2
- 2025Automatic Qiskit Code Refactoring Using Large Language Modelscited by 1
- 2025QSpark: Towards Reliable Qiskit Code Generationcited by 1
- 2026Q-Bridge: Code Translation for Quantum Machine Learning via LLMscited by 1
- 2025Advancing AI-assisted Hardware Design with Hierarchical Decentralized Training and Personalized Inference-Time Optimizationcited by 0
- 2026Revisiting Quantum Code Generation: Where Should Domain Knowledge Live?cited by 0
- 2026PennySynth: RAG-Driven Data Synthesis for Automated Quantum Code Generationcited by 0
- 2026QASM-Eval: A Dataset to Train and Evaluate LLMs on OpenQASM-3 Beyond Quantum Circuitscited by 0
- 2026Fine-Tuning Large Language Models for Quantum Reasoningcited by 0
- 2026Position: Quantum Program Generation Must Prioritize Validity Over Probabilistic Scalingcited by 0
- 2026Position: Quantum Program Generation Must Prioritize Validity Over Probabilistic Scaling15 Jul 2026
- 2026Fine-Tuning Large Language Models for Quantum Reasoning20 Jun 2026
- 2026QBugLM: An Agentic Benchmarking Framework for LLM-based Quantum Software Debugging5 Jun 2026
- 2026Qiskit QuantumKatas: Adapting Microsoft's Quantum Computing exercises for LLM evaluation26 May 2026
- 2026PennySynth: RAG-Driven Data Synthesis for Automated Quantum Code Generation25 May 2026
- 2026QASM-Eval: A Dataset to Train and Evaluate LLMs on OpenQASM-3 Beyond Quantum Circuits28 Apr 2026
- 2026Q-Bridge: Code Translation for Quantum Machine Learning via LLMs29 Mar 2026
- 2026QuanBench+: A Unified Multi-Framework Benchmark for LLM-Based Quantum Code Generation25 Mar 2026
- 2026Revisiting Quantum Code Generation: Where Should Domain Knowledge Live?23 Mar 2026
- 2025QuantumBench: A Benchmark for Quantum Problem Solving30 Oct 2025
- 2025Artificial intelligence for representing and characterizing quantum systems5 Sep 2025
- 2025Quantum Verifiable Rewards for Post-Training Qiskit Code Assistant28 Aug 2025
12 more
- 2025QAgent: An LLM-based Multi-Agent System for Autonomous OpenQASM programming26 Aug 2025
- 2025PennyCoder: Efficient Domain-Specific LLMs for PennyLane-Based Quantum Code Generation25 Jul 2025
- 2025QSpark: Towards Reliable Qiskit Code Generation16 Jul 2025
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challenges24 Jun 2025
- 2025Automatic Qiskit Code Refactoring Using Large Language Models17 Jun 2025
- 2025Taxonomy of migration scenarios for Qiskit refactoring using LLMs8 Jun 2025
- 2025Q-Fusion: Diffusing Quantum Circuits29 Apr 2025
- 2025Advancing AI-assisted Hardware Design with Hierarchical Decentralized Training and Personalized Inference-Time Optimization21 Apr 2025
- 2025Enhancing LLM-based Quantum Code Generation with Multi-Agent Optimization and Quantum Error Correction20 Apr 2025
- 2025Agent-Q: Fine-Tuning Large Language Models for Quantum Circuit Generation and Optimization15 Apr 2025
- 2025A PennyLane-Centric Dataset to Enhance LLM-based Quantum Code Generation using RAG4 Mar 2025
- 2024Qiskit HumanEval: An Evaluation Benchmark For Quantum Code Generative Models20 Jun 2024
- 2025Agent-Q: Fine-Tuning Large Language Models for Quantum Circuit Generation and Optimizationcited by 17
- 2025Enhancing LLM-based Quantum Code Generation with Multi-Agent Optimization and Quantum Error Correctioncited by 10
- 2025QAgent: An LLM-based Multi-Agent System for Autonomous OpenQASM programmingcited by 9
- 2026QBugLM: An Agentic Benchmarking Framework for LLM-based Quantum Software Debuggingcited by 2
- 2026QBugLM: An Agentic Benchmarking Framework for LLM-based Quantum Software Debugging5 Jun 2026
- 2025QAgent: An LLM-based Multi-Agent System for Autonomous OpenQASM programming26 Aug 2025
- 2025Enhancing LLM-based Quantum Code Generation with Multi-Agent Optimization and Quantum Error Correction20 Apr 2025
- 2025Agent-Q: Fine-Tuning Large Language Models for Quantum Circuit Generation and Optimization15 Apr 2025
- 2024Qiskit HumanEval: An Evaluation Benchmark For Quantum Code Generative Modelscited by 29
- 2025Artificial intelligence for representing and characterizing quantum systemscited by 9
- 2025A PennyLane-Centric Dataset to Enhance LLM-based Quantum Code Generation using RAGcited by 7
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challengescited by 7
- 2025PennyCoder: Efficient Domain-Specific LLMs for PennyLane-Based Quantum Code Generationcited by 6
- 2025Quantum Verifiable Rewards for Post-Training Qiskit Code Assistantcited by 6
- 2025Q-Fusion: Diffusing Quantum Circuitscited by 4
- 2025QuantumBench: A Benchmark for Quantum Problem Solvingcited by 3
- 2025Taxonomy of migration scenarios for Qiskit refactoring using LLMscited by 2
- 2026QuanBench+: A Unified Multi-Framework Benchmark for LLM-Based Quantum Code Generationcited by 2
- 2026Qiskit QuantumKatas: Adapting Microsoft's Quantum Computing exercises for LLM evaluationcited by 2
- 2025Automatic Qiskit Code Refactoring Using Large Language Modelscited by 1
12 most cited of 16 All 16 (JSON)
- 2026Qiskit QuantumKatas: Adapting Microsoft's Quantum Computing exercises for LLM evaluation26 May 2026
- 2026QASM-Eval: A Dataset to Train and Evaluate LLMs on OpenQASM-3 Beyond Quantum Circuits28 Apr 2026
- 2026Q-Bridge: Code Translation for Quantum Machine Learning via LLMs29 Mar 2026
- 2026QuanBench+: A Unified Multi-Framework Benchmark for LLM-Based Quantum Code Generation25 Mar 2026
- 2025QuantumBench: A Benchmark for Quantum Problem Solving30 Oct 2025
- 2025Artificial intelligence for representing and characterizing quantum systems5 Sep 2025
- 2025Quantum Verifiable Rewards for Post-Training Qiskit Code Assistant28 Aug 2025
- 2025PennyCoder: Efficient Domain-Specific LLMs for PennyLane-Based Quantum Code Generation25 Jul 2025
- 2025QSpark: Towards Reliable Qiskit Code Generation16 Jul 2025
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challenges24 Jun 2025
- 2025Automatic Qiskit Code Refactoring Using Large Language Models17 Jun 2025
- 2025Taxonomy of migration scenarios for Qiskit refactoring using LLMs8 Jun 2025
12 newest of 16 All 16 (JSON)