Cargo Features

roqoqo = { version = "1.8.0-alpha.2", default-features = false, features = ["dynamic", "unstable_qoqo_devices", "serialize", "overrotate", "async", "json_schema", "circuitdag"] }
default = circuitdag, serialize

These default features are set whenever roqoqo is added without default-features = false somewhere in the dependency tree.

dynamic = dyn-clone, typetag

Affects operations::Operate, operations::SubstituteDyn, operations::DynOperation


Affects devices::QoqoDevice

serialize default json_schema? = bincode, serde

Enables serde-1 of petgraph, serde of ndarray and num-complex

overrotate = rand_distr

Enables overrotate of roqoqo-derive

Affects operations::Rotate.overrotate

async = async-trait, futures

Affects backends::AsyncEvaluatingBackend, measurements::MeasureExpectationValues.async_evaluate

json_schema = jsonschema, schemars, serialize

Enables json_schema of qoqo_calculator

circuitdag default = petgraph

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde serialize

With derive and default (std)

dyn-clone dynamic?
typetag dynamic?
schemars json_schema?

With default (derive)

jsonschema json_schema?

With default features

rand_distr overrotate?

With default (std)

async-trait async?
futures async?

With default features

petgraph circuitdag

With default features

bincode serialize