skip to main content
10.1145/3445814.3446750acmconferencesArticle/Chapter ViewAbstractPublication PagesasplosConference Proceedingsconference-collections

Logical abstractions for noisy variational Quantum algorithm simulation

Published:17 April 2021Publication History

ABSTRACT

Due to the unreliability and limited capacity of existing quantum computer prototypes, quantum circuit simulation continues to be a vital tool for validating next generation quantum computers and for studying variational quantum algorithms, which are among the leading candidates for useful quantum computation. Existing quantum circuit simulators do not address the common traits of variational algorithms, namely: 1) their ability to work with noisy qubits and operations, 2) their repeated execution of the same circuits but with different parameters, and 3) the fact that they sample from circuit final wavefunctions to drive a classical optimization routine. We present a quantum circuit simulation toolchain based on logical abstractions targeted for simulating variational algorithms. Our proposed toolchain encodes quantum amplitudes and noise probabilities in a probabilistic graphical model, and it compiles the circuits to logical formulas that support efficient repeated simulation of and sampling from quantum circuits for different parameters. Compared to state-of-the-art state vector and density matrix quantum circuit simulators, our simulation approach offers greater performance when sampling from noisy circuits with at least eight to 20 qubits and with around 12 operations on each qubit, making the approach ideal for simulating near-term variational quantum algorithms. And for simulating noise-free shallow quantum circuits with 32 qubits, our simulation approach offers a 66× reduction in sampling cost versus quantum circuit simulation techniques based on tensor network contraction.

