Skip to main content
QUICK REVIEW

[Paper Review] Tensor Networks for Simulating Quantum Circuits on FPGAs

Maksim Levental|arXiv (Cornell University)|Aug 15, 2021
Quantum Computing Algorithms and ArchitectureComputer Science31 references6 citations
TL;DR

This paper proposes using tensor networks to reduce memory overhead in FPGA-based simulations of quantum circuits, enabling efficient tensor contractions that minimize memory usage and accelerate computation. It implements two FPGA matrix multiplication designs—systolic arrays and naive multiplication—and demonstrates that Bayesian optimization for contraction ordering outperforms greedy search, with systolic arrays achieving faster execution than naive methods in cycle-accurate simulations.

ABSTRACT

Most research in quantum computing today is performed against simulations of quantum computers rather than true quantum computers. Simulating a quantum computer entails implementing all of the unitary operators corresponding to the quantum gates as tensors. For high numbers of qubits, performing tensor multiplications for these simulations becomes quite expensive, since $N$-qubit gates correspond to $2^{N}$-dimensional tensors. One way to accelerate such a simulation is to use field programmable gate array (FPGA) hardware to efficiently compute the matrix multiplications. Though FPGAs can efficiently perform tensor multiplications, they are memory bound, having relatively small block random access memory. One way to potentially reduce the memory footprint of a quantum computing system is to represent it as a tensor network; tensor networks are a formalism for representing compositions of tensors wherein economical tensor contractions are readily identified. Thus we explore tensor networks as a means to reducing the memory footprint of quantum computing systems and broadly accelerating simulations of such systems.

Motivation & Objective

  • To reduce the memory footprint of quantum circuit simulations on FPGAs, which are constrained by limited block RAM.
  • To explore tensor networks as a formalism for identifying efficient tensor contraction orders that minimize memory and computation time.
  • To implement and evaluate two FPGA-based matrix multiplication architectures—systolic arrays and naive multiplication—for tensor contraction in quantum circuit simulations.
  • To compare the performance of different contraction order search strategies (greedy vs. Bayesian optimization) in the context of FPGA deployment.

Proposed method

  • Representing quantum circuits as tensor networks to decompose high-dimensional tensors into networks of lower-dimensional tensors.
  • Using tensor network contraction to compute quantum state evolution more efficiently than direct matrix multiplication.
  • Implementing two FPGA-optimized matrix multiplication units: a systolic array for streaming data and a naive design with full hardware instantiation of multiply-accumulate operations.
  • Employing an off-the-shelf library to compute optimal contraction orders via greedy search and Bayesian optimization (BPO).
  • Conducting cycle-accurate simulations using Verilator to evaluate runtime and memory usage without physical FPGA access.
  • Evaluating performance across random quantum circuits with varying numbers of qubits (n) and circuit depth (k).

Experimental results

Research questions

  • RQ1Can tensor networks effectively reduce the memory footprint of quantum circuit simulations on memory-constrained FPGAs?
  • RQ2How do different tensor contraction order search strategies—greedy vs. Bayesian optimization—compare in terms of convergence speed and quality of solution?
  • RQ3Which FPGA matrix multiplication architecture (systolic array vs. naive) provides better performance and resource efficiency for tensor network contractions?
  • RQ4To what extent do simulated FPGA runtimes reflect real-world performance, and how can they guide future hardware deployment?

Key findings

  • Bayesian optimization (BPO) for contraction order selection converged more quickly and robustly than greedy search across tested quantum circuits.
  • Systolic array-based matrix multiplication achieved faster contraction evaluation times compared to the naive matrix multiplication design in cycle-accurate simulations.
  • The use of tensor networks enabled a significant reduction in memory usage by identifying efficient contraction sequences that avoid storing large intermediate tensors.
  • Simulations revealed that memory constraints in the Verilator model prevented evaluation of some larger circuits, indicating a hard limit on scalable FPGA deployment without further optimization.
  • The results suggest that tensor network-based contraction ordering is a promising strategy for accelerating quantum circuit simulation on FPGAs, especially when combined with efficient hardware accelerators.
  • Future work may benefit from applying deep learning or reinforcement learning techniques to discover optimal tensor contraction orders, as the problem is inherently combinatorial.

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.