作者
Xinyi Wang, Paolo Arcaini, Tao Yue, Shaukat Ali
发表日期
2021/9/29
图书
International symposium on search based software engineering
页码范围
9-25
出版商
Springer International Publishing
简介
Testing quantum programs requires systematic, automated, and intelligent methods due to their inherent complexity, such as their superposition and entanglement. To this end, we present a search-based approach, called Quantum Search-Based Testing (QuSBT), for automatically generating test suites of a given size depending on available testing budget, with the aim of maximizing the number of failing test cases in the test suite. QuSBT consists of definitions of the problem encoding, failure types, test assessment with statistical tests, fitness function, and test case generation with a Genetic Algorithm (GA). To empirically evaluate QuSBT, we compared it with Random Search (RS) by testing six quantum programs. We assessed the effectiveness of QuSBT and RS with 30 carefully designed faulty versions of the six quantum programs. Results show that QuSBT provides a viable solution for testing quantum programs …
引用总数
20202021202220232024139149
学术搜索中的文章
X Wang, P Arcaini, T Yue, S Ali - International symposium on search based software …, 2021