Verifying Repeat-until-Success Protocols using Automata
Jyun-Ao Lin, Yu-Fang Chen, Jakub Havlík, Ondřej Lengál, Fang-Yi Lo, Wei-Lun Tsai, You-Jie Wu
Key points
From the paper's conclusion- We implemented our approach and identified previously unreported bugs in the RUS literature.
Abstract
Repeat-until-success (RUS) protocols implement single-qubit unitaries using measurement, classical control, and unbounded looping. Verifying their functional correctness is challenging due to the combination of probabilistic branching, unbounded looping, and the need to reason about all input states. In this paper, we develop a fully automated framework for verifying the functional correctness of these protocols. The framework is based on viewing quantum states as trees and sets of quantum states as sets of trees, which can be represented using tree automata. The particular automata model that we use are level-synchronized tree automata (), in which nondeterminism is labelled by a choice . Since we can map a sequence of choices to a particular tree (and therefore a quantum state) in the language of an LSTA, we can use the choice-sequence semantics to track input-output correspondence (which input quantum state got transformed into which output quantum state) and enable relational verification. To deal with reasoning about infinitely many quantum states, we prove a three-test theorem, which reduces verifying correctness of RUS protocols to testing correctness on finitely many inputs, enabling automatic invariant synthesis and decidable verification. We implemented our approach and identified previously unreported bugs in the RUS literature.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- On the Complexity of Level-Synchronized Tree Automata for Quantum Circuit VerificationarXiv · 2026
- Rational quantum spectral filtering by repeat-until-success protocolarXiv · 2026
- Simultaneous Circuit Tests for Finite Reversible Models of Quantum ControlarXiv · 2026
- Reopening the one clean qubit case of a semi-grand challengearXiv · 2026
- Reasoning about Shared-Qubit Concurrency in Quantum ComputingarXiv · 2026
- Verification and Self-Improvement in Agentic AI: Foundations and LimitsarXiv · 2026