TL;DR
QuSBT is a novel tool that applies genetic algorithms to automate the testing of quantum programs, aiming to maximize failing test cases and improve quantum software reliability.
Contribution
This paper introduces QuSBT, the first search-based testing tool for quantum programs using genetic algorithms and IBM's Qiskit, with a detailed methodology and experimental validation.
Findings
QuSBT effectively finds failing test cases in quantum programs.
The tool demonstrates promising results in testing faulty quantum code.
Experimental results validate the approach's potential for quantum software testing.
Abstract
Generating a test suite for a quantum program such that it has the maximum number of failing tests is an optimization problem. For such optimization, search-based testing has shown promising results in the context of classical programs. To this end, we present a test generation tool for quantum programs based on a genetic algorithm, called QuSBT (Search-based Testing of Quantum Programs). QuSBT automates the testing of quantum programs, with the aim of finding a test suite having the maximum number of failing test cases. QuSBT utilizes IBM's Qiskit as the simulation framework for quantum programs. We present the tool architecture in addition to the implemented methodology (i.e., the encoding of the search individual, the definition of the fitness function expressing the search problem, and the test assessment w.r.t. two types of failures). Finally, we report results of the experiments…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
