Bugs in Quantum Computing Platforms: An Empirical Study

10/27/2021
by   Matteo Paltenghi, et al.
0

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. 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.

READ FULL TEXT

page 4

page 8

page 10

page 12

page 14

page 16

page 17

page 18

research
06/10/2023

An Empirical Study of Bugs in Quantum Machine Learning Frameworks

Quantum computing has emerged as a promising domain for the machine lear...
research
01/21/2022

A Comprehensive Study of Bug Fixes in Quantum Programs

As quantum programming evolves, more and more quantum programming langua...
research
04/25/2022

Bug Characteristics in Quantum Software Ecosystem

With the advance in quantum computing in recent years, quantum software ...
research
06/02/2022

MorphQ: Metamorphic Testing of Quantum Computing Platforms

As quantum computing is becoming increasingly popular, the underlying qu...
research
03/15/2018

Quality Attributes on Quantum Computing Platforms

As the practical Quantum Computing Platforms (QCPs) rapidly become a rea...
research
02/27/2022

How to Debug Inclusivity Bugs? A Debugging Process with Information Architecture

Although some previous research has found ways to find inclusivity bugs ...
research
11/13/2018

QDB: From Quantum Algorithms Towards Correct Quantum Programs

With the advent of small-scale prototype quantum computers, researchers ...

Please sign up or login with your details

Forgot password? Click here to reset