skip to main content
research-article

A Tensor Network based Decision Diagram for Representation of Quantum Circuits

Published:27 June 2022Publication History
Skip Abstract Section

Abstract

Tensor networks have been successfully applied in simulation of quantum physical systems for decades. Recently, they have also been employed in classical simulation of quantum computing, in particular, random quantum circuits. This article proposes a decision diagram style data structure, called Tensor Decision Diagram (TDD), for more principled and convenient applications of tensor networks. This new data structure provides a compact and canonical representation for quantum circuits. By exploiting circuit partition, the TDD of a quantum circuit can be computed efficiently. Furthermore, we show that the operations of tensor networks essential in their applications (e.g., addition and contraction) can also be implemented efficiently in TDDs. A proof-of-concept implementation of TDDs is presented and its efficiency is evaluated on a set of benchmark quantum circuits. It is expected that TDDs will play an important role in various design automation tasks related to quantum circuits, including but not limited to equivalence checking, error detection, synthesis, simulation, and verification.

REFERENCES

  1. [1] Frank Arute, Kunal Arya, Ryan Babbush, Dave Bacon, Joseph C. Bardin, Rami Barends, Rupak Biswas, Sergio Boixo, Fernando G. S. L. Brandao, David A. Buell, Brian Burkett, Yu Chen, Zijun Chen, Ben Chiaro, Roberto Collins, William Courtney, Andrew Dunsworth, Edward Farhi, Brooks Foxen, Austin Fowler, Craig Gidney, Marissa Giustina, Rob Graff, Keith Guerin, Steve Habegger, Matthew P. Harrigan, Michael J. Hartmann, Alan Ho, Markus Hoffmann, Trent Huang, Travis S. Humble, Sergei V. Isakov, Evan Jeffrey, Zhang Jiang, Dvir Kafri, Kostyantyn Kechedzhi, Julian Kelly, Paul V. Klimov, Sergey Knysh, Alexander Korotkov, Fedor Kostritsa, David Landhuis, Mike Lindmark, Erik Lucero, Dmitry Lyakh, Salvatore Mandrà, Jarrod R. McClean, Matthew McEwen, Anthony Megrant, Xiao Mi, Kristel Michielsen, Masoud Mohseni, Josh Mutus, Ofer Naaman, Matthew Neeley, Charles Neill, Murphy Yuezhen Niu, Eric Ostby, Andre Petukhov, John C. Platt, Chris Quintana, Eleanor G. Rieffel, Pedram Roushan, Nicholas C. Rubin, Daniel Sank, Kevin J. Satzinger, Vadim Smelyanskiy, Kevin J. Sung, Matthew D. Trevithick, Amit Vainsencher, Benjamin Villalonga, Theodore White, Z. Jamie Yao, Ping Yeh, Adam Zalcman, Hartmut Neven, and John M. Martinis. 2019. Quantum supremacy using a programmable superconducting processor. Nature 574, 7779 (2019), 505–510.Google ScholarGoogle Scholar
  2. [2] Bahar R. Iris, Frohm Erica A., Gaona Charles M., Hachtel Gary D., Macii Enrico, Pardo Abelardo, and Somenzi Fabio. 1997. Algebric decision diagrams and their applications. Formal Methods in System Design 10, 2–3 (1997), 171206.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. [3] Bernstein Ethan and Vazirani Umesh. 1997. Quantum complexity theory. SIAM Journal on Computing 26, 5 (1997), 14111473.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. [4] Biamonte Jacob. 2019. Lectures on quantum tensor networks. arXiv:1912.10049. Retrieved from https://arxiv.org/abs/1912.10049.Google ScholarGoogle Scholar
  5. [5] Boixo Sergio, Isakov Sergei V., Smelyanskiy Vadim N., and Neven Hartmut. 2017. Simulation of low-depth quantum circuits as complex undirected graphical models. arXiv:1712.05384. Retrieved from https://arxiv.org/abs/1712.05384.Google ScholarGoogle Scholar
  6. [6] Brace Karl S., Rudell Richard L., and Bryant Randal E.. 1990. Efficient implementation of a BDD package. In Proceedings of the 27th ACM/IEEE Design Automation Conference. IEEE, 4045.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. [7] Bryant Randal E.. 1986. Graph-based algorithms for boolean function manipulation. IEEE Transactions on Computers 100, 8 (1986), 677691.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. [8] Bryant Yirng-An Chen Randal E.. 1995. Verification of arithmetic circuits with binary moment diagrams. In Proceedings of the 32nd Design Automation Conference. IEEE, 535541.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. [9] Burgholzer Lukas and Wille Robert. 2020. Advanced equivalence checking for quantum circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 40, 9 (2020), 1810–1824.Google ScholarGoogle Scholar
  10. [10] Burgholzer Lukas and Wille Robert. 2020. Improved DD-based equivalence checking of quantum circuits. In Proceedings of the 2020 25th Asia and South Pacific Design Automation Conference (ASP-DAC). IEEE, 127132.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. [11] Burgholzer Lukas and Wille Robert. 2021. Towards verification of dynamic quantum circuits. arXiv:2106.01099. Retrieved from https://arxiv.org/abs/2106.01099.Google ScholarGoogle Scholar
  12. [12] Chen Jianxin, Zhang Fang, Huang Cupjin, Newman Michael, and Shi Yaoyun. 2018. Classical simulation of intermediate-size quantum circuits. arXiv:1805.01450. Retrieved from https://arxiv.org/abs/1805.01450.Google ScholarGoogle Scholar
  13. [13] Chen Zhao-Yun, Zhou Qi, Xue Cheng, Yang Xia, Guo Guang-Can, and Guo Guo-Ping. 2018. 64-qubit quantum circuit simulation. Science Bulletin 63, 15 (2018), 964971.Google ScholarGoogle ScholarCross RefCross Ref
  14. [14] Gilchrist Alexei, Langford Nathan K., and Nielsen Michael A.. 2005. Distance measures to compare real and ideal quantum processes. Physical Review A 71, 6 (2005), 062310.Google ScholarGoogle ScholarCross RefCross Ref
  15. [15] Gray Johnnie and Kourtis Stefanos. 2020. Hyper-optimized tensor network contraction. Quantum 5 (2021), 410.Google ScholarGoogle Scholar
  16. [16] Hong Xin, Feng Yuan, Li Sanjiang, and Ying Mingsheng. 2021. Equivalence checking of dynamic quantum circuits. arXiv:2106.01658. Retrieved from https://arxiv.org/abs/2106.01658.Google ScholarGoogle Scholar
  17. [17] Hong Xin, Ying Mingsheng, Feng Yuan, Zhou Xiangzhen, and Li Sanjiang. 2021. Approximate equivalence checking of noisy quantum circuits. In Proceedings of the 2021 58th ACM/IEEE DAC. IEEE, 16.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. [18] Huang Cupjin, Zhang Fang, Newman Michael, Cai Junjie, Gao Xun, Tian Zhengxiong, Wu Junyin, Xu Haihong, Yu Huanjun, Yuan Bo, et al. 2020. Classical simulation of quantum supremacy circuits. arXiv:2005.06787. Retrieved from https://arxiv.org/abs/2005.06787.Google ScholarGoogle Scholar
  19. [19] Li Riling, Wu Bujiao, Ying Mingsheng, Sun Xiaoming, and Yang Guangwen. 2019. Quantum supremacy circuit simulation on sunway taihulight. IEEE Transactions on Parallel and Distributed Systems 31, 4 (2019), 805816.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. [20] Li Sanjiang, Zhou Xiangzhen, and Feng Yuan. 2021. Qubit mapping based on subgraph isomorphism and filtered depth-limited search. IEEE Transactions on Computers 70, 11 (2021), 17771788. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  21. [21] Markov Igor L. and Shi Yaoyun. 2008. Simulating quantum computation by contracting tensor networks. SIAM Journal on Computing 38, 3 (2008), 963981.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. [22] Maslov Dmitri, Falconer Sean M., and Mosca Michele. 2008. Quantum circuit placement. IEEE Transactions on CAD of Integrated Circuits and Systems 27, 4 (2008), 752763. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. [23] Miller D. Michael and Thornton Mitchell A.. 2006. QMDD: A decision diagram structure for reversible and quantum circuits. In Proceedings of the 36th International Symposium on Multiple-Valued Logic. IEEE, 3030.Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. [24] Molitor Paul and Mohnke Janett. 2007. Equivalence Checking of Digital Circuits: Fundamentals, Principles, Methods. Springer Science & Business Media.Google ScholarGoogle Scholar
  25. [25] Moll Nikolaj et al. 2018. Quantum optimization using variational algorithms on near-term quantum devices. Quantum Science and Technology 3, 3 (2018), 030503.Google ScholarGoogle ScholarCross RefCross Ref
  26. [26] Nielsen Michael A. and Chuang Isaac L.. 2016. Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. Retrieved from https://www.cambridge.org/de/academic/subjects/physics/quantum-physics-quantum-information-and-quantum-computation/quantum-computation-and-quantum-information-10th-anniversary-edition?format=HB.Google ScholarGoogle Scholar
  27. [27] Niemann Philipp, Wille Robert, Miller David Michael, Thornton Mitchell A., and Drechsler Rolf. 2015. QMDDs: Efficient quantum function representation and manipulation. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 35, 1 (2015), 8699.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. [28] Edwin Pednault, John A. Gunnels, Giacomo Nannicini, Lior Horesh, Thomas Magerlein, Edgar Solomonik, Erik W. Draeger, Eric T. Holland, and Robert Wisnieff. 2017. Breaking the 49-qubit barrier in the simulation of quantum circuits. Journal of Environmental Sciences (China) English Ed, 2017.Google ScholarGoogle Scholar
  29. [29] Roberts Chase, Milsted Ashley, Ganahl Martin, Zalcman Adam, Fontaine Bruce, Zou Yijian, Hidary Jack, Vidal Guifre, and Leichenauer Stefan. 2019. Tensornetwork: A library for physics and machine learning. arXiv:1905.01330. Retrieved from https://arxiv.org/abs/1905.01330.Google ScholarGoogle Scholar
  30. [30] Tsai Yuan-Hung, Jiang Jie-Hong R., and Jhang Chiao-Shan. 2020. Bit-slicing the hilbert space: Scaling up accurate quantum circuit simulation to a new level. In 58th ACM/IEEE Design Automation Conference (DAC). IEEE, 2021, 439–444.Google ScholarGoogle Scholar
  31. [31] Viamontes George F., Markov Igor L., and Hayes John P.. 2003. Improving gate-level simulation of quantum circuits. Quantum Information Processing 2, 5 (2003), 347380.Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. [32] Vinkhuijzen Lieuwe, Coopmans Tim, Elkouss David, Dunjko Vedran, and Laarman Alfons. 2021. LIMDD: A decision diagram for simulation of quantum computing including stabilizer states. arXiv:2108.00931. Retrieved from https://arxiv.org/abs/2108.00931.Google ScholarGoogle Scholar
  33. [33] Wille Robert, Hillmich Stefan, and Burgholzer Lukas. 2020. Efficient and correct compilation of quantum circuits. In Proceedings of the IEEE International Symposium on Circuits and Systems.Google ScholarGoogle ScholarCross RefCross Ref
  34. [34] Yamashita Shigeru, Minato Shin-ichi, and Miller D. Michael. 2008. DDMF: An efficient decision diagram structure for design verification of quantum circuits under a practical restriction. IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences 91, 12 (2008), 37933802.Google ScholarGoogle ScholarCross RefCross Ref
  35. [35] Zulehner Alwin, Paler Alexandru, and Wille Robert. 2018. An efficient methodology for mapping quantum circuits to the IBM QX architectures. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 38, 7 (2018), 12261236.Google ScholarGoogle ScholarCross RefCross Ref
  36. [36] Zulehner Alwin and Wille Robert. 2018. Advanced simulation of quantum computations. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 38, 5 (2018), 848859.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. A Tensor Network based Decision Diagram for Representation of Quantum Circuits

      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

      Full Access

      • Published in

        cover image ACM Transactions on Design Automation of Electronic Systems
        ACM Transactions on Design Automation of Electronic Systems  Volume 27, Issue 6
        November 2022
        285 pages
        ISSN:1084-4309
        EISSN:1557-7309
        DOI:10.1145/3544939
        Issue’s Table of Contents

        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: 27 June 2022
        • Online AM: 18 February 2022
        • Accepted: 1 January 2022
        • Revised: 1 December 2021
        • Received: 1 August 2021
        Published in todaes Volume 27, Issue 6

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Refereed

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Full Text

      View this article in Full Text.

      View Full Text

      HTML Format

      View this article in HTML Format .

      View HTML Format