Source codes for benchmarking batched quantum circuit simulations with various numbers of qubits and batch sizes.
This repository compares Scaluq with several popular quantum circuit simulators and state vector libraries that support double-precision simulation.
Benchmarks are performed with:
- multi-thread execution
- GPU acceleration include execution of single circuit and batched circuits
The benchmark uses layered random quantum circuits consisting of nearest-neighbor entangling gates and random single-qubit rotations.
For each layer and each qubit q, the following operations are applied:
where [0, 2π).
The resulting circuit forms a ring-type entangling structure because the last qubit is connected to the first qubit by a CX gate.
The same circuit is repeatedly applied to batched state vectors for performance measurements.
The benchmark codes are inspired by the benchmark project by Roger-luo, although the benchmark circuits and implementations used in this repository are different.
Installed library versions and environment information are listed in the systeminfo directory.
Benchmark source codes are stored in the benchmark directory, and plotted figures are generated into the image directory.