paper-with-me

Papers

Model-Driven Quantum Code Generation Using Large Language Models and Retrieval-Augmented Generation

2025-08-28 · Nazanin Siavash, Armin Moin arxiv

This paper introduces a novel research direction for model-to-text/code transformations by leveraging Large Language Models (LLMs) that can be enhanced with Retrieval-Augmented Generation (RAG) pipelines. The focus is on quantum and hybrid quantum-classical software systems, where model-driven approaches can help reduce the costs and mitigate the risks associated with the heterogeneous platform landscape and lack of developers' skills. We validate one of the proposed ideas regarding generating code out of UML model instances of software systems. This Python code uses a well-established library, called Qiskit, to execute on gate-based or circuit-based quantum computers. The RAG pipeline that we deploy incorporates sample Qiskit code from public GitHub repositories. Experimental results show that well-engineered prompts can improve CodeBLEU scores by up to a factor of four, yielding more accurate and consistent quantum code. However, the proposed research direction can go beyond this through further investigation in the future by conducting experiments to address our other research questions and ideas proposed here, such as deploying software system model instances as the source of information in the RAG pipelines, or deploying LLMs for code-to-code transformations, for instance, for transpilation use cases.

📄 PDF Abstract BibTeX arXiv:2508.21097

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Qiskit HumanEval: An Evaluation Benchmark For Quantum Code Generative Models

2024-06-20 · Sanjay Vishwakarma, Francis Harkins, Siddharth Golecha, Vishal Sharathchandra Bajpe 외

Quantum programs are typically developed using quantum Software Development Kits (SDKs). The rapid advancement of quantum computing necessitates new tools to streamline this development process, and one such tool could b…

Code GenerationHumanEval

An LLM System for Autonomous Variational Quantum Circuit Design

2026-06-11 · Kenya Sakka, Wataru Mizukami, Kosuke Mitarai arxiv

The design of high performing quantum circuits remains largely dependent on human expertise. We introduce an autonomous agentic framework that employs large language models (LLMs) to conduct iterative quantum circuit des…

Quantum Machine LearningImage ClassificationCode Generation

Q-Bridge: Code Translation for Quantum Machine Learning via LLMs

2026-03-29 · Runjia Zeng, Priyabrata Senapati, Ruixiang Tang, Dongfang Liu 외 arxiv

Large language models have recently shown potential in bridging the gap between classical machine learning and quantum machine learning. However, the lack of standardized, high-quality datasets and robust translation fra…

Quantum Machine LearningCode TranslationCode Generation

PennySynth: RAG-Driven Data Synthesis for Automated Quantum Code Generation

2026-05-25 · Minghao Shao, Nouhaila Innan, Hariharan Janardhanan, Muhammad Kashif 외 arxiv

The growing complexity of quantum programming frameworks has exposed a critical limitation in existing large language model (LLM)-based code assistants: general-purpose models hallucinate PennyLane-specific gate names, m…

Code Generation

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

2025-08-26 · Zhenxiao Fu, Fan Chen, Lei Jiang 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 n…

Few-Shot LearningCode Generation