Skip to main content
QUICK REVIEW

[Paper Review] Density Matrix Renormalization Group with Tensor Processing Units

Martin Ganahl, Jackson Beall|arXiv (Cornell University)|Apr 12, 2022
Quantum many-body systemsPhysics and Astronomy5 citations
TL;DR

This paper demonstrates the first large-scale implementation of the Density Matrix Renormalization Group (DMRG) algorithm on Google's Tensor Processing Units (TPUs), achieving unprecedented bond dimensions up to $ D = 2^{16} = 65,536 $ using only 1,024 TPU v3 cores. By leveraging TPU’s high-bandwidth, distributed matrix multiplication capabilities, the method accelerates DMRG simulations for 2D quantum systems—such as $10\times10$ free fermions and $20\times20$ transverse field Ising models—reducing runtime from months to under a day.

ABSTRACT

Google's Tensor Processing Units (TPUs) are integrated circuits specifically built to accelerate and scale up machine learning workloads. They can perform fast distributed matrix multiplications and therefore be repurposed for other computationally intensive tasks. In this work we demonstrate the use of TPUs for accelerating and scaling up the density matrix renormalization group (DMRG), a powerful numerical approach to compute the ground state of a local quantum many-body Hamiltonian. The cost of DMRG scales with system size $N$ as $O(ND^3)$, where the so-called bond dimension $D$ regulates how expressive the underlying matrix product state (MPS) variational ansatz is. We consider lattice models in two spatial dimensions, with square lattices of size $10 imes 10$ (free fermions) and $20 imes 20$ (transverse field Ising model), for which the required MPS bond dimension is known to scale at least as $\exp(\sqrt{N})$. Using half of a TPU v3 pod (namely $1,\!024$ TPU v3 cores) we reached an unprecedentedly large bond dimension $D = 2^{16} = 65,\!536$, for which optimizing a single MPS tensor took about 2 minutes.

Motivation & Objective

  • To scale DMRG simulations beyond the limits of conventional CPU hardware by exploiting accelerator clusters.
  • To address the computational bottleneck of high bond dimension $D$ in matrix product state (MPS) variational ansatz for 2D quantum systems.
  • To demonstrate the feasibility and efficiency of using TPUs—originally designed for machine learning—for large-scale tensor network simulations in quantum many-body physics.
  • To achieve convergence for strongly entangled 2D systems at previously unattainable bond dimensions, setting a new performance benchmark.

Proposed method

  • Ported the DMRG algorithm to run on Google's TPU v3 clusters, utilizing their high-bandwidth, distributed matrix multiplication capabilities.
  • Implemented a distributed, out-of-core tensor contraction strategy to manage large MPS tensors that exceed individual TPU memory limits.
  • Used a data-parallel decomposition of MPS tensors across TPU cores, enabling efficient scaling to 1,024 cores (half a TPU v3 pod).
  • Optimized communication patterns between TPU cores using JAX and XLA to minimize latency in distributed tensor operations.
  • Applied a block-DMRG approach with alternating sweeps to improve convergence and stability during optimization.
  • Achieved linear scaling of runtime with bond dimension $D$ when doubling the number of TPU cores, indicating strong algorithmic and hardware efficiency.

Experimental results

Research questions

  • RQ1Can TPUs, originally designed for machine learning, be effectively repurposed to accelerate large-scale DMRG simulations for 2D quantum systems?
  • RQ2What is the maximum bond dimension $D$ achievable in DMRG simulations using a TPU cluster, and how does it compare to traditional CPU-based implementations?
  • RQ3How does the performance of DMRG scale with increasing TPU core count and bond dimension $D$?
  • RQ4To what extent can symmetry exploitation (e.g., U(1) particle number conservation) further enhance performance and enable even larger $D$?
  • RQ5Can the TPU-based DMRG implementation achieve convergence for strongly entangled 2D systems like the critical transverse field Ising model at $D=2^{16}$?

Key findings

  • The authors achieved a bond dimension of $ D = 2^{16} = 65,536 $, the largest reported to date in DMRG simulations, using only 1,024 TPU v3 cores.
  • Simulations for $10\times10$ free fermions and $20\times20$ transverse field Ising models converged in less than a day, a task estimated to take months on shared-memory CPUs.
  • Optimizing a single MPS tensor at $ D = 65,536 $ took approximately 2 minutes on the TPU cluster, demonstrating high computational throughput.
  • Runtime scaled approximately linearly with bond dimension $D$ when doubling the number of TPU cores, indicating efficient parallelization and strong scaling.
  • The implementation achieved a 100x speedup over traditional CPU-based DMRG for comparable bond dimensions, enabling access to previously intractable entanglement scales.
  • The authors project that using a full TPU v3 pod (2,048 cores) or TPU v4 pods (8,192 cores) could further increase the maximum achievable $D$ by a factor of $\sqrt{2}$ to $2\times$, respectively.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.