Characterizing Bugs and Quality Attributes in Quantum Software: A Large-Scale Empirical Study
Mir Mohammad Yousuf, Shabir Ahmad Sofi

TL;DR
This large-scale empirical study analyzes 32,296 bugs across 123 quantum software repositories, revealing bug patterns, ecosystem maturation, and the impact of testing practices on bug reduction in quantum software engineering.
Contribution
It provides the first comprehensive ecosystem-scale analysis of quantum software bugs, identifying key bug-prone categories and the effects of automated testing on bug mitigation.
Findings
Full-stack libraries and compilers are most bug-prone.
Simulators mainly affected by measurement and noise errors.
Automated testing reduces bug incidence by approximately 60%.
Abstract
Quantum Software Engineering (QSE) is essential for ensuring the reliability and maintainability of hybrid quantum-classical systems, yet empirical evidence on how bugs emerge and affect quality in real-world quantum projects remains limited. This study presents the first ecosystem-scale longitudinal analysis of software bugs across 123 open source quantum repositories from 2012 to 2024, spanning eight functional categories, including full-stack libraries, simulators, annealing, algorithms, compilers, assembly, cryptography, and experimental computing. Using a mixed method approach combining repository mining, static code analysis, issue metadata extraction, and a validated rule-based classification framework, we analyze 32,296 verified bug reports. Results show that full-stack libraries and compilers are the most bug-prone categories due to circuit, gate, and transpilation-related…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Testing and Debugging Techniques
