Realified tensor networks: quantum circuit simulation on real-valued matrix accelerators
Abstract
Tensor-network contraction simulates quantum circuits, but modern matrix accelerators (NPUs, TPUs) expose only real GEMM pipelines, so the complex networks of quantum simulation must be reconstructed in software. We resolve the mismatch by a realification rewrite that maps any complex tensor network to a real one. At each merge of two complex tensors, a rank-3 structure tensor realizes Gauss's three-multiplication (3M) formula; contractions with one or no complex operand need only two or one real products. We prove a tight cost law: overhead in real multiplications, where and are the volume fractions of two- and one-complex-operand contractions, never exceeding relative to real contraction, with every intermediate at most doubled in size. On 67 circuits (random, Clifford+, QAOA, VQE), the law holds across the real-to-complex range and complex-gate placement, not count, governs cost. Contraction orders transfer from the complex network with a relative arithmetic-cost gap below on 66 of 67 circuits; the exception closes under a few steps of low-temperature simulated annealing. On an Ascend 910 NPU the rewrite beat both the four-real-GEMM baseline and a per-GEMM Gauss lowering on all twelve random circuits and on 52 of 55 structured cells (three cells slower by at most 12\%); the four-GEMM baseline was slower by a median (random) and (structured). Realification makes complex tensor-network contraction native to real-only matrix engines.
Cite
@article{arxiv.2608.03987,
title = {Realified tensor networks: quantum circuit simulation on real-valued matrix accelerators},
author = {Yusheng Zhao and Xiwei Pan and Enji Xiong and Chengkai Zhu and Jinguo Liu},
journal= {arXiv preprint arXiv:2608.03987},
year = {2026}
}