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

Application of Combinatorial Testing to Quantum Programs

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

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

摘要

The capability of Quantum Computing (QC) in solving complex problems has been increasingly recognized. However, similar to classical computing, to fully exploit QC's potential, it is important to ensure the correctness of quantum programs. Doing so via software testing is, however, very challenging because of QC's inherent properties: superposition and entanglement. Towards the direction of ensuring the correctness of quantum programs, we propose an approach called QuCAT (QUantum CombinAtorial Testing) for systematic and automated testing of quantum programs by benefiting from combinatorial testing, which has been proven to be cost-effective in testing classical programs. QuCAT supports two combinatorial test suite generation scenarios, i.e., generating combinatorial test suites of a given strength, and incrementally generating and executing combinatorial test suites of increasing strength until a fault is found. The approach employs two types of test oracles to assess test results. We performed an empirical study with 18 faulty versions of quantum programs to evaluate QuCAT with strengths of two, three, and four in the two test generation scenarios. We compare the cost-effectiveness of combinatorial testing of various strengths and random testing (taken as baseline approach). Results show that combinatorial testing always performs better than random testing with the same cost and finds faults more quickly (in terms of required number of test cases). In addition, in most cases, combinatorial testing with a higher strength outperforms the lower strength in terms of effectiveness.

源语言英语
主期刊名Proceedings - 2021 21st International Conference on Software Quality, Reliability and Security, QRS 2021
出版商Institute of Electrical and Electronics Engineers
179-188
页数10
ISBN(电子版)9781665458139
DOI
出版状态已出版 - 2021
已对外发布
活动21st International Conference on Software Quality, Reliability and Security, QRS 2021 - Hainan, 中国
期限: 6 12月 202110 12月 2021

出版系列

姓名IEEE International Conference on Software Quality, Reliability and Security, QRS
2021-December
ISSN(印刷版)2693-9177

会议

会议21st International Conference on Software Quality, Reliability and Security, QRS 2021
国家/地区中国
Hainan
时期6/12/2110/12/21

指纹

探究 'Application of Combinatorial Testing to Quantum Programs' 的科研主题。它们共同构成独一无二的指纹。

引用此