Score: 1

An experience-based classification of quantum bugs in quantum software

Published: September 3, 2025 | arXiv ID: 2509.03280v1

By: Nils Quetschlich, Olivia Di Matteo

Potential Business Impact:

Helps fix tricky computer bugs in quantum programs.

Business Areas:
Quantum Computing Science and Engineering

As quantum computers continue to improve in quality and scale, there is a growing need for accessible software frameworks for programming them. However, the unique behavior of quantum systems means specialized approaches, beyond traditional software development, are required. This is particularly true for debugging due to quantum bugs, i.e., bugs that occur precisely because an algorithm is a quantum algorithm. Pinpointing a quantum bug's root cause often requires significant developer time, as there is little established guidance for quantum debugging techniques. Developing such guidance is the main challenge we sought to address. In this work, we describe a set of 14 quantum bugs, sourced primarily from our experience as quantum software developers, and supplemented by analysis of open-source GitHub repositories. We detail their context, symptoms, and the techniques applied to identify and fix them. While classifying these bugs based on existing schemes, we observed that most emerged due to unique interactions between multiple aspects of an algorithm or workflow. In other words, they occurred because more than one thing went wrong, which provided important insight into why quantum debugging is more challenging. Furthermore, based on this clustering, we found that - unexpectedly - there is no clear relationship between debugging strategies and bug classes. Further research is needed to develop effective and systematic quantum debugging strategies.

Country of Origin
🇩🇪 🇨🇦 Canada, Germany

Page Count
25 pages

Category
Physics:
Quantum Physics