Skip to content

Quantum Computing News

  • Home
  • Quantum News
    • Quantum Computing
    • Quantum Hardware and Software
    • Quantum Startups and Funding
    • Quantum Computing Stocks
    • Quantum Research and Security
  • IMP Links
    • About Us
    • Contact Us
    • Privacy & Policies
  1. Home
  2. Quantum Computing
  3. Quantum Codes News: LLMs & RAG For Programming Change
Quantum Computing

Quantum Codes News: LLMs & RAG For Programming Change

Posted on September 2, 2025 by Agarapu Naveen6 min read
Quantum Codes News: LLMs & RAG For Programming Change

Quantum Codes News

Researchers Use AI to Fill Skill Gaps by Unlocking Quantum Code Generation from Models

Nazanin Siavash and Armin Moin of the University of Colorado Colorado Springs (UCCS) are leading a ground-breaking research project that has the potential to revolutionize quantum software creation. Their novel approach uses Large Language Models (LLMs), greatly enhanced by Retrieval-Augmented Generation (RAG) pipelines, to automatically produce quantum code straight from high-level system models, addressing the major issues of a complex technological environment and a severe lack of qualified programmers. This groundbreaking study found that well-designed prompts improve code quality, consistency, and speed fourfold. These findings make model-driven quantum software development more approachable and successful, which might save costs and boost innovation in this fast-growing industry.

You can also read Vibe Decoding: A Breakthrough in Quantum Error Correction

Overcoming Obstacles in Quantum Software Development The current context for quantum software engineering (QSE) is challenging due to the wide variety of platforms and technological stacks. These complex platforms, which include different models of computing, hardware architectures, Software Development Kits (SDKs), libraries, limitations, and optimization strategies, usually demand specialized technical proficiencies that modern software developers lack.

Significant barriers to the broad use and development of quantum computing include its intrinsic complexity and the lack of professionals skilled in quantum programming. Prior studies that have investigated model-driven approaches, such as Gemeinhardt et al.’s work on model-driven composition-based quantum circuit design and Jiménez-Navajas et al.’s work on producing Python code for Qiskit from extended UML models, highlight the continuous search for more effective development techniques.

An Innovative AI-Powered Solution By utilizing LLMs as powerful text generation engines within the framework of Model-Driven Software Engineering (MDSE), Siavash and Moin’s research suggests a novel approach to model-to-text/code transformations. Their main goal is to create software code for quantum and hybrid quantum-classical systems by defining the structure and behavior of these systems using instances of software models, such UML models. By allowing LLMs to discover intricate patterns from enormous code corpora, this method goes beyond conventional rule-based or template-driven code production, which frequently necessitates a great deal of manual labour and in-depth domain knowledge.

You can also read Self Testing Quantum Methods Boost Trust In Quantum Devices

Enhancing these LLMs more especially, OpenAI’s GPT-4o with a Retrieval-Augmented Generation (RAG) pipeline is the main innovation. RAG is a novel idea designed to address the “hallucination problem” that LLMs frequently face by firmly establishing their outputs in pertinent domain-specific knowledge. Their RAG pipeline architecture consists of two main parts: a generator that uses the information obtained to inform the final code output, and a retriever that finds relevant articles in a knowledge base.

In order to offer dynamic access to outside information during the creation process, the RAG pipeline incorporated example Qiskit code from open GitHub repositories in the early tests. Execution on gate-based or circuit-based quantum computers is made easier by the resulting Python code’s smooth integration with IBM Qiskit quantum software library.

The Importance of Timely Engineering Prompt engineering, a key component of their approach, is the painstaking creation and improvement of the input given to LLMs, like OpenAI’s GPT-4o, in order to precisely state the intended result. The researchers looked into two different kinds of prompts: one that was generic and provided little direction, and another that was more precise and contained specific implementation needs including syntax rules and quantum gates mapping schemes. The behavior of the LLM may be precisely controlled by this iterative rapid design approach, maximizing its ability to produce precise and effective quantum code.

Experimental Validation and Key Discoveries

