An applied quantum Hoare logic

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).

[1]  H. Dishkant,et al.  Logic of Quantum Mechanics , 1976 .

[2]  Shaopeng Zhu,et al.  Quantitative robustness analysis of quantum programs , 2018, Proc. ACM Program. Lang..

[3]  Rohit Chadha,et al.  Reasoning About Imperative Quantum Programs , 2006, MFPS.

[4]  Prakash Panangaden,et al.  Quantum weakest preconditions , 2005, Mathematical Structures in Computer Science.

[5]  Robert Rand,et al.  Verification Logics for Quantum Programs , 2019, ArXiv.

[6]  Martin Rötteler,et al.  Q#: Enabling Scalable Quantum Computing and Development with a High-level DSL , 2018, RWDSL2018.

[7]  M. Ying,et al.  Semantic Techniques in Quantum Computation: Predicate Transformer Semantics of Quantum Programs , 2009 .

[8]  Sumit Gulwani,et al.  Proving programs robust , 2011, ESEC/FSE '11.

[9]  Olivier Brunet,et al.  Dynamic Quantum Logic for Quantum Programs , 2003 .

[10]  Benoît Valiron,et al.  Quipper: a scalable quantum programming language , 2013, PLDI.

[11]  Chen-Fu Chiang,et al.  Scaffold: Quantum Programming Language , 2012 .

[12]  Simon J. Gay,et al.  Quantum Programming Languages Survey and Bibliography , 2006 .

[13]  Dominique Unruh,et al.  Quantum relational Hoare logic , 2018, Proc. ACM Program. Lang..

[14]  Yoshihiko Kakutani,et al.  A Logic for Formal Verification of Quantum Programs , 2009, ASIAN.

[15]  Ashley Montanaro,et al.  On Exact Quantum Query Complexity , 2011, Algorithmica.

[16]  Yuan Feng,et al.  Proof rules for the correctness of quantum programs , 2007, Theor. Comput. Sci..

[17]  Sumit Gulwani,et al.  Continuity analysis of programs , 2010, POPL '10.

[18]  Mingsheng Ying,et al.  Algorithmic analysis of termination problems for quantum programs , 2017, Proc. ACM Program. Lang..

[19]  Peter Selinger,et al.  A Brief Survey of Quantum Programming Languages , 2004, FLOPS.

[20]  Li Zhou,et al.  Coupling Techniques for Reasoning about Quantum Programs , 2019, ArXiv.

[21]  S. Lloyd,et al.  Quantum principal component analysis , 2013, Nature Physics.

[22]  Peter Selinger,et al.  Towards a quantum programming language , 2004, Mathematical Structures in Computer Science.

[23]  Mingsheng Ying,et al.  Foundations of Quantum Programming , 2016 .

[24]  A. Harrow,et al.  Quantum algorithm for linear systems of equations. , 2008, Physical review letters.

[25]  Mingsheng Ying,et al.  Floyd--hoare logic for quantum programs , 2011, TOPL.

[26]  Andris Ambainis,et al.  Superlinear advantage for exact quantum algorithms , 2012, STOC '13.

[27]  Tao Liu,et al.  A Theorem Prover for Quantum Hoare Logic and Its Applications , 2016, ArXiv.

[28]  Xiaodi Wu,et al.  Invariants of quantum programs: characterisations and generation , 2017, POPL.

[29]  Jeff W. Sanders,et al.  Quantum Programming , 2000, MPC.

[30]  C. A. R. Hoare,et al.  ViewpointRetrospective: an axiomatic basis for computer programming , 2009, CACM.

[31]  Jonathan Grattage A functional quantum programming language , 2005, 20th Annual IEEE Symposium on Logic in Computer Science (LICS' 05).

[32]  Alexandru Baltag,et al.  LQP: the dynamic logic of quantum information , 2006, Mathematical Structures in Computer Science.

[33]  Jennifer Paykin,et al.  QWIRE: a core language for quantum circuits , 2017, POPL.

[34]  Andreas J. Winter,et al.  Coding theorem and strong converse for quantum channels , 1999, IEEE Trans. Inf. Theory.

[35]  Alexandru Baltag,et al.  The Logic of Quantum Programs , 2004, ArXiv.