跳到主要导航 跳到搜索 跳到主要内容

Generating Failing Test Suites for Quantum Programs With Search

  • Xinyi Wang*
  • , Paolo Arcaini
  • , Tao Yue
  • , Shaukat Ali
  • *此作品的通讯作者
  • Nanjing University of Aeronautics and Astronautics
  • National Institute of Informatics
  • Simula Research Laboratory

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

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, and achieved a significant improvement over RS in 87% of the faulty programs, and no significant difference in the rest of 13% of the faulty programs.

源语言英语
主期刊名Search-Based Software Engineering - 13th International Symposium, SSBSE 2021, Proceedings
编辑Una-May O’Reilly, Xavier Devroey
出版商Springer Science and Business Media Deutschland GmbH
9-25
页数17
ISBN(印刷版)9783030881054
DOI
出版状态已出版 - 2021
已对外发布
活动13th International Symposium on Search-Based Software Engineering, SSBSE 2021 - Virtual, Online
期限: 11 10月 202112 10月 2021

出版系列

姓名Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
12914 LNCS
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

会议

会议13th International Symposium on Search-Based Software Engineering, SSBSE 2021
Virtual, Online
时期11/10/2112/10/21

指纹

探究 'Generating Failing Test Suites for Quantum Programs With Search' 的科研主题。它们共同构成独一无二的指纹。

引用此