Efficient Construction of Functional Representations for Quantum Algorithms

  • Conference paper
  • First Online:
Reversible Computation (RC 2021)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 12805))

Included in the following conference series:

  • 486 Accesses

Abstract

Due to the significant progress made in the implementation of quantum hardware, efficient methods and tools to design corresponding algorithms become increasingly important. Many of these tools rely on functional representations of certain building blocks or even entire quantum algorithms which, however, inherently exhibit an exponential complexity. Although several alternative representations have been proposed to cope with this complexity, the construction of those representations remains a bottleneck. In this work, we propose solutions for efficiently constructing representations of quantum functionality based on the idea of conducting as many operations as possible on as small as possible intermediate representations—using Decision Diagrams as a representative functional description. Experimental evaluations show that applying these solutions allows to construct the desired representations several factors faster than with state-of-the-art methods. Moreover, if repeating structures (which frequently occur in quantum algorithms) are explicitly exploited, exponential improvements are possible—allowing to construct the functionality of certain algorithms within seconds, whereas the state of the art fails to construct it in an entire day.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    A complex-valued matrix U is unitary if \(U^\dag U = UU^\dag = \mathbb {I}\), where \(U^\dag \) denotes the conjugate transpose of U and \(\mathbb {I}\) the identity matrix.

  2. 2.

    The authors want to point out that this construction task is conceptionally different from and should not be confused with the classical simulation of quantum circuits which aims to calculate the resulting state vector for one particular input and not the complete functionality.

  3. 3.

    Different edge weights are indicated by dotted (\(\equiv \) negative) and/or colored (\(\equiv \) 1, , and  ) lines. This suffices to illustrate the evolution of the Decision Diagrams’ size, i.e., their node count.

  4. 4.

    Decision Diagram packages, e.g., typically employ a unique table where all nodes are stored [26]. Thus, even when multiple different Decision Diagrams are stored concurrently, sharing reduces the memory footprint considerably.

