Skip to main content

Decision Diagrams for Quantum Computing

  • Chapter
  • First Online:
Design Automation of Quantum Computers

Abstract

Quantum computing promises to solve some important problems faster than conventional computations ever could. Currently available NISQ devices on which first practical applications are already executed demonstrate the potential—with future fault-tolerant quantum hardware for more demanding applications on the horizon. Nonetheless, the advantages in computing power come with challenges to be addressed in the design automation and software development community. In particular, non-quantum representations of states and operations, which provide the basis, e.g., for quantum circuit simulation or verification, require an exponential amount of memory. We propose to use decision diagrams as data structure to conquer the exponential memory requirements in many cases. In this chapter, we review the fundamentals on decision diagrams and highlight their applicability in the tasks of quantum circuit simulation with and without errors as well as in verification of quantum circuits. The tools presented here are all available online as open source projects.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 99.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The terminology most significant qubit refers to a position in the basis states of a quantum system and does not signify the importance of the qubit itself.

  2. 2.

    This does not limit the applicability of the following findings, since arbitrary single-qubit operations combined with CNOT form a universal gate-set [43].

References

  1. J. Preskill, Quantum computing in the NISQ era and beyond. Quantum 2, 79 (2018)

    Article  Google Scholar 

  2. R.E. Bryant, Graph-based algorithms for Boolean function manipulation. IEEE Trans. Comput. C-35(8), 677–691 (1986)

    Article  MATH  Google Scholar 

  3. R.E. Bryant, Y.-A. Chen, Verification of arithmetic circuits using binary moment diagrams. Softw. Tools Tech. Transfer 3(2), 137–155 (2001)

    Article  MATH  Google Scholar 

  4. S. Minato, Zero-suppressed BDDs for set manipulation in combinatorial problems, in Design Automation Conf., 1993, pp. 272–277

    Google Scholar 

  5. T. van Dijk, R. Wille, R. Meolic, Tagged BDDs: Combining reduction rules from different decision diagram types, in Int’l Conf. on Formal Methods in CAD, 2017, pp. 108–115

    Google Scholar 

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

    Google Scholar 

  7. A. Abdollahi, M. Pedram, Analysis and synthesis of quantum circuits by using quantum decision diagrams, in Design, Automation and Test in Europe, 2006

    Google Scholar 

  8. G.F. Viamontes, I.L. Markov, J.P Hayes, High-performance QuIDD-Based simulation of quantum circuits, in Design, Automation and Test in Europe, 2004

    Google Scholar 

  9. D. Miller, M. Thornton, QMDD: A decision diagram structure for reversible and quantum circuits, in Int’l Symp. on Multi-Valued Logic, 2006

    Google Scholar 

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

    Article  Google Scholar 

  11. S. Hillmich, I.L. Markov, R. Wille, Just like the real thing: Fast weak simulation of quantum computation, in Design Automation Conf., 2020

    Google Scholar 

  12. R. Wille, L. Burgholzer, M. Artner, Visualizing decision diagrams for quantum computing, in Design, Automation and Test in Europe, 2021

    Google Scholar 

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

    Article  Google Scholar 

  14. S. Hillmich, I.L. Markov, R. Wille, Just like the real thing: Fast weak simulation of quantum computation, in Design Automation Conf., 2020

    Google Scholar 

  15. T. Grurl, J. Fuß, R. Wille, Considering decoherence errors in the simulation of quantum circuits using decision diagrams, in Int’l Conf. on CAD, 2020

    Google Scholar 

  16. T. Grurl, R. Kueng, J. Fuß, R. Wille, Stochastic quantum circuit simulation using decision diagrams, in Design, Automation and Test in Europe, 2021

    Google Scholar 

  17. S.S. Tannu, M.K. Qureshi, Not all qubits are created equal: A case for variability-aware policies for NISQ-era quantum computers, in Int’l Conf. on Architectural Support for Programming Languages and Operating Systems, 2019, pp. 987–999

    Google Scholar 

  18. N. Khammassi, I. Ashraf, X. Fu, C.G. Almudéver, K. Bertels, QX: A high-performance quantum computer simulation platform, in Design, Automation and Test in Europe, ed. by D. Atienza, G.D. Natale, 2017, pp. 464–469

    Google Scholar 

  19. H. Abraham, et al. Qiskit: An Open-Source Framework for Quantum Computing (2019)

    Google Scholar 

  20. M.A. Nielsen, I.L. Chuang, Quantum Computation and Quantum Information (10th Anniversary edition) (Cambridge University Press, 2016)

    Google Scholar 

  21. J. Gambetta, S. Sheldon, Cramming More Power into a Quantum Device https://www.ibm.com/blogs/research/2019/03/power-quantum-device/, Accessed: 2021-04-08, 2019

  22. S.E. Atos, Quantum Learning Machine, atos.net/en/products/quantum-learning-machine. Accessed: 2021-04-08, 2016

    Google Scholar 

  23. N. Khammassi, I. Ashraf, X. Fu, C. Almudever, K. Bertels, QX: A high-performance quantum computer simulation platform, in Design, Automation and Test in Europe, 2017

    Google Scholar 

  24. D. Wecker, K.M. Svore, LIQUi| >: A software design architecture and domain-specific language for quantum computing. CoRR, abs/1402.4467, 2014

    Google Scholar 

  25. C. Developers, Cirq, 2021

    Google Scholar 

  26. T. Jones, A. Brown, I. Bush, S. Benjamin, Quest and high performance simulation of quantum computers. arXiv:1802.08032, 2018

    Google Scholar 

  27. M. Smelyanskiy, N.P.D. Sawaya, A. Aspuru-Guzik, qHiPSTER: The quantum high performance software testing environment. CoRR, abs/1601.07195, 2016

    Google Scholar 

  28. B. Villalonga, 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)

    Google Scholar 

  29. Forest SDK, https://www.rigetti.com/systems, Accessed: 2020-07-22, 2020

  30. T. Grurl, R. Kueng, J. Juß, R. Wille, Stochastic quantum circuit simulation using decision diagrams, in Design, Automation and Test in Europe, 2021

    Google Scholar 

  31. T. Grurl, J. Fuß, R. Wille, Considering decoherence errors in the simulation of quantum circuits using decision diagrams, in Int’l Conf. on CAD, pp. 140:1–140:7 (IEEE, 2020)

    Google Scholar 

  32. A. Barenco, et al., Elementary gates for quantum computation. Phys. Rev. A 52(5), 3457–3467 (1995)

    Article  Google Scholar 

  33. D. Maslov, On the advantages of using relative phase Toffolis with an application to multiple control Toffoli optimization. Phys. Rev. A 93(2), 022311 (2016)

    Google Scholar 

  34. R. Wille, M. Soeken, C. Otterstedt, R. Drechsler, Improving the mapping of reversible circuits to quantum circuits using multiple target lines, in Asia and South Pacific Design Automation Conf., 2013

    Google Scholar 

  35. P. Murali, J.M. Baker, A. Javadi-Abhari, F.T. Chong, M. Martonosi, Noise-adaptive compiler mappings for noisy intermediate-scale quantum computers, in Int’l Conf. on Architectural Support for Programming Languages and Operating Systems, 2019, pp. 1015–1029

    Google Scholar 

  36. M.Y. Siraichi, V.F. dos Santos, S. Collange, F.M.Q. Pereira, Qubit allocation, in Proc. Int’l Symp. on Code Generation and Optimization, 2018, pp. 113–125

    Google Scholar 

  37. A. Zulehner, A. Paler, R. Wille, An efficient methodology for mapping quantum circuits to the IBM QX architectures. IEEE Trans. CAD Integr. Circuits Syst. 38(7), 1226–1236 (2019)

    Article  Google Scholar 

  38. R. Wille, L. Burgholzer, A. Zulehner, Mapping quantum circuits to IBM QX architectures using the minimal number of SWAP and H operations, in Design Automation Conf., 2019

    Google Scholar 

  39. G. Li, Y. Ding, Y. Xie, Tackling the qubit mapping problem for NISQ-era quantum devices, in Int’l Conf. on Architectural Support for Programming Languages and Operating Systems, 2019

    Google Scholar 

  40. A. Matsuo, W. Hattori, S. Yamashita, Reducing the overhead of mapping quantum circuits to IBM Q system, in IEEE International Symposium on Circuits and Systems, 2019

    Google Scholar 

  41. T. Itoko, R. Raymond, T. Imamichi, A. Matsuo, Optimization of quantum circuit mapping using gate transformation and commutation. Integration 70, 43–50 (2020)

    Article  Google Scholar 

  42. G. Vidal, C.M. Dawson, Universal quantum circuit for two-qubit transformations with three controlled-NOT gates. Phys. Rev. A 69(1), 010301 (2004)

    Google Scholar 

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

    Google Scholar 

  44. D. Janzing, P. Wocjan, T. Beth, Non-identity check is QMA-complete. Int. J. Quantum Inform. 3(3), 463–473 (2005)

    Article  MATH  Google Scholar 

  45. L. Burgholzer, R. Wille, Advanced equivalence checking for quantum circuits. IEEE Trans. CAD Integr. Circuits Syst. (2021)

    Google Scholar 

  46. L. Burgholzer, R. Raymond, R. Wille, Verifying results of the IBM Qiskit quantum circuit compilation flow, in Int’l Conf. on Quantum Computing and Engineering, 2020, pp. 356–365

    Google Scholar 

  47. J. Yuan, C. Pixley, A. Aziz, Constraint-Based Verification (Springer, 2006)

    Google Scholar 

  48. J. Bergeron, Writing Testbenches using System Verilog (Springer, 2006)

    Google Scholar 

  49. N. Kitchen, A. Kuehlmann, Stimulus generation for constrained random simulation, in Int’l Conf. on CAD, 2007, pp. 258–265

    Google Scholar 

  50. R. Wille, D. Große, F. Haedicke, R. Drechsler, SMT-based stimuli generation in the SystemC Verification library, in Forum on Specification and Design Languages, 2009

    Google Scholar 

  51. K. Laeufer, J. Koenig, D. Kim, J. Bachrach, K. Sen, RFUZZ: Coverage-directed fuzz testing of RTL on FPGAs, in Int’l Conf. on CAD, 2018

    Google Scholar 

  52. H.M. Le, D. Große, N. Bruns, R. Drechsler, Detection of hardware trojans in SystemC HLS designs via coverage-guided fuzzing, in Design, Automation and Test in Europe, 2019, pp. 602–605

    Google Scholar 

  53. L. Burgholzer, R. Kueng, R. Wille, Random stimuli generation for the verification of quantum circuits, in Asia and South Pacific Design Automation Conf., 2021

    Google Scholar 

Download references

Acknowledgements

We sincerely thank all co-authors and collaborators who work(ed) with us in this exciting area. Special thanks go to Alwin Zulehner and Thomas Grurl.

This work received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (grant agreement No. 101001318), was part of the Munich Quantum Valley, which is supported by the Bavarian state government with funds from the Hightech Agenda Bayern Plus, and has been supported by the BMWK on the basis of a decision by the German Bundestag through project QuaST, 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 Robert Wille .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Wille, R., Hillmich, S., Burgholzer, L. (2023). Decision Diagrams for Quantum Computing. In: Topaloglu, R.O. (eds) Design Automation of Quantum Computers. Springer, Cham. https://doi.org/10.1007/978-3-031-15699-1_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-15699-1_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-15698-4

  • Online ISBN: 978-3-031-15699-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics