Quantum Hoare Type Theory
Abstract
As quantum computers become real, it is high time we come up with effective techniques that help programmers write correct quantum programs. Inspired by Hoare Type Theory in classical computing, we propose Quantum Hoare Type Theory (QHTT), in which precise specifications about the modification to the quantum state can be provided within the type of computation. These specifications within a Hoare type are given in the form of Hoare-logic style pre- and postconditions following the propositions-as-types principle. The type-checking process verifies that the implementation conforms to the provided specification. QHTT has the potential to be a unified system for programming, specifying, and reasoning about quantum programs.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2020
- DOI:
- arXiv:
- arXiv:2012.02154
- Bibcode:
- 2020arXiv201202154S
- Keywords:
-
- Computer Science - Programming Languages;
- Computer Science - Emerging Technologies;
- Computer Science - Logic in Computer Science;
- Quantum Physics;
- F.3.1;
- D.1.1;
- D.2.4;
- D.3.1;
- F.4.1
- E-Print:
- UChicago CS master's paper. 34 pages, 12 code listings. Preliminary version accepted at QPL'20: arXiv:2109.02198