An Automata-Based Framework for Verification and Bug Hunting in Qantum Circuits

被引:5
|
作者
Chen, Yu-Fang [1 ]
Chung, Kai-Min [1 ]
Lengal, Ondrej [2 ]
Lin, Jyun-Ao [3 ]
Tsai, Wei-Lun [1 ]
Yen, Di-De [4 ]
机构
[1] Acad Sinica, Inst Informat Sci, Taipei, Taiwan
[2] Brno Univ Technol, Fac Informat Technol, Brno, Czech Republic
[3] Acad Sinica, Taipei, Taiwan
[4] Max Planck Inst Software Syst, Saarbrucken, Germany
关键词
quantum circuits; tree automata; verification; EQUIVALENCE-CHECKING; QUANTUM; ALGORITHMS;
D O I
10.1145/3591270
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We introduce a new paradigm for analysing and finding bugs in quantum circuits. In our approach, the problem is given by a triple {P} C {Q} and the question is whether, given a set P of quantum states on the input of a circuit C, the set of quantum states on the output is equal to (or included in) a set Q. While this is not suitable to specify, e.g., functional correctness of a quantum circuit, it is sufficient to detect many bugs in quantum circuits. We propose a technique based on tree automata to compactly represent sets of quantum states and develop transformers to implement the semantics of quantum gates over this representation. Our technique computes with an algebraic representation of quantum states, avoiding the inaccuracy of working with floating-point numbers. We implemented the proposed approach in a prototype tool and evaluated its performance against various benchmarks from the literature. The evaluation shows that our approach is quite scalable, e.g., we managed to verify a large circuit with 40 qubits and 141,527 gates, or catch bugs injected into a circuit with 320 qubits and 1,758 gates, where all tools we compared with failed. In addition, our work establishes a connection between quantum program verification and automata, opening new possibilities to exploit the richness of automata theory and automata-based verification in the world of quantum computing.
引用
收藏
页数:26
相关论文
共 50 条
  • [1] An automata-based approach to CSCW verification
    Papadopoulos, C
    [J]. INTERNATIONAL JOURNAL OF COOPERATIVE INFORMATION SYSTEMS, 2004, 13 (02) : 183 - 209
  • [2] On the timed automata-based verification of Ravenscar systems
    Ober, Iulian
    Halbwachs, Nicolas
    [J]. RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE 2008, 2008, 5026 : 30 - +
  • [3] A Technique for Automata-based Verification with Residual Reasoning
    Azzopardi, Shaun
    Colombo, Christian
    Pace, Gordon
    [J]. PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD), 2020, : 237 - 248
  • [4] Symbolic string verification: An automata-based approach
    Yu, Fang
    Bultan, Tevfik
    Cova, Marco
    Ibarra, Oscar H.
    [J]. MODEL CHECKING SOFTWARE, PROCEEDINGS, 2008, 5156 : 306 - 324
  • [5] Automata-based verification of programs with tree updates
    Peter Habermehl
    Radu Iosif
    Tomáš Vojnar
    [J]. Acta Informatica, 2010, 47 : 1 - 31
  • [6] Automata-based verification of programs with tree updates
    Habermehl, Peter
    Iosif, Radu
    Vojnar, Tomas
    [J]. ACTA INFORMATICA, 2010, 47 (01) : 1 - 31
  • [7] Automata-based verification of programs with tree updates
    Habermehl, P
    Iosif, R
    Vojnar, T
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2006, 3920 : 350 - 364
  • [8] Dynamic Multi-Agent Systems: Conceptual Framework, Automata-Based Modelling and Verification
    Condurache, Rodica
    De Masellis, Riccardo
    Goranko, Valentin
    [J]. PRINCIPLES AND PRACTICE OF MULTI-AGENT SYSTEMS (PRIMA 2019), 2019, 11873 : 106 - 122
  • [9] Simulation framework for automata-based performance evaluation
    Trossen, D
    [J]. PROCEEDINGS OF 1999 SYMPOSIUM ON PERFORMANCE EVALUATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS, 1999, : 273 - 276
  • [10] Automata-based representations for arithmetic constraints in automated verification
    Bartzis, C
    Bultan, T
    [J]. IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2003, 2608 : 282 - 288