Validation via Experiments and Important Findings Jiménez-Navajas et al. gave seven model instances for the study team to use in their investigations. A systematic method based on Precision, Recall, and F-measure which compare elements in the UML model to those in the created code was used to assess the quality of the generated quantum code. The study also used CodeBLEU, a machine translation-inspired metric tailored for programming languages, to provide a more thorough assessment. By integrating traditional n-gram matching (BLEU), weighted n-gram matching syntactic similarity using Abstract Syntax Trees, and semantic similarity using data flow analysis, CodeBLEU evaluates both syntactic and semantic accuracy.

Several important insights were obtained from the experimental results:

  • Prompt Specificity is Paramount: The most remarkable discovery was the significant enhancement brought about by particular rapid engineering. The average CodeBLEU score for model instance 1 increased from 0.16 (with a generic prompt) to 0.57 when a specific prompt sans RAG was used. Quantum-specific measurements also saw significant improvements: Q-F-measure increased from 0.68 to 0.99, Q-Recall from 0.63 to 0.99, and Q-Precision from 0.96 to 1.00. According to the paper’s findings, carefully designed prompts can increase CodeBLEU scores by as much as four, producing quantum code that is more precise and reliable. This clearly supports Research Question 3 (RQ3), which asks how prompt engineering techniques can improve LLM performance.
  • RAG’s Current Limitations: Although the RAG pipeline is an essential part of the suggested research path, the preliminary tests that included external context from Qiskit GitHub repositories did not show a discernible boost in performance. There was little extra benefit from the existing RAG configuration when outcomes were compared with and without RAG under both generic and specialized urgent settings. This implies that either the particular RAG setup has to be improved or that the chosen Qiskit repositories may not provide enough pertinent context to improve quantum code generation from UML model instances. For subsequent iterations, this discovery creates opportunities to investigate more structured and domain-specific external sources.
  • High Quantum-Specific Accuracy: The method produced near-perfect results for quantum-specific metrics (Q-Precision, Q-Recall, and Q-F-measure, all at or near 1.0) when generating the quantum circuit portion of the UML model. This suggests that the generated code for this crucial component is highly semantically correct and complete.

Future Directions and Implications This study represents a significant advancement in the automation of quantum software creation, which could lower expenses and lower risks in a field that is in dire need of qualified workers. The technique offers a versatile and scalable way to close the gap between high-level designs and executable quantum programs by utilizing LLMs supplemented with RAG.

You can also read Planqc 2025:DLR QCMobility Project Boost Quantum Transport

The researchers intend to improve the RAG pipeline in further work by adding more pertinent external sources, particularly datasets with aligned pairings of UML model instances and the quantum code that corresponds to them. Additionally, they seek to enhance the phrasing of their queries, assess other LLMs like Claude, and broaden their research using a wider range of evaluation criteria.

