Formal Verification of Continuous-Variable Quantum Programs
Stefanie Muroya, Thomas A. Henzinger
Abstract
We provide a formal framework for Continuous-Variable Quantum Computing (CQC). While CQC is supported by photonic quantum hardware, we are not aware of a formal semantics for continuous-variable quantum programs nor of a unary Hoare logic for their verification. There are several technical obstacles to extending to CQC any of the formal frameworks available for Discrete-Variable Quantum Computing (DQC). Most importantly, continuous-variable quantum programs act on infinite-dimensional Hilbert spaces; their measurement outcomes are often unbounded and have expected values that are defined by an improper integral (or an infinite series), which may not converge. We overcome these challenges to give a formal semantics to a universal programming language for CQC and to provide the first Hoare logic for CQC. The assertions of our logic are built from polynomials over canonical observables. Besides proving relative completeness, we implement a symbolic weakest-precondition calculator for CQC based on our logic. Our tool has successfully verified CQC algorithms from textbooks and calculated their approximation errors for physically realizable implementations, proved the correctness (i.e., equivalence) of gate decompositions for CQC hardware, and computed the resource requirements (i.e., number of photon-number states) for achieving a desired accuracy in the classical simulation of continuous-variable quantum programs.
Create a lesson
Related papers
Quantum hypothesis testing of non-mixed-unitarity: A multifaceted hierarchy of quantum channel discrimination
Pratik Ghosal, Pritam Halder, Ayan Patra et al.
All Unitaries Have Constant Depth Quantum Circuits
Barak Nehoran, Henry Yuen
On The Simplest Quantum-Secure Block Cipher
Gorjan Alagic, Joseph Carolan, Christian Majenz et al.
Efficient Calculation of Equilibrium Correlation Functions
Yizhi Shen, Roel Van Beeumen, Wibe A. de Jong et al.
Gibbs Sampling in the Shattered Phase by Decoded Quantum Interferometry
Leo Zhou, Noah Shutty, Mark Sellke et al.
Quantum de Finetti theorems for states and channels in any distance measure
Liuhang Ye, Bjarne Bergh, Nilanjana Datta