Equivalence, identity, and unitarity checking in black-box testing of quantum programs

被引:2
作者
Long, Peixun [1 ,2 ]
Zhao, Jianjun [3 ]
机构
[1] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Beijing, Peoples R China
[3] Kyushu Univ, Sch Informat Sci & Elect Engn, Fukuoka, Japan
基金
中国国家自然科学基金;
关键词
Quantum programs; Software testing; Black-box testing; Equivalence checking; Unitarity checking;
D O I
10.1016/j.jss.2024.112000
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Quantum programs exhibit inherent non -deterministic behavior, which poses more significant challenges for error discovery compared to classical programs. While several testing methods have been proposed for quantum programs, they often overlook fundamental questions in black -box testing. In this paper, we bridge this gap by presenting three novel algorithms specifically designed to address the challenges of equivalence, identity, and unitarity checking in black -box testing of quantum programs. We also explore optimization techniques for these algorithms, including specialized versions for equivalence and unitarity checking, and provide valuable insights into parameter selection to maximize performance and effectiveness. To evaluate the effectiveness of our proposed methods, we conducted comprehensive experimental evaluations, which demonstrate that our methods can rigorously perform equivalence, identity, and unitarity checking, offering robust support for black -box testing of quantum programs.
引用
收藏
页数:19
相关论文
共 53 条
[31]   Projection-Based Runtime Assertions for Testing and Debugging Quantum Programs [J].
Li, Gushu ;
Li Zhou ;
Yu, Nengkun ;
Ding, Yufei ;
Ying, Mingsheng ;
Xie, Yuan .
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (OOPSLA)
[32]  
Long PX, 2024, Arxiv, DOI [arXiv:2306.17407, DOI 10.48550/ARXIV.2306.17407]
[33]  
Barnett SM, 2008, Arxiv, DOI arXiv:0810.1970
[34]  
McArdle S, 2020, Arxiv, DOI arXiv:1808.10402
[35]   Muskit: A Mutation Analysis Tool for Quantum Software Testing [J].
Mendiluze, Enaut ;
Ali, Shaukat ;
Arcaini, Paolo ;
Yue, Tao .
2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, :1266-1270
[36]  
Mingsheng Y., 2016, Foundations of Quantum Programming, Vfirst
[37]   Is Your Quantum Program Bug -Free? [J].
Miranskyy, Andriy ;
Zhang, Lei ;
Doliskani, Javad .
2020 IEEE/ACM 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING RESULTS (ICSE-NIER 2020), 2020, :29-32
[38]   On Testing Quantum Programs [J].
Miranskyy, Andriy ;
Zhang, Lei .
2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING RESULTS (ICSE-NIER 2019), 2019, :57-60
[39]  
Miranskyy Andriy, 2021, arXiv
[40]   DETERMINATION OF QUASIPROBABILITY DISTRIBUTIONS IN TERMS OF PROBABILITY-DISTRIBUTIONS FOR THE ROTATED QUADRATURE PHASE [J].
VOGEL, K ;
RISKEN, H .
PHYSICAL REVIEW A, 1989, 40 (05) :2847-2849