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 条
[1]   Metamorphic Testing of Oracle Quantum Programs [J].
Abreu, Rui ;
Fernandes, Joao Paulo ;
Liana, Luis ;
Tavares, Guilherme .
3RD INTERNATIONAL WORKSHOP ON QUANTUM SOFTWARE ENGINEERING (Q-SE 2022), 2022, :16-23
[2]   Assessing the Effectiveness of Input and Output Coverage Criteria for Testing Quantum Programs [J].
Ali, Shaukat ;
Arcaini, Paolo ;
Wang, Xinyi ;
Yue, Tao .
2021 14TH IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2021), 2021, :13-23
[3]  
[Anonymous], 1995, Black-box testing: techniques for functional testing of software and systems
[4]   Stabilization of quantum computations by symmetrization [J].
Barenco, A ;
Berthiaume, A ;
Deutsch, D ;
Ekert, A ;
Jozsa, R ;
Macchiavello, C .
SIAM JOURNAL ON COMPUTING, 1997, 26 (05) :1541-1557
[5]   Quantum machine learning [J].
Biamonte, Jacob ;
Wittek, Peter ;
Pancotti, Nicola ;
Rebentrost, Patrick ;
Wiebe, Nathan ;
Lloyd, Seth .
NATURE, 2017, 549 (7671) :195-202
[6]   Quantum fingerprinting [J].
Buhrman, H ;
Cleve, R ;
Watrous, J ;
de Wolf, R .
PHYSICAL REVIEW LETTERS, 2001, 87 (16)
[7]   Advanced Equivalence Checking for Quantum Circuits [J].
Burgholzer, Lukas ;
Wille, Robert .
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2021, 40 (09) :1810-1824
[8]  
Garcia-Escartin JC, 2011, Arxiv, DOI arXiv:1110.2998
[9]   Variational Quantum Fidelity Estimation [J].
Cerezo, M. ;
Poremba, Alexander ;
Cincio, Lukasz ;
Coles, Patrick J. .
QUANTUM, 2020, 4
[10]   Unitarity Estimation for Quantum Channels [J].
Chen, Kean ;
Wang, Qisheng ;
Long, Peixun ;
Ying, Mingsheng .
IEEE TRANSACTIONS ON INFORMATION THEORY, 2023, 69 (08) :5116-5134