Parameterized Verification of Quantum Circuits (Technical Report)
Parosh Aziz Abdulla, Yu-Fang Chen, Michal Hečko, Lukáš Holík, Ondřej Lengál, Jyun-Ao Lin, Ramanathan S. Thinniyam
TL;DR
The paper tackles automated, parameterized verification of quantum circuits by introducing synchronized weighted tree automata (SWTAs) to compactly represent infinite families of quantum states and weighted tree transducers (WTTs) to model gate semantics. It develops a composition framework to build transducers for complex and parameterized circuits, and provides decision procedures for functional equivalence and inclusion, enabling relational verification. The AutoQ-Para tool demonstrates practical effectiveness on diverse quantum programs (BV, arithmetic adders, QECC syndrome extraction, Grover iterations, and Hamiltonian simulation) with runtimes from milliseconds to seconds. This work advances scalable, fully automatic verification for size-parameterized quantum circuits, with formal guarantees grounded in automata theory and linear-algebraic reasoning.
Abstract
We present the first fully automatic framework for verifying relational properties of parameterized quantum programs, i.e., a program that, given an input size, generates a corresponding quantum circuit. We focus on verifying input-output correctness as well as equivalence. At the core of our approach is a new automata model, synchronized weighted tree automata (SWTAs), which compactly and precisely captures the infinite families of quantum states produced by parameterized programs. We introduce a class of transducers to model quantum gate semantics and develop composition algorithms for constructing transducers of parameterized circuits. Verification is reduced to functional inclusion or equivalence checking between SWTAs, for which we provide decision procedures. Our implementation demonstrates both the expressiveness and practical efficiency of the framework by verifying a diverse set of representative parameterized quantum programs with verification times ranging from milliseconds to seconds.
