Quantum Circuit Simulation with Fast Tensor Decision Diagram
Qirui Zhang, Mehdi Saligane, Hun-Seok Kim, David Blaauw, Georgios Tzimpragos, Dennis Sylvester
TL;DR
Quantum circuit simulation faces exponential complexity, especially for deep or random circuits. FTDD merges tensor networks with tensor decision diagrams, introducing a linear-time rank simplification (Tetris) and near-optimal contraction ordering, augmented by edge-centric TDDs and BDD-inspired optimizations. Empirical results show large speedups over state-of-the-art DD-based and some array-based simulators on redundancy-rich circuits, with robust performance for NISQ-relevant workloads. The framework, implemented in C++ and available as open-source, offers a practical, high-performance tool for quantum software development and benchmarking.
Abstract
Quantum circuit simulation is a challenging computational problem crucial for quantum computing research and development. The predominant approaches in this area center on tensor networks, prized for their better concurrency and less computation than methods using full quantum vectors and matrices. However, even with the advantages, array-based tensors can have significant redundancy. We present a novel open-source framework that harnesses tensor decision diagrams to eliminate overheads and achieve significant speedups over prior approaches. On average, it delivers a speedup of 37$\times$ over Google's TensorNetwork library on redundancy-rich circuits, and 25$\times$ and 144$\times$ over quantum multi-valued decision diagram and prior tensor decision diagram implementation, respectively, on Google random quantum circuits. To achieve this, we introduce a new linear-complexity rank simplification algorithm, Tetris, and edge-centric data structures for recursive tensor decision diagram operations. Additionally, we explore the efficacy of tensor network contraction ordering and optimizations from binary decision diagrams.
