Quantum Concolic Testing
Shangzhou Xia, Jianjun Zhao, Fuyuan Zhang, Xiaoyu Guo

TL;DR
This paper introduces the first concolic testing framework for quantum programs, using quantum constraint generation and solving to improve branch coverage and bug detection in quantum software.
Contribution
It presents a novel concolic testing framework specifically designed for quantum programs, including quantum constraint generation and symbolization methods.
Findings
Achieves over 74.27% branch coverage on small quantum programs
Effectively detects bugs in quantum code
Generates high-quality quantum input samples
Abstract
This paper presents the first concolic testing framework explicitly designed for quantum programs. The framework introduces quantum constraint generation methods for quantum control statements that quantify quantum states and offers a symbolization method for quantum variables. Based on this framework, we generate path constraints for each concrete execution path of a quantum program. These constraints guide the exploration of new paths, with a quantum constraint solver determining outcomes to create novel input samples, thereby enhancing branch coverage. Our framework has been implemented in Python and integrated with Qiskit for practical evaluation. Experimental results show that our concolic testing framework improves branch coverage, generates high-quality quantum input samples, and detects bugs, demonstrating its effectiveness and efficiency in quantum programming and bug…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Quantum Information and Cryptography
