Qiskit Code Assistant: Training LLMs for generating Quantum Computing Code

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dupuis, Nicolas, Buratti, Luca, Vishwakarma, Sanjay, Forrat, Aitana Viudes, Kremer, David, Faro, Ismael, Puri, Ruchir, Cruz-Benito, Juan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929365778956288
author Dupuis, Nicolas
Buratti, Luca
Vishwakarma, Sanjay
Forrat, Aitana Viudes
Kremer, David
Faro, Ismael
Puri, Ruchir
Cruz-Benito, Juan
author_facet Dupuis, Nicolas
Buratti, Luca
Vishwakarma, Sanjay
Forrat, Aitana Viudes
Kremer, David
Faro, Ismael
Puri, Ruchir
Cruz-Benito, Juan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_19495
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Qiskit Code Assistant: Training LLMs for generating Quantum Computing Code
Dupuis, Nicolas
Buratti, Luca
Vishwakarma, Sanjay
Forrat, Aitana Viudes
Kremer, David
Faro, Ismael
Puri, Ruchir
Cruz-Benito, Juan
Quantum Physics
Artificial Intelligence
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.
title Qiskit Code Assistant: Training LLMs for generating Quantum Computing Code
topic Quantum Physics
Artificial Intelligence
url https://arxiv.org/abs/2405.19495