Skip to main content
QUICK REVIEW

[Paper Review] Simulations of Quantum Circuits with Approximate Noise using qsim and Cirq

Sergei V. Isakov, Dvir Kafri|arXiv (Cornell University)|Nov 3, 2021
Quantum Computing Algorithms and ArchitectureComputer Science12 citations
TL;DR

This paper presents a high-performance quantum trajectory simulator, qsim, integrated with Cirq for efficient simulation of noisy quantum circuits on Google Cloud Platform. It introduces a novel delayed inner product algorithm for quantum trajectories, achieving up to 10× speedup in low-noise regimes, and proposes an approximate noise model for Google's Sycamore quantum processor that closely matches experimental results across three NISQ algorithms: Fermi-Hubbard dynamics, QAOA, and non-interacting fermion evolution.

ABSTRACT

We introduce multinode quantum trajectory simulations with qsim, an open source high performance simulator of quantum circuits. qsim can be used as a backend of Cirq, a Python software library for writing quantum circuits. We present a novel delayed inner product algorithm for quantum trajectories which can result in an order of magnitude speedup for low noise simulation. We also provide tools to use this framework in Google Cloud Platform, with high performance virtual machines in a single mode or multinode setting. Multinode configurations are well suited to simulate noisy quantum circuits with quantum trajectories. Finally, we introduce an approximate noise model for Google's experimental quantum computing platform and compare the results of noisy simulations with experiments for several quantum algorithms on Google's Quantum Computing Service.

Motivation & Objective

  • Enable accurate and efficient simulation of noisy quantum circuits on classical hardware to support NISQ-era algorithm development.
  • Address the computational challenge of simulating noisy quantum trajectories at scale, especially for near-term quantum devices with limited qubits and coherence.
  • Develop a practical, approximate noise model that captures dominant error mechanisms in Google's superconducting quantum computing platform (QCS).
  • Integrate high-performance simulation tools (qsim) with the Cirq programming framework to enable scalable, production-grade quantum algorithm prototyping.
  • Provide a cloud-native, multinode simulation pipeline on Google Cloud Platform to support large-scale trajectory-based simulations with autoscaling and high memory workloads.

Proposed method

  • Implement a delayed inner product algorithm in qsim to optimize quantum trajectory simulations, reducing computational overhead and achieving up to 10× speedup in low-noise regimes.
  • Use qsim as a backend for Cirq, enabling seamless integration of quantum circuit definition, noise modeling, and high-performance simulation in Python.
  • Leverage multinode CPU and GPU configurations on Google Cloud Platform (GCP) with HTCondor for autoscaling and efficient workload distribution across virtual machines.
  • Develop a generic approximate noise model for Google's Sycamore processor, incorporating qubit decay/dephasing, fSim gate coherent errors, and depolarizing noise.
  • Apply the noise model to simulate three quantum algorithms: non-interacting fermion dynamics, QAOA, and Fermi-Hubbard dynamics, using both ideal and noisy simulations.
  • Use quantum trajectories to simulate stochastic noise processes, enabling statistical sampling of circuit outcomes under realistic error conditions.

Experimental results

Research questions

  • RQ1How can quantum trajectory simulations be accelerated for noisy quantum circuits using classical high-performance computing?
  • RQ2To what extent does an approximate noise model based on experimental error measurements reproduce real hardware behavior in NISQ-era quantum algorithms?
  • RQ3Can multinode cloud-based simulation workflows scale efficiently to simulate large-scale noisy quantum circuits with high memory and computational demands?
  • RQ4How do different noise models—specifically the proposed approximate model versus simple depolarizing noise—compare in fidelity to actual experimental results?
  • RQ5What is the impact of specific error channels (e.g., decay, dephasing, fSim gate errors) on the performance of key NISQ algorithms like QAOA and fermionic dynamics?

Key findings

  • The delayed inner product algorithm in qsim achieves up to a 10× speedup in low-noise quantum trajectory simulations, significantly improving performance for small to moderate circuit depths.
  • The approximate noise model for Google's Sycamore processor closely matches experimental results across three quantum algorithms, outperforming simple depolarizing noise models in fidelity.
  • For the QAOA algorithm on 'Hardware Grid' problems with depth $ p=3 $, the approximate noise model shows a difference of less than 0.02 in $ \ less C\rangle/C_{\mathrm{min}} $ compared to hardware, while the depolarizing model was overly optimistic.
  • In non-interacting fermion dynamics, the approximate noise model shows lower absolute difference (0.05–0.15) from experimental data than the 1% depolarizing model (0.2–0.3), indicating better fidelity.
  • The simulation of Fermi-Hubbard dynamics using the approximate noise model shows a standard deviation of 0.03–0.05 in the $ \ell_1 $ distance between simulated and experimental fermionic distributions across 16 qubit configurations.
  • Multinode simulations on GCP with autoscaling via HTCondor enable efficient, high-memory workloads, making large-scale trajectory simulations feasible for NISQ algorithm development.

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.