Hybrid Path-Sums for Hybrid Quantum Programs
arXiv:2604.24578 · doi:10.1145/3808314
Abstract
As quantum computing becomes an emerging reality, designing efficient quantum programming capabilities is becoming more and more important. Particularly, the debugging and validation of quantum programs is of paramount importance, as these programs are by definition hard to test. Static analysis and formal verification methods for quantum programs started to emerge a few years now, yet they often miss hybrid quantum/classical reasoning facilities with, e.g., generic quantum control, classical control and classical computation instructions. In this paper, we lay out the foundations of a framework for the automated formal verification of (full) hybrid quantum programs featuring both classical and quantum control, measurement and hybrid data structures. In particular, we propose: (1) a novel symbolic representation for describing and manipulating sets of hybrid quantum/classical states called Hybrid Path-Sums (HPS); (2) a set of rewriting rules providing a rich mechanism for simplifying and reasoning on these symbolic hybrid states, and (3) a core assertion language to specify equivalence of hybrid quantum programs, the satisfaction of properties on (parts of) hybrid states, and the extraction of probabilistic statements about the program behavior. We prove the correctness of the novel symbolic representation, of its rewriting system and of the specification system. Finally, we propose a full implementation of this framework as a dedicated symbolic execution engine for hybrid programs. We present an evaluation of a set of representative hybrid case-studies from the literature, showcasing the advantage of our approach and its efficiency compared to state-of-the-art solutions.
References in corpus (36)
- Supplementary information for "Quantum supremacy using a programmable superconducting processor"
- A variational eigenvalue solver on a quantum processor
- Quantum algorithm for solving linear systems of equations
- Quantum Simulation
- A Quantum Approximate Optimization Algorithm
- Measurement-based quantum computation with cluster states
- Quantum error correction below the surface code threshold
- Quantum Error Correction: An Introductory Guide
- Interacting Quantum Observables: Categorical Algebra and Diagrammatics
- Towards Large-scale Functional Verification of Universal Quantum Circuits
- A Verified Optimizer for Quantum Circuits
- Fault-Tolerant Postselected Quantum Computation: Schemes
- Quantum Relational Hoare Logic
- A Deductive Verification Framework for Circuit-building Quantum Programs
- Quantum entanglement analysis based on abstract interpretation
- Equivalence Checking of Quantum Circuits with the ZX-Calculus
- symQV: Automated Symbolic Verification of Quantum Programs
- Certified Quantum Computation in Isabelle/HOL
- CFLOBDDs: Context-Free-Language Ordered Binary Decision Diagrams
- Symbolic Execution for Quantum Error Correction Programs
- Efficient Formal Verification of Quantum Error Correcting Programs
- Qrisp: A Framework for Compilable High-Level Programming of Gate-Based Quantum Computers
- A Case for Synthesis of Recursive Quantum Unitary Programs
- Reqomp: Space-constrained Uncomputation for Quantum Circuits
- Formal Methods for Quantum Programs: A Survey
- Abstraqt: Analysis of Quantum Circuits via Abstract Stabilizer Simulation
- Complete Equational Theories for the Sum-Over-Paths with Unbalanced Amplitudes
- Verifying Fault-Tolerance of Quantum Error Correction Codes
- Quantum Algorithms and Oracles with the Scalable ZX-calculus
- Automated Verification of Silq Quantum Programs using SMT Solvers
- Automating Equational Proofs in Dirac Notation
- Faster Phase Estimation
- Rewriting and Completeness of Sum-Over-Paths in Dyadic Fragments of Quantum Computing
- Equivalence Checking of Quantum Circuits via Path-Sum and Weighted Model Counting
- Quantum Circuit Equivalence Checking: A Tractable Bridge From Unitary to Hybrid Circuits
- Formally Verifying Quantum Phase Estimation Circuits with 1,000+ Qubits