.PHONY: all build test bench bench-smoke bench-full baseline compare fmt clippy check clean
all: fmt clippy test
build:
cargo build --release
check:
cargo check --all-targets
fmt:
cargo fmt --all -- --check
clippy:
cargo clippy --all-targets --all-features -- -D warnings -D clippy::undocumented_unsafe_blocks
test:
cargo test
bench-smoke:
cargo bench -- --warm-up-time 1 --measurement-time 3 --sample-size 10 "single_qubit_gates/h_gate/4"
bench-full:
cargo bench
baseline:
./scripts/bench_baseline.sh
compare:
./scripts/bench_compare.sh
clean:
cargo clean