Bugs in Quantum Computing Platforms: An Empirical Study

Matteo Paltenghi, Michael Pradel
10/27/2021
cs.PL

Official code: MattePalte/Bugs-Quantum-Computing-Platforms (6 stars, Python, MIT, last commit 2022-01-10).

Abstract

The interest in quantum computing is growing, and with it, the importance of software platforms to develop quantum programs. Ensuring the correctness of such platforms is important, and it requires a thorough understanding of the bugs they typically suffer from.

Show full abstract

To address this need, this paper presents the first in-depth study of bugs in quantum computing platforms. We gather and inspect a set of 223 real-world bugs from 18 open-source quantum computing platforms. Our study shows that a significant fraction of these bugs (39.9%) are quantum-specific, calling for dedicated approaches to prevent and find them. The bugs are spread across various components, but quantum-specific bugs occur particularly often in components that represent, compile, and optimize quantum programming abstractions. Many quantum-specific bugs manifest through unexpected outputs, rather than more obvious signs of misbehavior, such as crashes. Finally, we present a hierarchy of recurrent bug patterns, including ten novel, quantum-specific patterns. Our findings not only show the importance and prevalence bugs in quantum computing platforms, but they help developers to avoid common mistakes and tool builders to tackle the challenge of preventing, finding, and fixing these bugs.

View on arXivView PDF

Code Implementations(1)

MIT

Companion Repository for "Bugs in Quantum Computing Platforms: An Empirical Study", OOPSLA 2022

62Python, C#Nov 5, 20214 years agoMIT
bug-databasequantum-computingsoftware-engineeringsoftware-reliability

Similar Papers

Cite this paper

@article{paltenghi2021bugs,
  title  = {Bugs in Quantum Computing Platforms: An Empirical Study},
  author = {Matteo Paltenghi and Michael Pradel},
  year   = {2021},
  eprint = {2110.14560},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14560}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14560.svg)](https://codeofpaper.com/paper/2110.14560)

Discussion