bicycle_benchmark 0.2.1

Generates PBC circuits that can be used for benchmarking
Documentation

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.