# Quantum vs. Classical Machine Learning Algorithms for Software Defect Prediction: Challenges and Opportunities

arXiv: https://arxiv.org/abs/2412.07698 · HTML: https://mlsanity.com/paper/2412.07698/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 9 of its 47 references that are in the map.
- First posted on arXiv 10 Dec 2024.

## Builds on (most cited first, 9 of 9)

- [Challenges and Opportunities in Quantum Machine Learning](https://mlsanity.com/paper/2303.09491/) (2023)
- [Quantum-enhanced machine learning](https://mlsanity.com/paper/1610.08251/) (2016)
- [TensorFlow Quantum: A Software Framework for Quantum Machine Learning](https://mlsanity.com/paper/2003.02989/) (2020)
- [Quantum autoencoders via quantum adders with genetic algorithms](https://mlsanity.com/paper/1709.07409/) (2017)
- [Supervised Quantum Learning without Measurements](https://mlsanity.com/paper/1612.05535/) (2016)
- [Basic protocols in quantum reinforcement learning with superconducting circuits](https://mlsanity.com/paper/1701.05131/) (2017)
- [Leveraging Structural Properties of Source Code Graphs for Just-In-Time Bug Prediction](https://mlsanity.com/paper/2201.10137/) (2022)
- [Using Quantum Computers to Speed Up Dynamic Testing of Software](https://mlsanity.com/paper/2209.04860/) (2022)
- [Utilizing Source Code Syntax Patterns to Detect Bug Inducing Commits using Machine Learning Models](https://mlsanity.com/paper/2212.03399/) (2022)

## Abstract (arXiv)

Software defect prediction is a critical aspect of software quality assurance, as it enables early identification and mitigation of defects, thereby reducing the cost and impact of software failures. Over the past few years, quantum computing has risen as an exciting technology capable of transforming multiple domains; Quantum Machine Learning (QML) is one of them. QML algorithms harness the power of quantum computing to solve complex problems with better efficiency and effectiveness than their classical counterparts. However, research into its application in software engineering to predict software defects still needs to be explored. In this study, we worked to fill the research gap by comparing the performance of three QML and five classical machine learning (CML) algorithms on the 20 software defect datasets. Our investigation reports the comparative scenarios of QML vs. CML algorithms and identifies the better-performing and consistent algorithms to predict software defects. We also highlight the challenges and future directions of employing QML algorithms in real software defect datasets based on the experience we faced while performing this investigation. The findings of this study can help practitioners and researchers further progress in this research domain by making software systems reliable and bug-free.
