Cargo Features

TKET2 has no features set by default.

[dependencies]
tket2 = { version = "0.1.0-alpha.2", features = ["portmatching", "rewrite-tracing", "num-complex"] }
portmatching

Enables search and replace optimisation passes using the portmatching crate.

Enables portmatching and rmp-serde

Affects tket2::portmatching, rewrite::ecc_rewriter

rewrite-tracing

Stores a trace of the applied rewrites

Features from optional dependencies

num-complex implicit feature

Enables num-complex

num-complex:

Complex numbers implementation for Rust