Identifying Flaky Tests in Quantum Code: A Machine Learning Approach
Khushdeep Kaur, Dongchan Kim, Ainaz Jamshidi, Lei Zhang

TL;DR
This paper introduces a machine learning platform for detecting flaky tests in quantum software, addressing the unique challenges posed by quantum indeterminacy and expanding the dataset for future research.
Contribution
It presents a novel ML-based approach specifically designed for quantum flaky test detection and expands the quantum flaky test dataset for the research community.
Findings
Extreme gradient boosting and decision trees outperform other models.
High F1 score and Matthews Correlation Coefficient achieved.
Expanded dataset supports future quantum flaky test research.
Abstract
Testing and debugging quantum software pose significant challenges due to the inherent complexities of quantum mechanics, such as superposition and entanglement. One challenge is indeterminacy, a fundamental characteristic of quantum systems, which increases the likelihood of flaky tests in quantum programs. To the best of our knowledge, there is a lack of comprehensive studies on quantum flakiness in the existing literature. In this paper, we present a novel machine learning platform that leverages multiple machine learning models to automatically detect flaky tests in quantum programs. Our evaluation shows that the extreme gradient boosting and decision tree-based models outperform other models (i.e., random forest, k-nearest neighbors, and support vector machine), achieving the highest F1 score and Matthews Correlation Coefficient in a balanced dataset and an imbalanced dataset,…
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
TopicsQuantum Computing Algorithms and Architecture
