Cargo Features

[dependencies]
tket2 = { version = "0.6.0", default-features = false, features = ["portmatching", "rewrite-tracing", "binary-eccs", "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

binary-eccs default

Support compressed binary encoded ECC files

Enables zstd

default = binary-eccs

The binary-eccs feature is set by default whenever tket2 is added without default-features = false somewhere in the dependency tree.

Features from optional dependencies

num-complex implicit feature

Enables num-complex

num-complex:

Complex numbers implementation for Rust