Multi-Grovers Simulator
A fast and faithful simulation of Grover's quantum search algorithm, supporting multiple target indices and large qubit registers — implemented in pure Rust.
Features
- Simulation of Grover's Algorithm
- Multi-target oracle support
- Tracks amplitude growth per iteration
- Measurement histogram after repeated trials
- Benchmarks runtime and memory usage
- Exports results to
.csv
Usage
Build & Run
Configuration (via CLI)
Output
grover_summary.csv: amplitude data, performance stats, and measurement frequencies.
Example Output
Grover finished in 0.006s with final amp 0.4016
Saved: grover_summary.csv
Project Structure
src/
├── main.rs # CLI + entry point
├── runner.rs # Core simulation logic
└── utils.rs # CSV export and helper utilities
Requirements
- Rust 1.70+
randcrate for measurement simulationclapcrate for CLI parsing (to be added)
TODO
- Core Grover simulation
- Multi-target support
- Add CLI via
clap - Visual output (plotting)
- Optional: Export binary state
Related
If you like this project, check out:
trotter_qsim— for Trotterized quantum simulations
⚖License
MIT