QbC: Quantum Correctness by Construction

07/28/2023
by   Anurudh Peduri, et al.
0

Thanks to the rapid progress and growing complexity of quantum algorithms, correctness of quantum programs has become a major concern. Pioneering research over the past years has proposed various approaches to formally verify quantum programs using proof systems such as quantum Hoare logic. All these prior approaches are post-hoc: one first implements a complete program and only then verifies its correctness. In this work, we propose Quantum Correctness by Construction (QbC): an approach to constructing quantum programs from their specification in a way that ensures correctness. We use pre- and postconditions to specify program properties, and propose a set of refinement rules to construct correct programs in a quantum while language. We validate QbC by constructing quantum programs for two idiomatic problems, teleportation and search, from their specification. We find that the approach naturally suggests how to derive program details, highlighting key design choices along the way. As such, we believe that QbC can play an important role in supporting the design and taxonomization of quantum algorithms and software.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/15/2023

Verification of Nondeterministic Quantum Programs

Nondeterministic choice is a useful program construct that provides a wa...
research
06/10/2023

ScaffML: A Quantum Behavioral Interface Specification Language for Scaffold

Ensuring the correctness of quantum programs is crucial for quantum soft...
research
03/15/2021

Efficient Construction of Functional Representations for Quantum Algorithms

Due to the significant progress made in the implementation of quantum ha...
research
04/29/2020

Compilation of Coordinated Choice

Recently, we have proposed coordinated choices, which are nondeterminist...
research
11/28/2022

Flexible Correct-by-Construction Programming

Correctness-by-Construction (CbC) is an incremental program construction...
research
12/05/2022

symQV: Automated Symbolic Verification of Quantum Programs

We present symQV, a symbolic execution framework for writing and verifyi...
research
08/01/2019

Quantum Temporal Logic

In this paper, we introduce a model of quantum concurrent program, which...

Please sign up or login with your details

Forgot password? Click here to reset