Verification of Nondeterministic Quantum Programs

02/15/2023
by   Yuan Feng, et al.
0

Nondeterministic choice is a useful program construct that provides a way to describe the behaviour of a program without specifying the details of possible implementations. It supports the stepwise refinement of programs, a method that has proven useful in software development. Nondeterminism has also been introduced in quantum programming, and the termination of nondeterministic quantum programs has been extensively analysed. In this paper, we go beyond termination analysis to investigate the verification of nondeterministic quantum programs where properties are given by sets of hermitian operators on the associated Hilbert space. Hoare-type logic systems for partial and total correctness are proposed, which turn out to be both sound and relatively complete with respect to their corresponding semantic correctness. To show the utility of these proof systems, we analyse some quantum algorithms, such as quantum error correction scheme, the Deutsch algorithm, and a nondeterministic quantum walk. Finally, a proof assistant prototype is implemented to aid in the automated reasoning of nondeterministic quantum programs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/31/2018

Toward Automatic Verification of Quantum Programs

This paper summarises the results obtained by the author and his collabo...
research
07/28/2023

QbC: Quantum Correctness by Construction

Thanks to the rapid progress and growing complexity of quantum algorithm...
research
10/26/2018

Reasoning about Parallel Quantum Programs

We initiate the study of parallel quantum programming by defining the op...
research
09/15/2023

Dependent Type Refinements for Futures

Type refinements combine the compositionality of typechecking with the e...
research
11/08/2018

Quantitative Robustness Analysis of Quantum Programs (Extended Version)

Quantum computation is a topic of significant recent interest, with prac...
research
02/20/2020

RustHorn: CHC-based Verification for Rust Programs (full version)

Reduction to the satisfiability problem for constrained Horn clauses (CH...
research
08/15/2020

Quantum Hoare logic with classical variables

Hoare logic provides a syntax-oriented method to reason about program co...

Please sign up or login with your details

Forgot password? Click here to reset