References

  1. Niemann, P., Wille, R., Drechsler, R.: Improved synthesis of Clifford\(+\)T quantum functionality. In: Design, Automation and Test in Europe, pp. 597–600 (2018)

    Google Scholar 

  2. Zulehner, A., Paler, A., Wille, R.: An efficient methodology for map** quantum circuits to the IBM QX architectures. IEEE Trans. CAD Integrated Circuits Syst. 38(7), 1226–1236 (2019)

    Article  Google Scholar 

  3. Zulehner, A., Wille, R.: Compiling SU(4) quantum circuits to IBM QX architectures. In: Asia and South Pacific Design Automation Conference, Tokyo, Japan, pp. 185–190 (2019)

    Google Scholar 

  4. Itoko, T., Raymond, R., Imamichi, T., Matsuo, A., Cross, A.W.: Quantum circuit compilers using gate commutation rules. In: Asia and South Pacific Design Automation Conference, pp. 191–196 (2019)

    Google Scholar 

  5. Smith, K.N., Thornton, M.A.: Quantum logic synthesis with formal verification. In: IEEE International Midwest Symposium Circuits System, pp. 73–76 (2019)

    Google Scholar 

  6. Zulehner, A., Wille, R.: Advanced simulation of quantum computations. IEEE Trans. CAD Integrated Circuits Syst. 38(5), 848–859 (2019)

    Article  Google Scholar 

  7. Pednault, E., Gunnels, J.A., Nannicini, G., Horesh, L., Wisnieff, R.: Leveraging secondary storage to simulate deep 54-qubit Sycamore circuits. ar**v:1910.09534 (2019)

  8. Villalonga, B., et al.: A flexible high-performance simulator for verifying and benchmarking quantum circuits implemented on real hardware. Npj Quantum Inf. 5(1), 1–16 (2019)

    Article  Google Scholar 

  9. Viamontes, G.F., Markov, I.L., Hayes, J.P.: Checking equivalence of quantum circuits and states. In: International Conference on CAD (2007)

    Google Scholar 

  10. Yamashita, S., Markov, I.L.: Fast equivalence-checking for quantum circuits. In: International Symposium on Nanoscale Architectures (2010)

    Google Scholar 

  11. Burgholzer, L., Raymond, R., Wille, R.: Verifying results of the IBM Qiskit quantum circuit compilation flow. ar**v: 2009.02376 [quant-ph] (2020)

  12. Burgholzer, L., Wille, R.: Advanced equivalence checking for quantum circuits. IEEE Trans. CAD Integrated Circuits Syst. PP(99), 1 (2021)

    Google Scholar 

  13. Aleksandrowicz, G., et al.: Qiskit: an open-source framework for quantum computing, Zenodo (2019)

    Google Scholar 

  14. Cirq: A python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits. https://github.com/quantumlib/Cirq

  15. Quantum Development Kit, Microsoft. https://microsoft.com/en-us/quantum/development-kit

  16. Gutiérrez, E., Romero, S., Trenas, M.A., Zapata, E.L.: Quantum computer simulation using the CUDA programming model. Comput. Phys. Commun. 181(2), 283–300 (2010)

    Article  MathSciNet  Google Scholar 

  17. Guerreschi, G.G., Hogaboam, J., Baruffa, F., Sawaya, N.P.D.: Intel Quantum Simulator: A cloud-ready high-performance simulator of quantum circuits. Quantum Sci. Technol. 5, 034 007 (2020)

    Google Scholar 

  18. Jones, T., Brown, A., Bush, I., Benjamin, S.C.: QuEST and high performance simulation of quantum computers. In Scientific Reports (2018)

    Google Scholar 

  19. Gheorghiu, V.: \(\text{Quantum}++\): a modern \(\text{ C }++\) quantum computing library. PLOS ONE 13(12) (2018)

    Google Scholar 

  20. Markov, I.L., Shi, Y.: Simulating quantum computation by contracting tensor networks. SIAM J. Comput. 38(3), 963–981 (2008)

    Article  MathSciNet  Google Scholar 

  21. Wang, D.S., Hill, C.D., Hollenberg, L.C.L.: Simulations of Shor’s algorithm using matrix product states. Quantum Inf. Process. 16(7), 176 (2017)

    Article  MathSciNet  Google Scholar 

  22. Biamonte, J.D., Bergholm, V.: Tensor networks in a nutshell (2017). ar**v: 1708.00006

  23. Kissinger, A., van de Wetering, J.: PyZX: large scale automated diagrammatic reasoning. Presented Quantum Phys. Logic 318, 229–241 (2019)

    MathSciNet  Google Scholar 

  24. Niemann, P., Wille, R., Miller, D.M., Thornton, M.A., Drechsler, R.: QMDDs: efficient quantum function representation and manipulation. IEEE Trans. CAD Integrated Circuits Syst. 35(1), 86–99 (2016)

    Article  Google Scholar 

  25. Wang, S.-A., Lu, C.-Y., Tsai, I.-M., Kuo, S.-Y.: An XQDD-based verification method for quantum circuits. In: IEICE Trans. Fundamentals, pp. 584–594 (2008)

    Google Scholar 

  26. Zulehner, A., Hillmich, S., Wille, R.: How to efficiently handle complex values? implementing decision diagrams for quantum computing. In: International Conference on CAD (2019)

    Google Scholar 

  27. Nielsen, M.A., Chuang, I.L.: Quantum Computation and Quantum Information. Cambridge University Press, Cambridge (2010)

    Book  Google Scholar 

  28. Shor, P.W.: Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM J. Comput. 26(5), 1484–1509 (1997)

    Article  MathSciNet  Google Scholar 

  29. Brassard, G., Høyer, P., Mosca, M., Tapp, A.: Quantum amplitude amplification and estimation. In: Quantum computation and information, ser. Contemp. Math. vol. 305 (2002)

    Google Scholar 

  30. Montanaro, A.: Quantum speedup of Monte Carlo methods. Proc. Royal Soc. A, 471 (2015)

    Google Scholar 

  31. Rebentrost, P., Gupt, B., Bromley, T.R.: Quantum computational finance: Monte Carlo pricing of financial derivatives. Phys. Rev. A 98, (2018)

    Google Scholar 

  32. Steiger, D.S., Häner, T., Troyer, M.: ProjectQ: an open source software framework for quantum computing. Quantum 2, 49 (2018)

    Article  Google Scholar 

  33. Zulehner, A., Wille, R.: Matrix-Vector vs. matrix-matrix multiplication: potential in DD-based simulation of quantum computations. In: Design, Automation and Test in Europe (2019)

    Google Scholar 

  34. Chi-Chung, L., Sadayappan, P., Wenger, R.: On optimizing a class of multidimensional loops with reduction for parallel execution. Parallel Process. Lett. 07(02), 157–168 (1997)

    Article  Google Scholar 

  35. Grover, L.K.: A fast quantum mechanical algorithm for database search. In: Proceedings of the ACM, pp. 212–219 (1996)

    Google Scholar 

  36. Douglas, B.L., Wang, J.B.: Efficient quantum circuit implementation of quantum walks. Phys. Rev. A 79(5), 052 335 (2009)

    Google Scholar 

  37. Kitaev, A.Y.: Quantum measurements and the abelian stabilizer problem. Electron. Colloq. Comput. Complex. 3(3), 22 (1996)

    Google Scholar 

  38. Wille, R., Hillmich, S., Burgholzer, L.: JKQ: JKU tools for quantum computing. In: International Conference on CAD (2020)

    Google Scholar 

Download references

Acknowledgments

This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No. 101001318). It has partially been supported by the LIT Secure and Correct Systems Lab funded by the State of Upper Austria as well as by the BMK, BMDW, and the State of Upper Austria in the frame of the COMET program (managed by the FFG).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lukas Burgholzer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Burgholzer, L., Raymond, R., Sengupta, I., Wille, R. (2021). Efficient Construction of Functional Representations for Quantum Algorithms. In: Yamashita, S., Yokoyama, T. (eds) Reversible Computation. RC 2021. Lecture Notes in Computer Science(), vol 12805. Springer, Cham. https://doi.org/10.1007/978-3-030-79837-6_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-79837-6_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-79836-9

  • Online ISBN: 978-3-030-79837-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics

Navigation