Abstract interpretation, Hoare logic, and incorrectness logic for quantum programs

被引:4
|
作者
Feng, Yuan [1 ]
Li, Sanjiang [1 ]
机构
[1] Univ Technol Sydney, Ctr Quantum Software & Informat, Ultimo, Australia
基金
澳大利亚研究理事会;
关键词
Quantum programming; Abstract interpretation; Incorrectness logic;
D O I
10.1016/j.ic.2023.105077
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
interpretation, Hoare logic, and incorrectness (or reverse Hoare) logic are powerful techniques for static analysis of computer programs. They have all been successfully extended to the quantum setting, but developed largely in parallel. This paper explores the relationship between these techniques in the context of verifying quantum whileprograms, where the abstract domain and the set of assertions for quantum states are wellstructured. We show that any complete quantum abstract interpretation induces a quantum Hoare logic and a quantum incorrectness logic, both being sound and relatively complete. Moreover, the induced logic systems operate in a forward manner, making them more suitable for certain applications. Conversely, any sound and relatively complete quantum Hoare logic or incorrectness logic induces a complete quantum abstract interpretation. As an application, we show the non-existence of any sound and relatively complete quantum Hoare logic or incorrectness logic if tuples of local subspaces are taken as assertions. & COPY; 2023 Elsevier Inc. All rights reserved.
引用
收藏
页数:22
相关论文
共 50 条
  • [21] Generalized semantics and abstract interpretation for constraint logic programs
    Giacobazzi, R
    Debray, SK
    Levi, G
    JOURNAL OF LOGIC PROGRAMMING, 1995, 25 (03): : 191 - 247
  • [22] BOTTOM-UP ABSTRACT INTERPRETATION OF LOGIC PROGRAMS
    CODISH, M
    DAMS, D
    YARDENI, E
    THEORETICAL COMPUTER SCIENCE, 1994, 124 (01) : 93 - 125
  • [23] Hoare-Style Logic for Unstructured Programs
    Lundberg, Didrik
    Guanciale, Roberto
    Lindner, Andreas
    Dam, Mads
    SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2020, 2020, 12310 : 193 - 213
  • [24] Quantum Hoare Logic with Ghost Variables
    Unruh, Dominique
    2019 34TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2019,
  • [25] Quantum Hoare Logic with Classical Variables
    Feng, Yuan
    Ying, Mingsheng
    ACM TRANSACTIONS ON QUANTUM COMPUTING, 2021, 2 (04):
  • [26] AN ABSTRACT INTERPRETATION SCHEME FOR IDENTIFYING INHERENT PARALLELISM IN LOGIC PROGRAMS
    BANSAL, AK
    STERLING, LS
    NEW GENERATION COMPUTING, 1990, 7 (2-3) : 273 - 324
  • [27] A framework for the integration of partial evaluation and abstract interpretation of logic programs
    Leuschel, M
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2004, 26 (03): : 413 - 463
  • [28] Incorrectness Logic
    O'Hearn, Peter W.
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (POPL):
  • [29] PROPAGATION - A NEW OPERATION IN A FRAMEWORK FOR ABSTRACT INTERPRETATION OF LOGIC PROGRAMS
    BRUYNOOGHE, M
    JANSSENS, G
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 649 : 294 - 307
  • [30] An optimized incremental attribute algorithm for the abstract interpretation of logic programs
    Barbar, K
    Musumbu, K
    INTELLIGENT SYSTEMS, 1997, : 140 - 143