Generalised Bit-Vector Abstractions for Formal Verification of Quantum Error-Detection and Entanglement Circuits over {H,X,C-NOT}: CSS Constructions, Soundness, and Mutation-Based Validation
Abstract
Formal verification of quantum circuits becomes difficult as circuit size grows because exhaustive reasoning over the Hilbert space is computationally expensive. In previous work [1], we introduced a bit-vector abstraction that separates superposition tracking from basis-state behavior, enabling SMT-based verification of fixed-size error-detection and entanglement circuits built from H, X, and C-NOT gates. This paper extends the framework in five directions. First, we generalise correctness properties to parametrised repetition and concatenated phase-flip codes with up to 101 logical elements. Second, we verify syndrome extraction for CSS codes specified by arbitrary parity-check matrices, including the Steane, [[15,7,3]] Hamming, [[15,1,3]] Reed-Muller, and rotated surface codes with distances up to 101. We consider arbitrary error patterns, detection up to a specified weight, and recovery using a classical decoder, with counterexamples beyond each code's correction or detection capability. Third, we characterize the H,X,C-NOT fragment for which the abstraction faithfully represents Hilbert-space semantics. We prove soundness, demonstrate necessity with counterexamples, validate the characterisation against state-vector simulation, and prove the six lemmas from the original work. Fourth, a mutation study using 13 operators identifies equivalent mutants and detects all 622 non-equivalent mutants within the evaluated fault model. Fifth, a direct Z3 implementation verifies GHZ circuits with up to 262,144 qubits across three topologies on a 16GB laptop. Random H+C-NOT networks show verification cost rises sharply with depth when outputs depend on many inputs. The approach does not target general stabilizer circuits, Y-type stabilizers, fault-tolerant protocols, or physical noise; we identify extensions needed to address these cases.
Create a lesson
Metadata
- Categories
- quant-ph, cs.ET, cs.LO
- Comments
- Accepted for publication in SN Computer Science, final version will be available through journal once published. Abstract is modified to account for arXiv character count
Related papers
A Variational Lattice Boltzmann Approach to Quantum Computational Fluid Dynamics: Platform, Error Budget, and Verification
Shared title terminologyquant-phMadhava Syamlal, Carter Copen, Prakash Saini et al.
SMP: A General Hyperedge-Based Framework for Circuit-Level Quantum Error Correction
Shared title terminologyquant-phSiying Wang, Yue Yan, Zhixin Xia et al.
Polynomial-time additive-error estimation of output probabilities for shallow quantum circuits
Shared title terminologyquant-phMatthew Coudron, Michael J. Gullans, Jon Nelson et al.
Exact first-detection probability in a locally monitored solvable quantum circuit
Shared title terminologyquant-phCecilia De Fazio, Igor Lesanovsky, Gabriele Perfetto
Hybrid Quantum--Classical Proximal Policy Optimization with Variational Quantum Circuits
Shared title terminologyquant-phSheng-Chieh Tseng, Samuel Yen-Chi Chen, Ying-Jer Kao
Shallow quantum circuits are deeper than you think
Shared title terminologyquant-phMarten Folkertsma, Florian Speelman