Algebraic Reasoning of Quantum Programs via Non-Idempotent Kleene Algebra

10/13/2021
by   Yuxiang Peng, et al.
0

We investigate the algebraic reasoning of quantum programs inspired by the success of classical program analysis based on Kleene algebra. One prominent example of such is the famous Kleene Algebra with Tests (KAT), which has furnished both theoretical insights and practical tools. The succinctness of algebraic reasoning would be especially desirable for scalable analysis of quantum programs, given the involvement of exponential-size matrices in most of the existing methods. A few key features of KAT including the idempotent law and the nice properties of classical tests, however, fail to hold in the context of quantum programs due to their unique quantum features, especially in branching. We propose the Non-idempotent Kleena Algebra (NKA) as a natural alternative and identify complete and sound semantic models for NKA as well as their appropriate quantum interpretations. In light of applications of KAT, we are able to demonstrate algebraic proofs in NKA of quantum compiler optimization and the normal form of quantum while-programs. Moreover, we extend NKA with Tests (i.e., NKAT), where tests model quantum predicates following the rules of effect algebra, and illustrate how to encode propositional quantum Hoare logic as NKAT theorems.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/01/2023

Kleene Algebra With Tests for Weighted Programs

Weighted programs generalize probabilistic programs and offer a framewor...
research
01/26/2023

A Complete Inference System for Skip-free Guarded Kleene Algebra with Tests

Guarded Kleene Algebra with Tests (GKAT) is a fragment of Kleene Algebra...
research
04/12/2021

Quantum protocols at presence of non-abelian superselection rules in the framework of algebraic model

In this paper, we study the influence of non-abelian superselection rule...
research
11/04/2019

Generalising KAT to verify weighted computations

Kleene algebra with tests (KAT) was introduced as an algebraic structure...
research
11/06/2018

Quantum Reasoning using Lie Algebra for Everyday Life (and AI perhaps...)

We investigate the applicability of the formalism of quantum mechanics t...
research
01/06/2020

An extended quantum process algebra (eQPAlg) approach for distributed quantum systems

In this work, we have expounded the communication procedure of quantum s...
research
04/13/2021

Gleipnir: Toward Practical Error Analysis for Quantum Programs (Extended Version)

Practical error analysis is essential for the design, optimization, and ...

Please sign up or login with your details

Forgot password? Click here to reset