Coded Computing Meets Quantum Circuit Simulation: Coded Parallel Tensor Network Contraction Algorithm
Jin Lee, Sofia Gonzalez-Garcia, Zheng Zhang, Haewon Jeong
TL;DR
The paper addresses the challenge of reliably performing large-scale tensor-network contractions for quantum circuit simulation on massively parallel classical hardware, where node failures and stragglers impede computation. It extends matrix-multiplication coding ideas to the tensor-network setting by introducing polynomial-encoded schemes that slice contraction indices and allow recovery from up to f failed workers. Two main constructions are proposed: a practical 2-node code for quantum-simulation tensor networks and a general hyperedge code for broader tensor-network topologies, each with explicit f-resilience and gains and connections to MatDot/PolyCode. The work also analyzes master-node encoding/decoding cost, showing these are negligible compared to contraction, and discusses how these codes fit within and extend existing coded computing frameworks. This approach provides a scalable, fault-tolerant pathway to run beyond-classical-timings in quantum circuit simulations and may generalize to other high-dimensional linear-algebra tasks on HPC systems.
Abstract
Parallel tensor network contraction algorithms have emerged as the pivotal benchmarks for assessing the classical limits of computation, exemplified by Google's demonstration of quantum supremacy through random circuit sampling. However, the massive parallelization of the algorithm makes it vulnerable to computer node failures. In this work, we apply coded computing to a practical parallel tensor network contraction algorithm. To the best of our knowledge, this is the first attempt to code tensor network contractions. Inspired by matrix multiplication codes, we provide two coding schemes: 2-node code for practicality in quantum simulation and hyperedge code for generality. Our 2-node code successfully achieves significant gain for $f$-resilient number compared to naive replication, proportional to both the number of node failures and the dimension product of sliced indices. Our hyperedge code can cover tensor networks out of the scope of quantum, with degraded gain in the exchange of its generality.
