Reformulating Regression Test Suite Optimization using Quantum Annealing -- an Empirical Study
- URL: http://arxiv.org/abs/2411.15963v2
- Date: Tue, 28 Jan 2025 17:46:22 GMT
- Title: Reformulating Regression Test Suite Optimization using Quantum Annealing -- an Empirical Study
- Authors: Antonio Trovato, Manuel De Stefano, Fabiano Pecorelli, Dario Di Nucci, Andrea De Lucia,
- Abstract summary: Regression testing ensures that software works as expected after changes are implemented.<n>Traditional test suite optimization techniques are often impractical in resource-constrained scenarios.<n>We propose reformulating the regression test case selection problem to use quantum computation techniques better.
- Score: 8.11562964318067
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Maintaining software quality is crucial in the dynamic landscape of software development. Regression testing ensures that software works as expected after changes are implemented. However, re-executing all test cases for every modification is often impractical and costly, particularly for large systems. Although very effective, traditional test suite optimization techniques are often impractical in resource-constrained scenarios, as they are computationally expensive. Hence, quantum computing solutions have been developed to improve their efficiency but have shown drawbacks in terms of effectiveness. We propose reformulating the regression test case selection problem to use quantum computation techniques better. Our objectives are (i) to provide more efficient solutions than traditional methods and (ii) to improve the effectiveness of previously proposed quantum-based solutions. We propose SelectQA, a quantum annealing approach that can outperform the quantum-based approach BootQA in terms of effectiveness while obtaining results comparable to those of the classic Additional Greedy and DIV-GA approaches. Regarding efficiency, SelectQA outperforms DIV-GA and has similar results with the Additional Greedy algorithm but is exceeded by BootQA.
Related papers
- Using quantum annealing to generate test cases for cyber-physical systems [35.26972474219581]
We propose a mutation-based approach to enhance test case generation for Cyber-Physical Systems.
We use quantum annealing to identify and target critical regions of the test cases for improvement.
Our approach mechanises this process into an algorithm that uses D-Wave's quantum annealer to find the solution.
arXiv Detail & Related papers (2025-04-30T14:20:58Z) - A Preliminary Investigation on the Usage of Quantum Approximate Optimization Algorithms for Test Case Selection [2.1929683225837078]
This work envisions the usage of Quantum Approximate Optimization Algorithms (QAOAs) for test case selection.
QAOAs merge the potential of gate-based quantum machines with the optimization capabilities of the adiabatic evolution.
Our results show that QAOAs perform better than the baseline algorithms in effectiveness while being comparable to SelectQA in terms of efficiency.
arXiv Detail & Related papers (2025-04-26T15:38:01Z) - A coherent approach to quantum-classical optimization [0.0]
Hybrid quantum-classical optimization techniques have been shown to allow for the reduction of quantum computational resources.
We identify the coherence entropy as a crucial metric in determining the suitability of quantum states.
We propose a quantum-classical optimization protocol that significantly improves on previous approaches for such tasks.
arXiv Detail & Related papers (2024-09-20T22:22:53Z) - Analyzing the Effectiveness of Quantum Annealing with Meta-Learning [7.251305766151019]
We propose a new methodology to study the effectiveness of Quantum Annealing (QA) based on meta-learning models.
We build a dataset composed of more than five thousand instances of ten different optimization problems.
We define a set of more than a hundred features to describe their characteristics, and solve them with both QA and three classical solvers.
arXiv Detail & Related papers (2024-08-01T14:03:11Z) - Solving Combinatorial Optimization Problems with a Block Encoding Quantum Optimizer [0.0]
Block ENcoding Quantum (BEQO) is a hybrid quantum solver that uses block encoding to represent the cost function.
Our findings confirm that BENQO performs significantly better than QAOA and competes with VQE across a variety of performance metrics.
arXiv Detail & Related papers (2024-04-22T10:10:29Z) - Bayesian Parameterized Quantum Circuit Optimization (BPQCO): A task and hardware-dependent approach [49.89480853499917]
Variational quantum algorithms (VQA) have emerged as a promising quantum alternative for solving optimization and machine learning problems.
In this paper, we experimentally demonstrate the influence of the circuit design on the performance obtained for two classification problems.
We also study the degradation of the obtained circuits in the presence of noise when simulating real quantum computers.
arXiv Detail & Related papers (2024-04-17T11:00:12Z) - Randomized Benchmarking of Local Zeroth-Order Optimizers for Variational
Quantum Systems [65.268245109828]
We compare the performance of classicals across a series of partially-randomized tasks.
We focus on local zeroth-orders due to their generally favorable performance and query-efficiency on quantum systems.
arXiv Detail & Related papers (2023-10-14T02:13:26Z) - Challenges of variational quantum optimization with measurement shot noise [0.0]
We study the scaling of the quantum resources to reach a fixed success probability as the problem size increases.
Our results suggest that hybrid quantum-classical algorithms should possibly avoid a brute force classical outer loop.
arXiv Detail & Related papers (2023-07-31T18:01:15Z) - Quantum Annealing for Single Image Super-Resolution [86.69338893753886]
We propose a quantum computing-based algorithm to solve the single image super-resolution (SISR) problem.
The proposed AQC-based algorithm is demonstrated to achieve improved speed-up over a classical analog while maintaining comparable SISR accuracy.
arXiv Detail & Related papers (2023-04-18T11:57:15Z) - Optimization Applications as Quantum Performance Benchmarks [0.0]
Combinatorial optimization is anticipated to be one of the primary use cases for quantum computation in the coming years.
Inspired by existing methods to characterize classical optimization algorithms, we analyze the solution quality obtained by solving Max-Cut problems.
This is used to guide the development of an advanced benchmarking framework for quantum computers.
arXiv Detail & Related papers (2023-02-05T01:56:06Z) - Adiabatic Quantum Computing for Multi Object Tracking [170.8716555363907]
Multi-Object Tracking (MOT) is most often approached in the tracking-by-detection paradigm, where object detections are associated through time.
As these optimization problems are often NP-hard, they can only be solved exactly for small instances on current hardware.
We show that our approach is competitive compared with state-of-the-art optimization-based approaches, even when using of-the-shelf integer programming solvers.
arXiv Detail & Related papers (2022-02-17T18:59:20Z) - Quantum circuit architecture search on a superconducting processor [56.04169357427682]
Variational quantum algorithms (VQAs) have shown strong evidences to gain provable computational advantages for diverse fields such as finance, machine learning, and chemistry.
However, the ansatz exploited in modern VQAs is incapable of balancing the tradeoff between expressivity and trainability.
We demonstrate the first proof-of-principle experiment of applying an efficient automatic ansatz design technique to enhance VQAs on an 8-qubit superconducting quantum processor.
arXiv Detail & Related papers (2022-01-04T01:53:42Z) - Quantum circuit architecture search for variational quantum algorithms [88.71725630554758]
We propose a resource and runtime efficient scheme termed quantum architecture search (QAS)
QAS automatically seeks a near-optimal ansatz to balance benefits and side-effects brought by adding more noisy quantum gates.
We implement QAS on both the numerical simulator and real quantum hardware, via the IBM cloud, to accomplish data classification and quantum chemistry tasks.
arXiv Detail & Related papers (2020-10-20T12:06:27Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.