Taxonomy of migration scenarios for Qiskit refactoring using LLMs

Autores/as

  • Jos´e Manuel Suárez Universidad Nacional de La Plata, Argentina
  • Luis Mariano Bibbó Universidad Nacional de La Plata, Argentina
  • Joaquín Bogado Universidad Nacional de La Plata, Argentina
  • Alejandro Fernandez Universidad Nacional de La Plata, Argentina

Palabras clave:

computación cuántica, ingeniería de software cuántico, grandes modelos de lenguaje, inteligencia artificial generativa, qiskit, código de migración

Resumen

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. This research marks the first step in a broader effort to assess various refactoring strategies, ultimately guiding the development of AI-powered tools to support quantum software engineers.

Descargas

Publicado

2025-10-15

Cómo citar

Suárez, J. M., Bibbó, L. M., Bogado, J., & Fernandez, A. (2025). Taxonomy of migration scenarios for Qiskit refactoring using LLMs. JAIIO, Jornadas Argentinas De Informática, 11(4), 65-79. https://revistas.unlp.edu.ar/JAIIO/article/view/19800