prism-q 0.20.0

PRISM-Q: Performance Rust Interoperable Simulator for Quantum
Documentation
# Benchmarks

Wall-clock simulation time for PRISM-Q on a fixed circuit suite built from the `prism_q::circuits` generators, pushed toward this machine's limits. Every number is reproducible with the command at the bottom of this page.

<!-- Generated by `cargo run --example bench_suite`. Do not edit by hand. -->

## Setup

- Date: 2026-05-29
- CPU: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
- Threads available: 8
- PRISM-Q version: 0.16.0

## Methodology

- Metric: median wall-clock over repeated runs after warmup, lower is better.
- Timed region is simulation only. Circuit construction happens once per circuit outside the timer.
- Timings use the full `simulate().run()` path, including the fusion pass and probability extraction.
- `auto` lets backend dispatch choose a specialized backend per circuit. The dense families (QFT, HEA, QV) are bounded by the statevector memory cap; GHZ is Clifford and runs into the thousands of qubits on the stabilizer backend. QV uses square depth, so its gate count grows with the qubit count and it is compute-bound earlier than the fixed-depth families.

## GHZ

| Qubits | auto |
|---|---|
| 24 | 37.9 us |
| 28 | 79.2 us |
| 256 | 825.8 us |
| 1024 | 2.73 ms |
| 4096 | 35.97 ms |

## QFT

| Qubits | auto |
|---|---|
| 16 | 715.0 us |
| 20 | 25.34 ms |
| 24 | 639.72 ms |
| 26 | 3.786 s |
| 28 | 17.727 s |

## HEA

| Qubits | auto |
|---|---|
| 16 | 3.49 ms |
| 20 | 63.81 ms |
| 24 | 1.588 s |
| 26 | 7.330 s |
| 28 | 33.303 s |

## QV

| Qubits | auto |
|---|---|
| 16 | 7.73 ms |
| 20 | 190.02 ms |
| 24 | 5.811 s |

## Reproducing

```bash
cargo run --release --features parallel --example bench_suite
```

Times PRISM-Q on every circuit in the suite and rewrites this page.