Skip to main content
CenXiv.org
This website is in trial operation, support us!
We gratefully acknowledge support from all contributors.
Contribute
Donate
cenxiv logo > cs > arXiv:2506.07135

Help | Advanced Search

Computer Science > Software Engineering

arXiv:2506.07135 (cs)
[Submitted on 8 Jun 2025 ]

Title: Taxonomy of migration scenarios for Qiskit refactoring using LLMs

Title: 使用LLMs进行Qiskit重构的迁移场景分类学

Authors:José Manuel Suárez, Luís Mariano Bibbó, Joaquín Bogado, Alejandro Fernandez
Abstract: 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.
Abstract: 随着量子计算的发展,量子编程库的异构性和持续演进为软件开发者带来了新的挑战。 软件库的频繁更新会破坏需要重构的工作代码,从而为本已复杂的局面增加了复杂性。 由于量子计算软件的本质,在许多情况下,这些重构挑战从根本上不同于经典软件工程中所知的挑战。 本研究通过开发量子电路重构问题的分类法,提供了一个结构化的框架来分析和比较不同的重构方法,从而应对这些挑战。 大型语言模型(LLMs)已被证明是经典软件开发中的宝贵工具,但它们在量子软件工程中的价值尚未被探索。 本研究利用LLMs对不同Qiskit版本之间迁移场景中的重构需求进行分类。 通过对Qiskit文档和发行说明的仔细审查,创建了从一个Qiskit版本迁移到另一个版本所需的初始重构分类。 产生了两个分类法:一个是专家开发人员制作的,另一个是LLM生成的。 对这两个分类法进行了比较,分析了差异和相似之处,并整合为一个反映两种方法发现的统一分类法。 通过系统地对Qiskit中的重构挑战进行分类,这个统一的分类法为未来基于人工智能辅助迁移的研究奠定了基础,同时促进了对自动化重构技术的更严谨评估。 此外,这项工作通过增强软件开发工作流程、提高语言兼容性以及推广量子编程的最佳实践,为量子软件工程(QSE)做出了贡献。
Comments: Accepted for publication in ASQC JAIIO 54 (https://54jaiio.sadio.org.ar/simposios/)
Subjects: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Emerging Technologies (cs.ET)
Cite as: arXiv:2506.07135 [cs.SE]
  (or arXiv:2506.07135v1 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2506.07135
arXiv-issued DOI via DataCite

Submission history

From: Joaquin Bogado PhD [view email]
[v1] Sun, 8 Jun 2025 13:28:52 UTC (557 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled
  • View Chinese PDF
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
license icon view license
Current browse context:
cs.SE
< prev   |   next >
new | recent | 2025-06
Change to browse by:
cs
cs.AI
cs.ET

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack

京ICP备2025123034号