Importantly, they will explore other concepts mentioned in their research questions, such as leveraging LLMs for code-to-code transformations like transpiration (RQ6), deploying software requirements in natural language as LLM input with model instances in RAG (RQ5), and supporting domain-specific modelling languages (RQ4. To encourage more study and advancement in this emerging discipline, the source code and research data are made publicly available.

Similar to how a skilled architect painstakingly plans a blueprint, making sure every detail contributes to the final, robust structure, rather than merely constructing with available materials, the work of Siavash and Moin demonstrates how the intelligent application of AI, particularly through careful prompt engineering, can unlock new efficiencies and capabilities in highly specialized domains like quantum computing. The ideal ‘construction’ (code) is determined by the exact ‘blueprint’ (prompt).

You can also read Quantinuum Launches Guppy & Selene For Quantum Innovation

Tags

Code quantumLarge language models (LLMs)Quantum circuitQuantum CodeQuantum Code GenerationQuantum CodesQuantum computing codeSoftware Development Kits (SDKs)University of Colorado Colorado Springs

Written by

Agarapu Naveen

Naveen is a technology journalist and editorial contributor focusing on quantum computing, cloud infrastructure, AI systems, and enterprise innovation. As an editor at Govindhtech Solutions, he specializes in analyzing breakthrough research, emerging startups, and global technology trends. His writing emphasizes the practical impact of advanced technologies on industries such as healthcare, finance, cybersecurity, and manufacturing. Naveen is committed to delivering informative and future-oriented content that bridges scientific research with industry transformation.

Post navigation

Previous: Norma Drug Discovery With Quantum AI Algorithms On CUDA-Q
Next: Frequency Binary Search Unlocks Scalable Quantum Computing

Keep reading

QbitSoft

Scaleway & QbitSoft Launch European Quantum Adoption Program

4 min read
USC Quantum Computing

USC Quantum Computing Advances National Security Research

5 min read
SuperQ Quantum Computing Inc. at Toronto Tech Week 2026

SuperQ Quantum Computing Inc. at Toronto Tech Week 2026

4 min read

Leave a Reply Cancel reply

You must be logged in to post a comment.

Categories

  • Scaleway & QbitSoft Launch European Quantum Adoption Program Scaleway & QbitSoft Launch European Quantum Adoption Program May 23, 2026
  • USC Quantum Computing Advances National Security Research USC Quantum Computing Advances National Security Research May 23, 2026
  • SuperQ Quantum Computing Inc. at Toronto Tech Week 2026 SuperQ Quantum Computing Inc. at Toronto Tech Week 2026 May 23, 2026
  • WISER and Fraunhofer ITWM Showcase QML Applications WISER and Fraunhofer ITWM Showcase QML Applications May 22, 2026
  • Quantum X Labs Integrates Google Data for Error Correction Quantum X Labs Integrates Google Data for Error Correction May 22, 2026
  • SEALSQ and IC’Alps Expand Post-Quantum Security Technologies SEALSQ and IC’Alps Expand Post-Quantum Security Technologies May 21, 2026
  • MTSU Events: Quantum Valley Initiative Launches with MTE MTSU Events: Quantum Valley Initiative Launches with MTE May 20, 2026
  • How Cloud Quantum Computers Could Become More Trustworthy How Cloud Quantum Computers Could Become More Trustworthy May 20, 2026
  • Quantinuum Expands Quantum Leadership with Synopsys Quantum Quantinuum Expands Quantum Leadership with Synopsys Quantum May 20, 2026
View all
  • QeM Inc Reaches Milestone with Q1 2026 Financial Results QeM Inc Reaches Milestone with Q1 2026 Financial Results May 23, 2026
  • Arqit Quantum Stock News: 2026 First Half Financial Results Arqit Quantum Stock News: 2026 First Half Financial Results May 22, 2026
  • Sygaldry Technologies Raises $139M to Quantum AI Systems Sygaldry Technologies Raises $139M to Quantum AI Systems May 18, 2026
  • NSF Launches $1.5B X-Labs to Drive Future Technologies NSF Launches $1.5B X-Labs to Drive Future Technologies May 16, 2026
  • IQM and Real Asset Acquisition Corp. Plan $1.8B SPAC Deal IQM and Real Asset Acquisition Corp. Plan $1.8B SPAC Deal May 16, 2026
  • Infleqtion Q1 Financial Results and Quantum Growth Outlook Infleqtion Q1 Financial Results and Quantum Growth Outlook May 15, 2026
  • Xanadu First Quarter Financial Results & Business Milestones Xanadu First Quarter Financial Results & Business Milestones May 15, 2026
  • Santander Launches The Quantum AI Leap Innovation Challenge Santander Launches The Quantum AI Leap Innovation Challenge May 15, 2026
  • CSUSM Launches Quantum STEM Education With National Funding CSUSM Launches Quantum STEM Education With National Funding May 14, 2026
View all
  • QTREX AME Technology May Alter Quantum Hardware Connectivity QTREX AME Technology May Alter Quantum Hardware Connectivity May 23, 2026
  • Quantum Spain: The Operational Era of MareNostrum-ONA Quantum Spain: The Operational Era of MareNostrum-ONA May 23, 2026
  • NVision Inc Announces PIQC for Practical Quantum Computing NVision Inc Announces PIQC for Practical Quantum Computing May 22, 2026
  • Xanadu QROM Innovation Ends Seven-Year Quantum Memory Stall Xanadu QROM Innovation Ends Seven-Year Quantum Memory Stall May 22, 2026
  • GlobalFoundries Quantum Computing Rise Drives U.S. Research GlobalFoundries Quantum Computing Rise Drives U.S. Research May 22, 2026
  • BlueQubit Platform Expands Access to Quantum AI Tools BlueQubit Platform Expands Access to Quantum AI Tools May 22, 2026
  • Oracle and Classiq Introduce Quantum AI Agents for OCI Oracle and Classiq Introduce Quantum AI Agents for OCI May 21, 2026
  • Kipu Quantum: Classical Surrogates for Quantum-Enhanced AI Kipu Quantum: Classical Surrogates for Quantum-Enhanced AI May 21, 2026
  • Picosecond low-Power Antiferromagnetic Quantum Switch Picosecond low-Power Antiferromagnetic Quantum Switch May 21, 2026
View all
  • Terra Quantum Quantum-Secure Platform for U.S. Air Force Terra Quantum Quantum-Secure Platform for U.S. Air Force May 23, 2026
  • Merqury Cybersecurity and Terra Quantum’s Secured Data Link Merqury Cybersecurity and Terra Quantum’s Secured Data Link May 23, 2026
  • ESL Shipping Ltd & QMill Companys Fleet Optimization project ESL Shipping Ltd & QMill Companys Fleet Optimization project May 23, 2026
  • Pasqals Logical Qubits Beat Physical Qubits on Real Hardware Pasqals Logical Qubits Beat Physical Qubits on Real Hardware May 22, 2026
  • Rail Vision Limited Adds Google Dataset to QEC Transformer Rail Vision Limited Adds Google Dataset to QEC Transformer May 22, 2026
  • Infleqtion Advances Neutral-Atom Quantum Computing Infleqtion Advances Neutral-Atom Quantum Computing May 21, 2026
  • Quantinuum News in bp Collaboration Targets Seismic Image Quantinuum News in bp Collaboration Targets Seismic Image May 21, 2026
  • ParityQC Achieves 52-Qubit Quantum Fourier Transform on IBM ParityQC Achieves 52-Qubit Quantum Fourier Transform on IBM May 21, 2026
  • PacketLight And Quantum XChange Inc Optical Network Security PacketLight And Quantum XChange Inc Optical Network Security May 21, 2026
View all
  • Quantum Computing Funding: $2B Federal Investment in U.S Quantum Computing Funding: $2B Federal Investment in U.S May 22, 2026
  • Quantum Bridge Technologies Funds $8M For Quantum Security Quantum Bridge Technologies Funds $8M For Quantum Security May 21, 2026
  • Nord Quantique Inc Raises $30M in Quantum Computing Funding Nord Quantique Inc Raises $30M in Quantum Computing Funding May 20, 2026
  • ScaLab: Advances Quantum Computing At Clemson University ScaLab: Advances Quantum Computing At Clemson University May 19, 2026
  • National Quantum Mission India Advances Quantum Innovation National Quantum Mission India Advances Quantum Innovation May 18, 2026
  • Amaravati Leads Quantum Computing in Andhra Pradesh Amaravati Leads Quantum Computing in Andhra Pradesh May 18, 2026
  • Wisconsin Technology Council Spotlights Quantum Industries Wisconsin Technology Council Spotlights Quantum Industries May 18, 2026
View all

Search

Latest Posts

  • Scaleway & QbitSoft Launch European Quantum Adoption Program May 23, 2026
  • Terra Quantum Quantum-Secure Platform for U.S. Air Force May 23, 2026
  • Merqury Cybersecurity and Terra Quantum’s Secured Data Link May 23, 2026
  • USC Quantum Computing Advances National Security Research May 23, 2026
  • QTREX AME Technology May Alter Quantum Hardware Connectivity May 23, 2026

Tutorials

  • Quantum Computing
  • IoT
  • Machine Learning
  • PostgreSql
  • BlockChain
  • Kubernettes

Calculators

  • AI-Tools
  • IP Tools
  • Domain Tools
  • SEO Tools
  • Developer Tools
  • Image & File Tools

Imp Links

  • Free Online Compilers
  • Code Minifier
  • Maths2HTML
  • Online Exams
  • Youtube Trend
  • Processor News
© 2026 Quantum Computing News. All rights reserved.
Back to top