Quantum Hoare Type Theory: Extended Abstract

被引:2
|
作者
Singhal, Kartik [1 ]
Reppy, John [1 ]
机构
[1] Univ Chicago, Chicago, IL 60637 USA
关键词
D O I
10.4204/EPTCS.340.15
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
As quantum computers become real, it is high time we come up with effective techniques that help programmers write correct quantum programs. In classical computing, formal verification and sound static type systems prevent several classes of bugs from being introduced. There is a need for sim-ilar techniques in the quantum regime. Inspired by Hoare Type Theory [NMB08] in the classical paradigm, we propose Quantum Hoare Types by extending the Quantum IO Monad [AG09] by in-dexing it with pre-and postconditions that serve as program specifications. In this paper, we intro-duce Quantum Hoare Type Theory (QHTT), present its syntax and typing rules, and demonstrate its effectiveness with the help of examples.QHTT has the potential to be a unified system for programming, specifying, and reasoning about quantum programs. This is a work in progress.1
引用
收藏
页码:291 / 302
页数:12
相关论文
共 50 条
  • [1] Abstract predicates and mutable ADTs in hoare type theory
    Nanevski, Aleksandar
    Ahmed, Amal
    Morrisett, Greg
    Birkedal, Lars
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2007, 4421 : 189 - +
  • [2] A Royal Road to Quantum Theory (or Thereabouts) Extended Abstract
    Wilce, Alexander
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2017, (236): : 245 - 254
  • [3] Quantum Set Theory Extending the Standard Probabilistic Interpretation of Quantum Theory (Extended Abstract)
    Ozawa, Masanao
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2014, (172): : 15 - 26
  • [4] A type theory for cartesian closed bicategories (Extended Abstract)
    Fiore, Marcelo
    Saville, Philip
    [J]. 2019 34TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2019,
  • [5] Analysis of a guard condition in type theory (extended abstract)
    Amadio, RM
    Coupet-Grimal, S
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, 1998, 1378 : 48 - 62
  • [6] Type theory via exact categories extended abstract
    Birkedal, L
    Carboni, A
    Rosolini, G
    Scott, DS
    [J]. THIRTEENTH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1998, : 188 - 198
  • [7] Abstract interpretation, Hoare logic, and incorrectness logic for quantum programs
    Feng, Yuan
    Li, Sanjiang
    [J]. INFORMATION AND COMPUTATION, 2023, 294
  • [8] Hoare logic in the abstract
    Martin, Ursula
    Mathiesen, Erik A.
    Oliva, Paulo
    [J]. COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2006, 4207 : 501 - 515
  • [9] Polymorphism and separation in Hoare Type Theory
    Nanevski, Aleksandar
    Morrisett, Greg
    Birkedal, Lars
    [J]. ACM SIGPLAN NOTICES, 2006, 41 (09) : 62 - 73
  • [10] Hoare type theory, polymorphism and separation
    Nanevski, Aleksandar
    Morrisett, Greg
    Birkedal, Lars
    [J]. JOURNAL OF FUNCTIONAL PROGRAMMING, 2008, 18 : 865 - 911