TorchQuantumDistributed
Oliver Knitter, Jonathan Mei, Masako Yamada, Martin Roetteler
TL;DR
TorchQuantumDistributed (tqd) tackles the scalability gap in differentiable quantum statevector simulation by distributing the state across multiple accelerators within PyTorch. It combines a distributed statevector sharding strategy, a universal gate set, differentiable shot noise handling (exact and approximate), and invertible backpropagation for memory-efficient training. The paper details practical implementation aspects such as bookkeeping, tensor dimension order, sharding, shot-noise strategies, and backprop, supported by profiling results on large HPC hardware that demonstrate favorable scaling. These contributions enable scalable QML experimentation and can be extended with circuit cutting and integration into future research pipelines.
Abstract
TorchQuantumDistributed (tqd) is a PyTorch-based [Paszke et al., 2019] library for accelerator-agnostic differentiable quantum state vector simulation at scale. This enables studying the behavior of learnable parameterized near-term and fault- tolerant quantum circuits with high qubit counts.
