Manuscript Offprint

arXiv:2609.05039

Qlippy: A Retrieval-Augmented GenAI Assistant for Reproducible Quantum Workflows and Experiment Tracking

Mahee Gamage, Vlad Stirbu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mahee Gamage

University of Jyväskylä

Jyväskylä, Finland

mahee.s.hewagamage@jyu.fi

Vlad Stirbu

University of Jyväskylä

Jyväskylä, Finland

vlad.a.stirbu@jyu.fi

Abstract—Quantum software development is iterative and error-prone. Noisy hardware and repeated re-execution make experiment tracking, provenance, and reproducibility essential, yet these practices are hard to adopt because of tooling complexity and the specialized knowledge they demand. General-purpose language models can help but tend to hallucinate and lack grounding in domain-specific tooling. We present Qlippy, a retrieval-augmented GenAI assistant embedded in the development environment that grounds its responses in a curated corpus of quantum-software-engineering knowledge. Qlippy explains reproducibility and provenance concepts in context and augments existing Qiskit programs with MLflow-based experiment tracking aligned to the QProv schema. By separating knowledge from model parameters, grounding gives explicit control over the scope and provenance of the assistant's responses and reduces reliance on model scale, which points toward low-cost, privacy-preserving local deployment.

Index Terms—quantum software engineering, retrieval-augmented generation, experiment tracking, provenance, reproducibility, LLM-assisted development

I. INTRODUCTION

Quantum computing is emerging as an interdisciplinary field that attracts practitioners from physics, mathematics, and computer science across research, industry, and education. As access to quantum programming frameworks and cloud-based quantum hardware expands, more developers are building and running quantum algorithms in practice. However, the development of quantum software is not only a matter of algorithm design, but also involves practices rooted in modern software engineering, such as experiment tracking, reproducibility, and structured data management. These practices are essential for ensuring that experimental results can be validated, compared, and iteratively improved.

Despite the wide adoption of these practices in classical computing, adopting them in quantum software development remains challenging. Practitioners entering the field often possess strong theoretical backgrounds but have limited exposure to software engineering concepts, particularly those related to reproducibility and lifecycle management, an issue that is especially pronounced for novice developers. As a result, experiment tracking and provenance collection are either applied superficially or omitted entirely, leading to ad hoc development practices and reduced transparency in experimental results. Furthermore, the complexity of integrating external tools into development workflows increases cognitive load and creates friction for developers. While recent advances in generative AI offer opportunities to support this work, generic language models lack grounding in domain-specific materials and may produce explanations or code that are misaligned with domain practices, limiting their effectiveness in specialized settings.

In this paper, we present a retrieval-augmented GenAI assistant integrated into Visual Studio Code, designed to support the adoption of reproducible quantum software practices. The assistant leverages curated knowledge sources, including tools documentation and relevant research literature, to provide context-aware explanations and code augmentation that help developers apply experiment tracking and collect structured provenance information. Through a guided scenario, we demonstrate how retrieval-augmented generation can bridge the gap between quantum algorithm development and modern software engineering practices, reducing cognitive overhead while reinforcing understanding through immediate application.

References (10)

  • Toolchain for faster iterations in quantum software development
  • Accelerating the machine learning lifecycle with mlflow
  • Quantum software experiments: A reporting and laboratory package structure guidelines proposal
  • Qprov: A provenance system for quantum computing
  • Quantum computing for all: Online courses built around an interactive visual quantum circuit simulator
  • Language models are few-shot learners
  • Retrieval-augmented generation for knowledge-intensive NLP tasks
  • Retrieval-Augmented Generation for Large Language Models: A Survey
  • RAGAs: Automated evaluation of retrieval augmented generation
  • Springer, 2012