Pith. sign in

REVIEW 4 cited by

Qiskit Code Assistant: Training LLMs for generating Quantum Computing Code

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.19495 v1 pith:TYUASNBX submitted 2024-05-29 quant-ph cs.AI

classification quant-phcs.AI
keywords codequantumcomputingllmstrainingmodelsfieldprogramming
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Sign in to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challenges

    cs.AI 2025-06 conditional novelty 6.0 of 10

    A benchmark of 49 QHack PennyLane challenges shows LLMs solve at most 49 percent of tasks, retrieval augmentation usually does not help, and a multi-agent retry loop improves results.

  2. Automatic Qiskit Code Refactoring Using Large Language Models

    cs.SE 2025-06 conditional novelty 5.0 of 10

    A structured taxonomy of Qiskit migration scenarios improves GPT-4's line-level refactoring precision from 0.32 to 0.55 and recall from 0.35 to 0.62 on 25 synthetic snippets.

  3. Taxonomy of migration scenarios for Qiskit refactoring using LLMs

    cs.SE 2025-06 conditional novelty 5.0 of 10

    LLMs can generate a structured taxonomy of Qiskit migration and refactoring scenarios that largely overlaps with an expert-built taxonomy and adds some scenarios.

  4. Pushing the Limits of LLMs in Quantum Operations

    quant-ph 2025-07 reject novelty 4.0 of 10

    In a single-pass 25-prompt benchmark, Gemini generated quantum gate code fastest overall, and all four tested LLMs produced code that compiled on most attempts.

Pith tools