Algorithmic Analysis of Termination Problems for Quantum Programs

被引:2
作者
Li, Yangjia [1 ]
Ying, Mingsheng [1 ,2 ,3 ]
机构
[1] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100190, Peoples R China
[2] Univ Technol Sydney, Sydney, NSW, Australia
[3] Tsinghua Univ, Beijing 100084, Peoples R China
来源
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL | 2018年 / 2卷 / POPL期
基金
中国国家自然科学基金; 澳大利亚研究理事会;
关键词
Quantum programming; termination; ranking function; super-martingale; SDP (Semi-Definite Programming); quantum random walk; quantum Bernoulli factory;
D O I
10.1145/3158123
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We introduce the notion of linear ranking super-martingale (LRSM) for quantum programs (with nondeterministic choices, namely angelic and demonic choices). Several termination theorems are established showing that the existence of the LRSMs of a quantum program implies its termination. Thus, the termination problems of quantum programs is reduced to realisability and synthesis of LRSMs. We further show that the realisability and synthesis problem of LRSMs for quantum programs can be reduced to an SDP (Semi-Definite Programming) problem, which can be settled with the existing SDP solvers. The techniques developed in this paper are used to analyse the termination of several example quantum programs, including quantum random walks and quantum Bernoulli factory for random number generation. This work is essentially a generalisation of constraint-based approach to the corresponding problems for probabilistic programs developed in the recent literature by adding two novel ideas: (1) employing the fundamental Gleason's theorem in quantum mechanics to guide the choices of templates; and (2) a generalised Farkas' lemma in terms of observables (Hermitian operators) in quantum physics.
引用
收藏
页数:29
相关论文
共 54 条
  • [1] Aharonov D., 2001, P 33 ACM S THEORY CO, P50, DOI [10.1145/380752.380758, DOI 10.1145/380752.380758]
  • [2] Altenkirch T, 2005, IEEE S LOG, P249
  • [3] LQP: the dynamic logic of quantum information
    Baltag, Alexandru
    Smets, Sonja
    [J]. MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2006, 16 (03) : 491 - 525
  • [4] Quantum partially observable Markov decision processes
    Barry, Jennifer
    Barry, Daniel T.
    Aaronson, Scott
    [J]. PHYSICAL REVIEW A, 2014, 90 (03):
  • [5] Bournez O, 2005, LECT NOTES COMPUT SC, V3467, P323
  • [6] Bradley AR, 2005, LECT NOTES COMPUT SC, V3576, P491
  • [7] Dynamic quantum logic for quantum programs
    Brunet, O
    Jorrand, P
    [J]. INTERNATIONAL JOURNAL OF QUANTUM INFORMATION, 2004, 2 (01) : 45 - 54
  • [8] Reasoning About Imperative Quantum Programs
    Chadha, R.
    Mateus, P.
    Sernadas, A.
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 158 : 19 - 39
  • [9] Chakarov Aleksandar, 2013, Computer Aided Verification. 25th International Conference, CAV 2013. Proceedings. LNCS 8044, P511, DOI 10.1007/978-3-642-39799-8_34
  • [10] Algorithmic Analysis of Qualitative and Quantitative Termination Problems for Affine Probabilistic Programs
    Chatterjee, Krishnendu
    Fu, Hongfei
    Novotny, Petr
    Hasheminezhad, Rouzbeh
    [J]. ACM SIGPLAN NOTICES, 2016, 51 (01) : 327 - 342