[Paper Review] High-performance Vector-length Agnostic Quantum Circuit Simulations on ARM Processors
The paper presents a vector-length agnostic (VLA) design for quantum state-vector simulations on ARM SVE/RVV, implemented in Qsim, achieving substantial speedups across ARM Grace, Graviton, and A64FX while profiling vectorization and memory activities.
ARM SVE and RISC-V RVV are emerging vector architectures in high-end processors that support vectorization of flexible vector length. In this work, we leverage an important workload for quantum computing, quantum state-vector simulations, to understand whether high-performance portability can be achieved in a vector-length agnostic (VLA) design. We propose a VLA design and optimization techniques critical for achieving high performance, including VLEN-adaptive memory layout adjustment, load buffering, fine-grained loop control, and gate fusion-based arithmetic intensity adaptation. We provide an implementation in Google's Qsim and evaluate five quantum circuits of up to 36 qubits on three ARM processors, including NVIDIA Grace, AWS Graviton3, and Fujitsu A64FX. By defining new metrics and PMU events to quantify vectorization activities, we draw generic insights for future VLA designs. Our single-source implementation of VLA quantum simulations achieves up to 4.5x speedup on A64FX, 2.5x speedup on Grace, and 1.5x speedup on Graviton.
Motivation & Objective
- Assess current compiler support for VLA auto-vectorization on ARM architectures and its impact on quantum state-vector simulations.
- Propose and implement a VLA design for quantum state-vector simulations to improve portability and performance across ARM platforms.
- Evaluate performance across multiple ARM platforms using Google Qsim on five quantum circuits up to 36 qubits.
- Characterize vectorization activity with PMU events and derive design insights for future VLA architectures.
Proposed method
- Develop a VLA design for state-vector quantum simulations that uses a VLEN-adaptive memory layout, load buffering, and fine-grained loop control.
- Implement the VLA design using ARM SVE intrinsics (ACLE) to achieve portability across vector lengths.
- Apply gate fusion (vertical and horizontal) to adapt arithmetic intensity and approach hardware roofline limits.
- Partition state groups to threads to avoid synchronization and leverage vectorization within groups.
- Define metrics and PMU-based profiling to quantify vectorization activity and memory bottlenecks.

Experimental results
Research questions
- RQ1How effective is compiler auto-vectorization for VLA architectures in quantum state-vector simulations on ARM?
- RQ2What VLA-specific optimizations (memory layout, buffering, loop control) yield high performance in Qsim across ARM platforms?
- RQ3How does gate fusion influence arithmetic intensity and memory balance in VLA quantum simulations?
- RQ4What are the performance gains of a VLA design on different ARM processors (Grace, Graviton, A64FX) for representative circuits?
- RQ5What PMU metrics best characterize vectorization effectiveness and guide future VLA designs?
Key findings
- Auto-vectorization by compilers yields negligible performance gains for the studied Qsim kernels on ARM SVE.
- A VLA design with memory layout adaptation, buffering, and fine-grained loops yields substantial speedups: up to 4.5× on A64FX, 2.5× on Grace, and 1.5× on Graviton.
- SVE optimization increases vector instruction usage from ~20% to ~60% on Grace and from ~0% to ~40% on A64FX, indicating effective vectorization improvements.
- Gate fusion increases arithmetic intensity and helps approach the roofline; performance remains scalable up to 288 threads on the Jupiter node.
- The study highlights the importance of memory subsystem matching to vector units for high performance on VLA architectures.
- The implementation is single-source across platforms and evaluated on five circuits up to 36 qubits.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.