Taxonomy of migration scenarios for Qiskit refactoring using LLMs
Not on the map. Why?
Abstract (arXiv)
As quantum computing advances, quantum programming libraries' heterogeneity and steady evolution create new challenges for software developers. Frequent updates in software libraries break working code that needs to be refactored, thus adding complexity to an already complex landscape. These refactoring challenges are, in many cases, fundamentally different from those known in classical software engineering due to the nature of quantum computing software. This study addresses these challenges by developing a taxonomy of quantum circuit's refactoring problems, providing a structured framework to analyze and compare different refactoring approaches. Large Language Models (LLMs) have proven valuable tools for classic software development, yet their value in quantum software engineering remains unexplored. This study uses LLMs to categorize refactoring needs in migration scenarios between different Qiskit versions. Qiskit documentation and release notes were scrutinized to create an initial taxonomy of refactoring required for migrating between Qiskit releases. Two taxonomies were produced: one by expert developers and one by an LLM. These taxonomies were compared, analyzing differences and similarities, and were integrated into a unified taxonomy that reflects the findings of both methods. By systematically categorizing refactoring challenges in Qiskit, the unified taxonomy is a foundation for future research on AI-assisted migration while enabling a more rigorous evaluation of automated refactoring techniques. Additionally, this work contributes to quantum software engineering (QSE) by enhancing software development workflows, improving language compatibility, and promoting best practices in quantum programming.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 19 of its 33 references that are in the map. First posted on arXiv 8 Jun 2025.
Builds on
19 of 33 references.
References · 19
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
- 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
- 2024Design Principles for Generative AI Applicationscited by 57
- 2023Advancements in Generative AI: A Comprehensive Review of GANs, GPT, Autoencoders, Diffusion Model, and Transformerscited by 36
- 2024Qiskit Code Assistant: Training LLMs for generating Quantum Computing Codecited by 25
- 2025A Study of LLMs' Preferences for Libraries and Programming Languagescited by 20
- 2024An Empirical Study on the Code Refactoring Capability of Large Language Modelscited by 19
- 2024Automatic Library Migration Using Large Language Models: First Resultscited by 9
- 2025A PennyLane-Centric Dataset to Enhance LLM-based Quantum Code Generation using RAGcited by 9
7 more
- 2024Quantum Software Engineering: Roadmap and Challenges Aheadcited by 6
- 2024Testing and Debugging Quantum Programs: The Road to 2030cited by 5
- 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmapcited by 5
- 2018A Logic for Recursive Quantum Programscited by 1
- 2019Proq: Projection-based Runtime Assertions for Debugging on a Quantum Computercited by 1
- 2021Some Size and Structure Metrics for Quantum Softwarecited by 1
- 2023On Refactoring Quantum Programscited by 1
Built on by
Citing papers per year: 2025: 2.
2 papers.