Local Reasoning About Probabilistic Behaviour for Classical-Quantum Programs

被引:0
|
作者
Deng, Yuxin [1 ]
Wu, Huiling [1 ]
Xu, Ming [1 ]
机构
[1] East China Normal Univ, Shanghai Key Lab Trustworthy Comp, Shanghai, Peoples R China
基金
中国国家自然科学基金;
关键词
Quantum computing; Program verification; Hoare logic; Separation logic; Local reasoning; SEMANTICS;
D O I
10.1007/978-3-031-50521-8_8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Verifying the functional correctness of programs with both classical and quantum constructs is a challenging task. The presence of probabilistic behaviour entailed by quantum measurements and unbounded while loops complicate the verification task greatly. We propose a new quantum Hoare logic for local reasoning about probabilistic behaviour by introducing distribution formulas to specify probabilistic properties. We show that the proof rules in the logic are sound with respect to a denotational semantics. To demonstrate the effectiveness of the logic, we formally verify the correctness of non-trivial quantum algorithms including the HHL and Shor's algorithms.
引用
收藏
页码:163 / 184
页数:22
相关论文
共 50 条
  • [1] REASONING ABOUT PROBABILISTIC PARALLEL PROGRAMS
    RAO, JR
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1994, 16 (03): : 798 - 842
  • [2] Reasoning about Recursive Probabilistic Programs
    Olmedo, Federico
    Kaminski, Benjamin Lucien
    Katoen, Joost-Pieter
    Matheja, Christoph
    [J]. PROCEEDINGS OF THE 31ST ANNUAL ACM-IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2016), 2016, : 672 - 681
  • [3] Reasoning about probabilistic sequential programs
    Chadha, R.
    Cruz-Filipe, L.
    Mateus, P.
    Sernadas, A.
    [J]. THEORETICAL COMPUTER SCIENCE, 2007, 379 (1-2) : 142 - 165
  • [4] Reasoning about probabilistic sequential programs in a probabilistic logic
    Ying, MS
    [J]. ACTA INFORMATICA, 2003, 39 (05) : 315 - 389
  • [5] Reasoning about probabilistic sequential programs in a probabilistic logic
    M. Ying
    [J]. Acta Informatica, 2003, 39 : 315 - 389
  • [6] Reasoning about states of probabilistic sequential programs
    Chadha, R.
    Mateus, P.
    Sernadas, A.
    [J]. COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2006, 4207 : 240 - 255
  • [7] Developing and reasoning about probabilistic programs in pGCL
    McIver, Annabelle
    Morgan, Carroll
    [J]. REFINEMENT TECHNIQUES IN SOFTWARE ENGINEERING, 2006, 3167 : 123 - 155
  • [8] Classical-quantum semigroups
    Aniello, Paolo
    [J]. XXII INTERNATIONAL CONFERENCE ON INTEGRABLE SYSTEMS AND QUANTUM SYMMETRIES (ISQS-22), 2014, 563
  • [9] Reasoning About Imperative Quantum Programs
    Chadha, R.
    Mateus, P.
    Sernadas, A.
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 158 : 19 - 39
  • [10] Reasoning about faulty quantum programs
    Paolo Zuliani
    [J]. Acta Informatica, 2009, 46 : 403 - 432