Skip to main content
QUICK REVIEW

[Paper Review] Distributed Memory Techniques for Classical Simulation of Quantum Circuits

Ryan LaRose|arXiv (Cornell University)|Jan 2, 2018
Quantum Computing Algorithms and ArchitectureComputer Science15 references4 citations
TL;DR

This paper presents a high-performance, distributed memory simulation framework for quantum circuits using state vector partitioning across multiple nodes. By optimizing communication via a single-amplitude protocol and non-sequential state vector storage, it achieves simulations of up to 33 qubits on 64 nodes, significantly extending the scalable simulation frontier beyond single-node limits.

ABSTRACT

In this paper we describe, implement, and test the performance of distributed memory simulations of quantum circuits on the MSU Laconia Top500 supercomputer. Using OpenMP and MPI hybrid parallelization, we first use a distributed matrix-vector multiplication with one-dimensional partitioning and discuss the shortcomings of this method due to the exponential memory requirements in simulating quantum computers. We then describe a more efficient method that stores only the $2^n$ amplitudes of the $n$ qubit state vector $|ψ angle$ and optimize its single node performance. In our multi-node implementation, we use a single amplitude communication protocol that maximizes the number of qubits able to be simulated and minimizes the ratio of qubits that require communication to those that do not, and we present an algorithm for efficiently determining communication pairs among processors. We simulate up to 30 qubits on a single node and 33 qubits with the state vector partitioned across 64 nodes. Lastly, we discuss the advantages and disadvantages of our communication scheme, propose potential improvements, and describe other optimizations such as storing the state vector non-sequentially in memory to map communication requirements to idle qubits in the circuit.

Motivation & Objective

  • To address the exponential memory growth in classical simulation of quantum circuits.
  • To enable scalable simulation of large quantum circuits beyond single-node limits.
  • To minimize communication overhead in distributed memory architectures while maximizing qubit simulation capacity.
  • To optimize performance by mapping communication-intensive qubits to idle circuit regions through non-sequential storage.
  • To develop an efficient algorithm for determining inter-processor communication pairs in multi-node simulations.

Proposed method

  • Uses hybrid MPI+OpenMP parallelization on the MSU Laconia supercomputer for distributed memory simulation.
  • Employs state vector partitioning across 2^k processors, storing only the 2^n amplitudes of the n-qubit state vector.
  • Introduces a single-amplitude communication protocol that minimizes the number of communicating qubits and maximizes non-communicating qubits per gate.
  • Develops an efficient algorithm to determine communication pairs among processors, reducing coordination overhead.
  • Applies non-sequential storage of the state vector to map communication demands to idle qubits in the circuit, reducing gate application time for active qubits.
  • Optimizes single-node performance by minimizing memory access patterns and leveraging cache efficiency.

Experimental results

Research questions

  • RQ1How can distributed memory techniques be optimized to simulate larger quantum circuits beyond single-node memory limits?
  • RQ2What communication protocol minimizes overhead while maximizing the number of qubits that do not require communication during gate operations?
  • RQ3Can non-sequential state vector storage reduce performance bottlenecks caused by communication-intensive qubits?
  • RQ4How does the ratio of non-communicating to communicating qubits affect overall simulation time in multi-node environments?
  • RQ5What is the performance trade-off between communication overhead and single-gate application time in distributed quantum circuit simulation?

Key findings

  • The method successfully simulates 30 qubits on a single node, with all qubits of index 24 or lower requiring less than 0.55 seconds per gate.
  • By partitioning the state vector across 64 nodes, the framework simulates up to 33 qubits, extending the scalable simulation boundary.
  • The single-amplitude communication protocol increases the ratio of non-communicating to communicating qubits, reducing overall communication cost.
  • Non-sequential storage of the state vector allows communication to be mapped to idle qubits, mitigating performance penalties from high gate application time on active qubits.
  • The communication protocol achieves better scalability than naive matrix-vector multiplication, which was limited to 17 qubits due to memory explosion.
  • An efficient algorithm for determining communication pairs among processors reduces coordination overhead and improves load balancing in multi-node execution.

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.