| Crates.io | bicycle_benchmark |
| lib.rs | bicycle_benchmark |
| version | 0.1.0 |
| created_at | 2025-07-31 16:07:10.589603+00 |
| updated_at | 2025-07-31 16:07:10.589603+00 |
| description | Generates PBC circuits that can be used for benchmarking |
| homepage | |
| repository | https://github.com/qiskit-community/bicycle-architecture-compiler |
| max_upload_size | |
| id | 1775259 |
| size | 29,210 |
bicyle_benchmarkThe executable bicycle_benchmark prints an infinite stream random of nqubit
Pauli-based rotations to stdout that have angle $\pi/4$ to a high accuracy.
The executable is invoked like this.
bicycle_benchmark nqubits
An example output of a rotation instruction printed for nqubits equal to 3 is
{"Rotation":{"basis":["I","Y","Y"],"angle":"0.78539816339744830961566084581"}}
The executable bicycle_benchmark can be used like this
cargo run --package bicycle_benchmark <args> | cargo run --package bicycle_compiler <args> | cargo run --package bicycle_numerics <args>
However, the executable bicycle_random_numerics, found in the crate of the same name,
instead uses the library function bicycle_benchmark::random::random_rotations.
This is in order to avoid the overhead of (de)serialization to JSON.