Quantum Approximate Optimization Algorithm for Test Case Optimization
- 14 October 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 50 (12) , 3249-3264
Abstract
Test case optimization (TCO) reduces the software testing cost while preserving its effectiveness. However, to solve TCO problems for large-scale and complex software systems, substantial computational resources are required. Quantum approximate optimization algorithms (QAOAs) are promising combinatorial optimization algorithms that rely on quantum computational resources, with the potential to offer increased efficiency compared to classical approaches. Several proof-of-concept applications of QAOAs for solving combinatorial problems, such as portfolio optimization, energy optimization in power systems, and job scheduling, have been proposed. Given the lack of investigation into QAOA’s application for TCO problems, and motivated by the computational challenges of TCO problems and the potential of QAOAs, we present IGDec-QAOA to formulate a TCO problem as a QAOA problem and solve it on both ideal and noisy quantum computer simulators, as well as on a real quantum computer. To solve bigger TCO problems that require many qubits, which are unavailable these days, we integrate a problem decomposition strategy with the QAOA. We performed an empirical evaluation with five TCO problems and four publicly available industrial datasets from ABB, Google, and Orona to compare various configurations of IGDec-QAOA, assess its decomposition strategy of handling large datasets, and compare its performance with classical algorithms (i.e., Genetic Algorithm (GA) and Random Search). Based on the evaluation results achieved on an ideal simulator, we recommend the best configuration of our approach for TCO problems. Also, we demonstrate that our approach can reach the same effectiveness as GA and outperform GA in two out of five test case optimization problems we conducted. In addition, we observe that, on the noisy simulator, IGDec-QAOA achieved similar performance to that from the ideal simulator. Finally, we also demonstrate the feasibility of IGDec-QAOA on a real quantum computer in the presence of noise.Keywords
All Related Versions
Funding Information
- Research Council of Norway (Qu-Test project (#299827))
- JST-Mirai (JPMJMI20B8)
- ERATO HASUO Metamathematics for Systems Design Project (JPMJER1603)
This publication has 50 references indexed in Scilit:
- Application of quantum approximate optimization algorithm to job shop scheduling problemEuropean Journal of Operational Research, 2023
- Benchmarking the performance of portfolio optimization with QAOAQuantum Information Processing, 2022
- Applying the quantum approximate optimization algorithm to the minimum vertex cover problemApplied Soft Computing, 2022
- Test case selection and prioritization using machine learning: a systematic literature reviewEmpirical Software Engineering, 2021
- Emerging quantum computing algorithms for quantum chemistryWIREs Computational Molecular Science, 2021
- Quantum computing's potential for drug discovery: Early stage industry dynamicsDrug Discovery Today, 2021
- RETRACTED ARTICLE: Soft computing-based semi-automated test case selection using gradient-based techniquesSoft Computing, 2020
- Cluster‐based test cases prioritization and selection technique for agile regression testingJournal of Software: Evolution and Process, 2016
- On Parameter Tuning in Search Based Software Engineering2011
- A systematic approach for resource allocation in software projectsComputers & Industrial Engineering, 2008