About Scaluq
Scaluq is a newly redeveloped Python/C++ library based on the quantum circuit simulator Qulacs. It enables high-speed simulation of large-scale quantum circuits, noisy quantum circuits, and parametric quantum circuits. Scaluq is licensed under the MIT license.
Feature
Compared to Qulacs, the following improvements have been made:
Implementation based on Kokkos allows seamless switching between execution environments (CPU/GPU) without requiring code changes.
Improved execution speed.
Pointers are hidden from users, making the code simpler and safer to write.
Integration of nanobind enables more compact and faster Python bindings.
Provides batched execution for efficiently applying quantum circuits with the same structure but different parameters to multiple quantum states.
Performance
The execution times of our quantum circuit simulator and several existing quantum circuit simulators were compared.
In this benchmark, a circuit consisting of CX, RX, and RZ gates applied sequentially to different target qubits was executed, and the average execution time was measured.
Single State Vector Update (January 2026)
CPU result

GPU result

Batched State Vector Update (May 2026)
Varying batch size (#qubits=16)

Varying #qubits (batch size=100)

Build Requirements
Ninja ≥ 1.10
GCC ≥ 11 (≥ 13 if not using CUDA)
CMake ≥ 3.24
CUDA ≥ 12.6 (only when using CUDA)
Python ≥ 3.10 (only when using Python)
When using CUDA, use a host compiler version supported by your CUDA toolkit (see the CUDA Installation Guide Host Compiler Support Policy).
Note: It may work with lower versions, but this has not been verified.
Runtime Requirements
CUDA ≥ 12.6 (only when using CUDA)
Note: It may work with lower versions, but this has not been verified.