Abstract
NWQ-Sim is a cutting-edge quantum system simulation environment designed to run on classical multi-node, multi-CPU/GPU heterogeneous HPC systems. In this work, we provide a brief overview of NWQ-Sim and its implementation in simulating quantum circuit applications, such as the transverse field Ising model. We also demonstrate how NWQ-Sim can be used to examine the effects of errors that occur on real quantum devices, using a combined device noise model. Moreover, NWQ-Sim is particularly well-suited for implementing variational quantum algorithms where circuits are dynamically generated. Therefore, we also illustrate this with the variational quantum eigensolver (VQE) for the Ising model. In both cases, NWQ-Sim's performance is comparable to or better than alternative simulators. We conclude that NWQ-Sim is a useful and flexible tool for simulating quantum circuits and algorithms, with performance advantages and noise-aware simulation capabilities.
Introduction
We are currently in the Noisy Intermediate-Scale Quantum (NISQ) era. While quantum hardware is advancing, it remains scarce, prone to high error rates (noise), and limited by short coherence times. Consequently, researchers rely heavily on classical simulators to develop and validate algorithms. However, most existing simulators face two major hurdles: they are often not optimized for the heterogeneous architecture of modern supercomputers (which rely heavily on GPU accelerators), and they often fail to account for the physical noise—such as gate decoherence and measurement errors—that plagues actual quantum devices. NWQ-Sim aims to bridge this gap by providing a scalable, high-performance, and noise-aware simulation framework.
Methods and Architecture
NWQ-Sim is designed as a modular framework with two distinct simulation engines: SV-Sim (State Vector Simulator), optimized for high-performance, large-scale ideal simulations, and DM-Sim (Density Matrix Simulator), designed for noise-aware simulations. DM-Sim can incorporate complex noise models—including depolarization, thermal relaxation, and measurement noise—to mimic specific physical quantum devices.
Key technical features include frontend flexibility, supporting Python, C++, Qiskit, Q#, and OpenQASM, and backend portability across x86/PowerPC CPUs and NVIDIA/AMD GPUs. The system is designed for multi-node environments, utilizing efficient inter-communication to scale across thousands of nodes on systems like ORNL’s Frontier and Summit.
Results and Benchmarking
The authors evaluated NWQ-Sim using several benchmarks, including QASMBench and the Transverse Field Ising Model (TFIM). To test DM-Sim, noise data from the IBM ibmq_vigo device was used to simulate a 4-qubit Ising spin chain. A primary application case was the Variational Quantum Eigensolver (VQE), which involves an iterative loop between a classical optimizer and a quantum circuit.
In VQE simulations for the Ising model, NWQ-Sim performed approximately 50% faster than alternative simulators on GPU-based supercomputers. Furthermore, the noise-aware simulations successfully captured the deviations from ideal behavior seen in real devices, providing a realistic "digital twin" of quantum hardware. This allows researchers to debug circuits and predict performance before utilizing limited time on actual quantum processors.
Conclusion and Future Work
NWQ-Sim demonstrates high efficiency and scalability on three of the world's most powerful supercomputers: Frontier, Summit, and Perlmutter. While the framework is designed for large-scale HPC, the computational overhead of density matrix simulation remains a challenge for scaling "noisy" simulations. Future work will focus on refining inter-node communication and developing more complex noise models to account for non-Markovian effects and cross-talk found in emerging hardware architectures.
Summary updated