skip to main content
10.1145/3549036.3562055acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
research-article

Automatic generation of test circuits for the verification of Quantum deterministic algorithms

Published:09 November 2022Publication History

ABSTRACT

Quantum computing will make it possible to exponentially accelerate the performance of a wide range of computational problems, such as cryptography, machine learning or chemical simulation. However, the quantum potential is not only a matter of hardware, but also of software. Therefore, this new paradigm has an impact yet to be explored on software development processes and techniques, and the adaptation of classical software engineering to the new classical/quantum hybrid systems raises a number of important challenges: a new Quantum Software Engineering is therefore needed. Specifically, and focusing on quantum software quality, software verification remains an open research question, as its novelty and complexity make quantum software development a particularly error-prone process. Most current approaches to test-driven verification rely heavily on simulations, which is a problem due to the lack of scalability of simulators running on classical computers. To address this shortcoming, we define the concept of a "Quantum Test Case", and then present a method to test quantum circuits on real machines, without using simulation test functionalities such as amplitude calculation or non-destructive measurement. This is achieved by automatically generating a Quantum Test Case, which wraps the circuit under test and performs the verification. We also present the process to run a set of tests on a circuit with this method, along with an example to illustrate the technique.

References

  1. IEEE Standards Association et al. 2010. Iso/iec/ieee 24765: 2010 systems and software engineering-vocabulary. Iso/Iec/Ieee, 24765, 201025021. Google ScholarGoogle Scholar
  2. Gilles Barthe, Justin Hsu, Mingsheng Ying, Nengkun Yu, and Li Zhou. 2019. Google ScholarGoogle Scholar
  3. Relational proofs for quantum programs. arXiv preprint arXiv: 1901.05184. Google ScholarGoogle Scholar
  4. Antonia Bertolino. 2007. Software testing research: achievements, challenges, dreams. In Future of Software Engineering (FOSE'07). IEEE, 85-103. Google ScholarGoogle Scholar
  5. Adrian Cobb, Jean-Guy Schneider, and Kevin Lee. 2022. Towards higher-level abstractions for quantum computing. In Australasian Computer Science Week 2022, 115-124. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Edward Fredkin and Tommaso Tofoli. 1982. Conservative logic. International Journal of theoretical physics, 21, 3, 219-253. Google ScholarGoogle Scholar
  7. Antonio Garcıa de la Barrera, Ignacio Garcıa-Rodrıguez de Guzmán, Macario Polo, and Mario Piattini. 2021. Quantum software testing: state of the art. Google ScholarGoogle Scholar
  8. Journal of Software: Evolution and Process, e2419. Google ScholarGoogle Scholar
  9. Charles Antony Richard Hoare. 1969. An axiomatic basis for computer programming. Communications of the ACM, 12, 10, 576-580. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Luis Jiménez-Navajas, Ricardo Pérez-Castillo, and Mario Piattini. 2020. Reverse engineering of quantum programs toward kdm models. In International Conference on the Quality of Information and Communications Technology. Springer, 249-262. Google ScholarGoogle ScholarCross RefCross Ref
  11. Smita Krishnaswamy, Igor L Markov, and John P Hayes. 2007. Tracking uncertainty with probabilistic logic circuit testing. IEEE Design & Test of Computers, 24, 4, 312-321. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Daniel A Lidar and Haobin Wang. 1999. Calculating the thermal rate constant with exponential speedup on a quantum computer. Physical Review E, 59, 2, 2429. Google ScholarGoogle ScholarCross RefCross Ref
  13. Margaret Martonosi and Martin Roetteler. 2019. Next steps in quantum computing: computer science's role. arXiv preprint arXiv: 1903.10541. Google ScholarGoogle Scholar
  14. Andriy Miranskyy and Lei Zhang. 2019. On testing quantum programs. In 2019 IEEE/ACM 41st International Conference on Software Engineering : New Ideas and Emerging Results (ICSE-NIER). IEEE, 57-60. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Bappaditya Mondal, Chandan Bandyopadhyay, and Hafizur Rahaman. 2016. Google ScholarGoogle Scholar
  16. A testing scheme for mixed-control based reversible circuits. In 2016 Sixth International Symposium on Embedded Computing and System Design (ISED). Google ScholarGoogle Scholar
  17. IEEE, 96-100. Google ScholarGoogle Scholar
  18. Joyati Mondal and Debesh Kumar Das. 2022. A new online testing technique for reversible circuits. IET Quantum Communication, 3, 1, 50-59. Google ScholarGoogle ScholarCross RefCross Ref
  19. Michael A Nielsen and Isaac Chuang. 2002. Quantum computation and quantum information. ( 2002 ). Google ScholarGoogle Scholar
  20. Ketan N Patel, John P Hayes, and Igor L Markov. 2004. Fault testing for reversible circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 23, 8, 1220-1230. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Carlos A Pérez-Delgado and Hector G Perez-Gonzalez. 2020. Towards a quantum software modeling language. In Proceedings of the IEEE/ACM 42nd International Conference on Software Engineering Workshops, 442-444. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Robert Wille, Stefan Hillmich, and Lukas Burgholzer. 2022. Tools for quantum computing based on decision diagrams. ACM Transactions on Quantum Computing, 3, 3, Article 13, ( July 2022 ), 17 pages. doi: 10.1145/3491246. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Mingsheng Ying. 2019. Toward automatic verification of quantum programs. Google ScholarGoogle Scholar
  24. Formal Aspects of Computing, 31, 1, 3-25. Google ScholarGoogle Scholar
  25. Masoud Zamani, Mehdi B Tahoori, and Krishnendu Chakrabarty. 2012. Pingpong test: compact test vector generation for reversible circuits. In 2012 IEEE 30th VLSI Test Symposium (VTS). IEEE, 164-169. Google ScholarGoogle ScholarCross RefCross Ref
  26. Jianjun Zhao. 2020. Quantum software engineering: landscapes and horizons. Google ScholarGoogle Scholar
  27. arXiv preprint arXiv: 2007.07047. Google ScholarGoogle Scholar
  28. Li Zhou, Nengkun Yu, and Mingsheng Ying. 2019. An applied quantum hoare logic. In Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation, 1149-1162. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Automatic generation of test circuits for the verification of Quantum deterministic algorithms

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        QP4SE 2022: Proceedings of the 1st International Workshop on Quantum Programming for Software Engineering
        November 2022
        36 pages
        ISBN:9781450394581
        DOI:10.1145/3549036

        Copyright © 2022 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 9 November 2022

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Upcoming Conference

        FSE '24
      • Article Metrics

        • Downloads (Last 12 months)42
        • Downloads (Last 6 weeks)1

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader