Simulation of quantum physics with Tensor Processing Units: brute-force computation of ground states and time evolution

Abstract

Tensor Processing Units (TPUs) were developed by Google exclusively to support large-scale machine learning tasks. TPUs can, however, also be used to accelerate and scale up other computationally demanding tasks. In this paper we repurpose TPUs for the challenging problem of simulating quantum spin systems. Consider a lattice model made of N spin-12 quantum spins, or qubits, with a Hamiltonian H = Σi hi that is a sum of local terms hi and a wavefunction | consisting of 2N complex amplitudes. We demonstrate the usage of TPUs for both (i) computing the ground state |gs of the Hamiltonian H, and (ii) simulating the time evolution |(t)=e-itH|(0) generated by this Hamiltonian starting from some initial state |(0). The bottleneck of the above tasks is computing the product H |, which can be implemented with remarkable efficiency utilising the native capabilities of TPUs. With a TPU v3 pod, with 2048 cores, we simulate wavefunctions | of up to N=38 qubits. The dedicated matrix multiplication units (MXUs), the high bandwidth memory (HBM) on each core, and the fast inter-core interconnects (ICIs) together provide performance far beyond the capabilities of general purpose processors.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…