The fundamental challenge in simulating quantum systems and training massive neural networks is the "memory wall." As the number of qubits in a quantum circuit or the parameters in a Transformer model grows, the memory required to represent the underlying tensors grows exponentially. A 50-qubit state vector, for instance, requires petabytes of RAM—far exceeding the capacity of any single machine.
To bypass this limit, researchers have converged on a strategy of distributed tensor contraction and slicing. Instead of attempting to compute a massive tensor operation all at once, the problem is decomposed into a multitude of smaller, independent tasks that can be distributed across thousands of GPUs or supercomputer nodes.
The Intuition of Index Slicing
The core mechanism enabling this scaling is index slicing. In a large tensor network contraction, the total computational cost is determined by the "contraction path"—the order in which tensors are merged. If a contraction is too large for memory, we can "slice" one or more indices.
Slicing works by fixing a specific index to a constant value. This effectively breaks the global contraction into several smaller, independent sub-contractions. As Yaocheng Chen and colleagues demonstrate in the TeD-Q framework, this allows researchers to trade time for memory. By executing these slices sequentially or in parallel, we can simulate systems, such as 100-qubit hybrid models, that would otherwise be computationally infeasible.
Parallelism Across Scales
Once a tensor network is sliced, the resulting sub-tasks are "embarrassingly parallel," meaning they require little to no communication between processors during execution. This property is exploited at different scales of hardware:
- Intra-node Parallelism: Within a single machine, frameworks like NNTile, developed by Aleksandr Mikhalev and Ivan Oseledets, partition large tensors into "tiles." These tiles are scheduled across both GPUs and CPU RAM, allowing a single workstation to train models far larger than its dedicated video memory would normally permit.
- Cluster-level Distribution: For massive tasks, such as simulating Google’s Sycamore quantum processor, researchers use hierarchical parallelization. Xin Liu and the team behind the Sunway supercomputer simulation distributed workloads by slicing the network into independent chunks across thousands of nodes. This approach collapsed a task once thought to take 10,000 years into just one week.
- Hardware-Aware Scheduling: Beyond simple splitting, Kun Xie and Yuxiang Chen show in their GPU-TC framework that spatial decomposition—matching the data partition to the hardware's execution units—can lead to 60–180x speedups by preventing data contention.
Exploiting Topological DNA
Why does this work so efficiently? Flavio Vella and his co-authors suggest that every circuit has a "topological DNA"—a specific pattern of entanglement and connectivity. By analyzing this topology, researchers can find optimal slicing paths that minimize the total number of floating-point operations.
In some cases, this leads to "superlinear speedup." Because slicing reduces the size of intermediate tensors, the local contraction paths become more efficient than the global path would have been. This efficiency allowed Rongxin Fu and their team to achieve energetic superiority, simulating quantum circuits using less energy and time than the actual quantum hardware.
Bridging Quantum and Classical Frameworks
The success of these methods has led to the creation of high-performance software bridges. TensorCircuit, developed by Shi-Xin Zhang and Jonathan Allcock, integrates tensor network contraction with standard machine learning backends like JAX and TensorFlow. Similarly, Kuan-Cheng Chen and colleagues utilized NVIDIA’s cuTensorNet in the cuTN-QSVM framework to scale Quantum Support Vector Machines to 784 qubits.
By treating large-scale computation as a distributed orchestration of tensor slices, these researchers have moved the boundary of what is "simulatable," proving that classical hardware can remain competitive with the most advanced quantum processors through clever algorithmic decomposition.