An empirical study into the effects of transpilation on quantum circuit smells
Empirical Software Engineering · 2024-05 · 29 (3)
DOI: 10.1007/s10664-024-10461-9 ↗Kurz gefasst
Fachartikel in der Zeitschrift Empirical Software Engineering, online erschienen am 02.05.2024. Verfasst von Manuel De Stefano und 3 weiteren Autor:innen. Die Arbeit wurde bisher 13-mal zitiert (Crossref) und nennt 48 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Università degli Studi di Salerno.
Abstract (Originalsprache)
Quantum computing is a promising field that can solve complex problems beyond traditional computers’ capabilities. Developing high-quality quantum software applications, called quantum software engineering, has recently gained attention. However, quantum software development faces challenges related to code quality. A recent study found that many open-source quantum programs are affected by quantum-specific code smells, with long circuit being the most common. While the study provided relevant insights into the prevalence of code smells in quantum circuits, it did not explore the potential effect of transpilation, a necessary step for executing quantum computer programs, on the emergence of code smells. Indeed, transpilation might alter those characteristics employed to detect the presence of a smell on a circuit. To address this limitation, we present a new study investigating the impact of transpilation on quantum-specific code smells and how different target gate sets affect the results. We conducted experiments on 17 open-source quantum programs alongside a set of 100 synthetic circuits. We found that transpilation can significantly alter the metrics that are used to detect code smells, even into previously smell-free circuits, with the long circuit smell being the most susceptible to transpilation. Furthermore, the choice of the gate set significantly influences the presence and severity of code smells in transpiled circuits, highlighting the need for careful gate set selection to mitigate their impact. These findings have implications for circuit optimization and high-quality quantum software development. Further research is needed to understand the consequences of code smells and their potential impact on quantum computations, considering the characteristics and constraints of different gate sets and hardware platforms.
Förderung
- Università degli Studi di Salerno
Zitieren
APA
Stefano, M. D., Nucci, D. D., Palomba, F., & Lucia, A. D. (2024). An empirical study into the effects of transpilation on quantum circuit smells. Empirical Software Engineering, 29(3). https://doi.org/10.1007/s10664-024-10461-9
Vancouver
Stefano MD, Nucci DD, Palomba F, Lucia AD. An empirical study into the effects of transpilation on quantum circuit smells. Empirical Software Engineering. 2024;29(3). doi:10.1007/s10664-024-10461-9
BibTeX
@article{Stefano2024,
author = {Stefano, Manuel De and Nucci, Dario Di and Palomba, Fabio and Lucia, Andrea De},
title = {An empirical study into the effects of transpilation on quantum circuit smells},
journal = {Empirical Software Engineering},
year = {2024},
volume = {29},
number = {3},
doi = {10.1007/s10664-024-10461-9}
}
EUVIMED