Accelerating Quantum State Encoding with SIMD: Design, Implementation, and Benchmarking
Riza Alaudin Syah, Irwan Alnarus Kautsar, Gunawan Witjaksono, Haza Nuzly Bin Abdull Hamed

TL;DR
This paper presents Hybriqu Encoder, a SIMD-optimized Rust kernel for angle encoding in quantum simulations, achieving notable speedups on Apple Silicon and highlighting architecture-aware optimization benefits.
Contribution
The work introduces a SIMD-aware, Rust-based kernel for angle encoding that improves quantum data encoding speed and integrates seamlessly with Python, emphasizing architecture-specific optimizations.
Findings
Pure angle encoding is 5.4% faster at 64 qubits on Apple Silicon.
Speedup increases when data exceeds L1 cache size.
Memory bandwidth limits prevent further speed improvements.
Abstract
Efficient data encoding is the main factor affecting how fast hybrid quantum-classical algorithms run, but traditional simulators spend most of their time changing classical features into quantum rotations. This work introduces Hybriqu Encoder, a Rust-based, SIMD-aware kernel that focuses exclusively on angle encoding and integrates transparently with Python via CFFI. The kernel processes four double-precision rotations at once using AVX-class vector lanes, combines data in a way that fits well with the cache and uses pre-calculated trigonometric factors, while keeping all unsafe operations within a safe Rust interface. Benchmarks on Apple Silicon show that using pure angle encoding is 5.4% faster at 64 qubits, and the speedup increases as the amount of data exceeds the L1 cache size, while kernels that quickly apply rotations to the entire state vector are limited by memory and do not…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
