Cargo Features

[dependencies]
roqoqo = { version = "1.11.0", default-features = false, features = ["dynamic", "unstable_qoqo_devices", "serialize", "overrotate", "async", "json_schema", "circuitdag", "unstable_chain_with_environment", "unstable_analog_operations"] }
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

unstable_qoqo_devices

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
unstable_chain_with_environment

Affects devices::ChainAndEnvironment, devices::ChainWithEnvironmentDevice

unstable_analog_operations

Affects operations::OperateSpinsAnalog

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde serialize
dyn-clone dynamic?
typetag dynamic?
schemars json_schema?
jsonschema json_schema?
rand_distr overrotate?
async-trait async?
futures async?
petgraph circuitdag serialize
bincode serialize