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

Assessing the Effectiveness of Input and Output Coverage Criteria for Testing Quantum Programs

  • Shaukat Ali
  • , Paolo Arcaini
  • , Xinyi Wang
  • , Tao Yue
  • Simula Research Laboratory
  • Nanjing University of Aeronautics and Astronautics

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

摘要

Quantum programs implement quantum algorithms solving complex computational problems. Testing such programs is challenging due to the inherent characteristics of Quantum Computing (QC), such as the probabilistic nature and computations in superposition. However, automated and systematic testing is needed to ensure the correct behavior of quantum programs. To this end, we present an approach called Quito (QUantum InpuT Output coverage) consisting of three coverage criteria defined on the inputs and outputs of a quantum program, together with their test generation strategies. Moreover, we define two types of test oracles, together with a procedure to determine the passing and failing of test suites with statistical analyses. To evaluate the cost-effectiveness of the three coverage criteria, we conducted experiments with five quantum programs. We used mutation analysis to determine the coverage criteria' effectiveness and cost in terms of the number of test cases. Based on the results of mutation analysis, we also identified equivalent mutants for quantum programs.

源语言英语
主期刊名Proceedings - 2021 IEEE 14th International Conference on Software Testing, Verification and Validation, ICST 2021
出版商Institute of Electrical and Electronics Engineers Inc.
13-23
页数11
ISBN(电子版)9781728168364
DOI
出版状态已出版 - 4月 2021
已对外发布
活动14th IEEE International Conference on Software Testing, Verification and Validation, ICST 2021 - Virtual, Porto de Galinhas, 巴西
期限: 12 4月 202116 4月 2021

出版系列

姓名Proceedings - 2021 IEEE 14th International Conference on Software Testing, Verification and Validation, ICST 2021

会议

会议14th IEEE International Conference on Software Testing, Verification and Validation, ICST 2021
国家/地区巴西
Virtual, Porto de Galinhas
时期12/04/2116/04/21

指纹

探究 'Assessing the Effectiveness of Input and Output Coverage Criteria for Testing Quantum Programs' 的科研主题。它们共同构成独一无二的指纹。

引用此