Birkhoff-von Neumann Quantum Logic as an Assertion Language for Quantum Programs

05/04/2022
by   Mingsheng Ying, et al.
0

A first-order logic with quantum variables is needed as an assertion language for specifying and reasoning about various properties (e.g. correctness) of quantum programs. Surprisingly, such a logic is missing in the literature, and the existing first-order Birkhoff-von Neumann quantum logic deals with only classical variables and quantifications over them. In this paper, we fill in this gap by introducing a first-order extension of Birkhoff-von Neumann quantum logic with universal and existential quantifiers over quantum variables. Examples are presented to show our logic is particularly suitable for specifying some important properties studied in quantum computation and quantum information. We further incorporate this logic into quantum Hoare logic as an assertion logic so that it can play a role similar to that of first-order logic for classical Hoare logic and BI-logic for separation logic. In particular, we show how it can be used to define and derive quantum generalisations of some adaptation rules that have been applied to significantly simplify verification of classical programs. It is expected that the assertion logic defined in this paper - first-order quantum logic with quantum variables - can be combined with various quantum program logics to serve as a solid logical foundation upon which verification tools can be built using proof assistants such as Coq and Isabelle/HOL.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/15/2020

Quantum Hoare logic with classical variables

Hoare logic provides a syntax-oriented method to reason about program co...
research
02/01/2019

Quantum Hoare Logic with Ghost Variables

Quantum Hoare logic allows us to reason about quantum programs. We prese...
research
05/23/2021

Quantum and classical registers

We present a generic theory of "registers" in imperative programs and in...
research
01/30/2021

A Quantum Interpretation of Bunched Logic for Quantum Separation Logic

We propose a model of the substructural logic of Bunched Implications (B...
research
09/16/2015

Quantum Look at two Common Logics: the Logic of Primitive Thinking and the Logic of Everyday Human Reasoning

Based on ideas of quantum theory of open systems and psychological dual ...
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/05/2020

Quantum Computational Psychoanalysis – Quantum logic approach to Bi-logic

In this paper, we are dealing with the fundamental concepts of Bi-logic ...

Please sign up or login with your details

Forgot password? Click here to reset