References

  1. 1642293.1642501 Mark Chavira and Adnan Darwiche. 2006. Encoding CNFs to Empower Com-Google ScholarGoogle Scholar
  2. ponent Analysis. In Theory and Applications of Satis ability Testing-SAT 2006,Google ScholarGoogle Scholar
  3. delberg, 61-74. Mark Chavira and Adnan Darwiche. 2008. On Probabilistic Inference by WeightedGoogle ScholarGoogle Scholar
  4. Model Counting. Artif. Intell. 172, 6-7 ( April 2008 ), 772-799. https://doi.org/10.Google ScholarGoogle Scholar
  5. 1016/j.artint. 2007. 11. 002 Siddhartha Chib and Edward Greenberg. 1995. Understanding the Metropolis-Google ScholarGoogle Scholar
  6. Hastings algorithm. The american statistician 49, 4 ( 1995 ), 327-335. YooJung Choi, Antonio Vergari, and Guy Van den Broeck. 2020. ProbabilisticGoogle ScholarGoogle Scholar
  7. Circuits: A Unifying Framework for Tractable Probabilistic Models. ( 2020 ). John F. Clauser, Michael A. Horne, Abner Shimony, and Richard A. Holt. 1969.Google ScholarGoogle Scholar
  8. Proposed Experiment to Test Local Hidden-Variable Theories. Phys. Rev. Lett. 23Google ScholarGoogle Scholar
  9. (Oct 1969 ), 880-884. Issue 15. https://doi.org/10.1103/PhysRevLett.23. 880 Andrew W. Cross, Lev S. Bishop, Sarah Sheldon, Paul D. Nation, and Jay M.Google ScholarGoogle Scholar
  10. Gambetta. 2019. Validating quantum computers using randomized model circuits.Google ScholarGoogle Scholar
  11. Phys. Rev. A 100 ( Sep 2019 ), 032328. Issue 3. https://doi.org/10.1103/PhysRevA. Google ScholarGoogle ScholarCross RefCross Ref
  12. 100.032328 Adnan Darwiche. 2002. A Logical Approach to Factoring Belief Networks. InGoogle ScholarGoogle Scholar
  13. Representation and Reasoning (Toulouse, France) (KR'02). Morgan KaufmannGoogle ScholarGoogle Scholar
  14. Publishers Inc., San Francisco, CA, USA, 409-420. http://dl.acm.org/citation.Google ScholarGoogle Scholar
  15. cfm?id=3087093.3087128 Adnan Darwiche. 2003. A Di erential Approach to Inference in Bayesian Net-Google ScholarGoogle Scholar
  16. works. J. ACM 50, 3 (May 2003 ), 280-305. https://doi.org/10.1145/765568.765570 Adnan Darwiche. 2009. Modeling and Reasoning with Bayesian Networks (1st ed.).Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Cambridge University Press, New York, NY, USA. Adnan Darwiche and Pierre Marquis. 2002. A knowledge compilation map.Google ScholarGoogle Scholar
  18. Journal of Arti cial Intelligence Research 17 ( 2002 ), 229-264. D. Deutsch. 1989. Quantum Computational Networks. Proceedings of the RoyalGoogle ScholarGoogle Scholar
  19. Society of London. Series A, Mathematical and Physical Sciences 425, 1868 ( 1989 ),Google ScholarGoogle Scholar
  20. 73-90. http://www.jstor.org/stable/2398494 David Deutsch and Richard Jozsa. 1992. Rapid Solution of Problems by QuantumGoogle ScholarGoogle Scholar
  21. Computation. Proceedings of the Royal Society of London Series A 439, 1907 (Dec.Google ScholarGoogle Scholar
  22. 1992 ), 553-558. https://doi.org/10.1098/rspa. 1992. 0167 Edward Farhi, Je rey Goldstone, and Sam Gutmann. 2014. A Quantum Approxi-Google ScholarGoogle Scholar
  23. mate Optimization Algorithm. arXiv e-prints, Article arXiv:1411.4028 (Nov 2014 ),Google ScholarGoogle Scholar
  24. arXiv:1411.4028 pages. arXiv:1411.4028 [quant-ph] Edward Farhi and Aram W Harrow. 2016. Quantum Supremacy through theGoogle ScholarGoogle Scholar
  25. Quantum Approximate Optimization Algorithm. arXiv:1602.07674 [quant-ph] Richard Phillips Feynman. 2006. QED: The strange theory of light and matter.Google ScholarGoogle Scholar
  26. Princeton University Press. E. Schuyler Fried, Nicolas P. D. Sawaya, Yudong Cao, Ian D. Kivlichan, JhonathanGoogle ScholarGoogle Scholar
  27. Romero, Alán Aspuru-Guzik, and Itay Hen, ed. 2018. qTorch: The quantum tensorGoogle ScholarGoogle Scholar
  28. contraction handler. PLoS ONE 13, 12 (12 2018 ). https://doi.org/10.1371/journal. Google ScholarGoogle ScholarCross RefCross Ref
  29. pone. 0208510 Lov K. Grover. 1996. A Fast Quantum Mechanical Algorithm for DatabaseGoogle ScholarGoogle Scholar
  30. Computing (Philadelphia, Pennsylvania, USA) ( STOC '96). ACM, New York, NY,Google ScholarGoogle Scholar
  31. USA, 212-219. https://doi.org/10.1145/237814.237866 Lov K. Grover. 2001. From Schrödinger's equation to the quantum search algo-Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. rithm. American Journal of Physics 69, 7 ( 2001 ), 769-777. https://doi.org/10.1119/Google ScholarGoogle ScholarCross RefCross Ref
  33. 1.1359518 arXiv:https://doi.org/10.1119/1.1359518 Aram W. Harrow and Ashley Montanaro. 2017. Quantum computationalGoogle ScholarGoogle Scholar
  34. supremacy. Nature 549 ( 13 09 2017 ), 203 EP-. https://doi.org/10.1038/nature23458 Joe Henson, Raymond Lal, and Matthew F Pusey. 2014. Theory-independentGoogle ScholarGoogle Scholar
  35. 16, 11 (nov 2014 ), 113043. https://doi.org/10.1088/ 1367-2630/16/11/113043 Steven Holtzen, Todd Millstein, and Guy Van den Broeck. 2019. GeneratingGoogle ScholarGoogle Scholar
  36. and Sampling Orbits for Lifted Probabilistic Inference. In Proceedings of the 35thGoogle ScholarGoogle Scholar
  37. Conference on Uncertainty in Arti cial Intelligence (UAI). Steven Holtzen, Guy Van den Broeck, and Todd Millstein. 2020. Scaling Exact In-Google ScholarGoogle Scholar
  38. ( 2020 ). https://doi.org/10.1145/342820 Hsin-Yuan Huang, Kishor Bharti, and Patrick Rebentrost. 2019. Near-term quan-Google ScholarGoogle Scholar
  39. tum algorithms for linear systems of equations. arXiv: 1909.07344 [quant-ph ] Yipeng Huang and Margaret Martonosi. 2019. QDB: From Quantum AlgorithmsGoogle ScholarGoogle Scholar
  40. Towards Correct Quantum Programs. In 9th Workshop on Evaluation and UsabilityGoogle ScholarGoogle Scholar
  41. of Programming Languages and Tools (PLATEAU 2018 ) (OpenAccess Series inGoogle ScholarGoogle Scholar
  42. Informatics (OASIcs), Vol. 67 ), Titus Barik, Joshua Sunshine, and Sarah ChasinsGoogle ScholarGoogle Scholar
  43. 4 : 1-4 : 14. https://doi.org/10.4230/OASIcs.PLATEAU. 2018. 4 Yipeng Huang and Margaret Martonosi. 2019. Statistical Assertions for ValidatingGoogle ScholarGoogle Scholar
  44. Patterns and Finding Bugs in Quantum Programs. In Proceedings of the 46thGoogle ScholarGoogle Scholar
  45. International Symposium on Computer Architecture (Phoenix, AZ) (ISCA '19). Phillip Kaye, Raymond La amme, and Michele Mosca. 2007. An Introduction toGoogle ScholarGoogle Scholar

Index Terms

  1. Logical abstractions for noisy variational Quantum algorithm simulation

            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
              ASPLOS '21: Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems
              April 2021
              1090 pages
              ISBN:9781450383172
              DOI:10.1145/3445814

              Copyright © 2021 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 ACM 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: 17 April 2021

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • research-article

              Acceptance Rates

              Overall Acceptance Rate535of2,713submissions,20%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader