An Applied Quantum Hoare Logic

被引:33
作者
Zhou, Li [1 ]
Yu, Nengkun [2 ]
Ying, Mingsheng [2 ,3 ,4 ]
机构
[1] Tsinghua Univ, Dept Comp Sci & Technol, Beijing, Peoples R China
[2] Univ Technol Sydney, CQSI, FEIT, Sydney, NSW, Australia
[3] Chinese Acad Sci, Inst Software, Beijing, Peoples R China
[4] Tsinghua Univ, Beijing, Peoples R China
来源
PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19) | 2019年
基金
澳大利亚研究理事会; 中国国家自然科学基金; 国家重点研发计划;
关键词
Quantum computation; programming languages; Hoare logic; projections; robustness;
D O I
10.1145/3314221.3314584
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We derive a variant of quantum Hoare logic (QHL), called applied quantum Hoare logic (aQHL for short), by: (1) restricting QHL to a special class of preconditions and postconditions, namely projections, which can significantly simplify verification of quantum programs and are much more convenient when used in debugging and testing; and (2) adding several rules for reasoning about robustness of quantum programs, i.e. error bounds of outputs. The effectiveness of aQHL is shown by its applications to verify two sophisticated quantum algorithms: HHL (Harrow-Hassidim-Lloyd) for solving systems of linear equations and qPCA (quantum Principal Component Analysis).
引用
收藏
页码:1149 / 1162
页数:14
相关论文
共 40 条