Local Reasoning about Probabilistic Behaviour for Classical-Quantum Programs

08/09/2023
by   Yuxin Deng, et al.
0

Verifying the functional correctness of programs with both classical and quantum constructs is a challenging task. The presence of probabilistic behaviour entailed by quantum measurements and unbounded while loops complicate the verification task greatly. We propose a new quantum Hoare logic for local reasoning about probabilistic behaviour by introducing distribution formulas to specify probabilistic properties. We show that the proof rules in the logic are sound with respect to a denotational semantics. To demonstrate the effectiveness of the logic, we formally verify the correctness of non-trivial quantum algorithms including the HHL and Shor's algorithms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/16/2019

Coupling Techniques for Reasoning about Quantum Programs

Relational verification of quantum programs has many potential applicati...
research
08/15/2020

Quantum Hoare logic with classical variables

Hoare logic provides a syntax-oriented method to reason about program co...
research
07/24/2021

Reasoning about Recursive Quantum Programs

Most modern (classical) programming languages support recursion. Recursi...
research
07/28/2020

Local Variables and Quantum Relational Hoare Logic

We add local variables to quantum relational Hoare logic (Unruh, POPL 20...
research
10/17/2018

Axiomatising Infinitary Probabilistic Weak Bisimilarity of Finite-State Behaviours

In concurrency theory, weak bisimilarity is often used to relate process...
research
04/30/2021

Verification of Distributed Quantum Programs

Distributed quantum systems and especially the Quantum Internet have the...
research
10/26/2018

Reasoning about Parallel Quantum Programs

We initiate the study of parallel quantum programming by defining the op...

Please sign up or login with your details

Forgot password? Click here to reset