bicycle_benchmark

Crates.iobicycle_benchmark
lib.rsbicycle_benchmark
version0.1.0
created_at2025-07-31 16:07:10.589603+00
updated_at2025-07-31 16:07:10.589603+00
descriptionGenerates PBC circuits that can be used for benchmarking
homepage
repositoryhttps://github.com/qiskit-community/bicycle-architecture-compiler
max_upload_size
id1775259
size29,210
crates (github:qiskit:crates)

documentation

README

bicyle_benchmark

The 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"}}

Example benchmark

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.

Commit count: 0

cargo fmt