Cargo Features
[dependencies]
roqoqo = { version = "1.16.1", default-features = false, features = ["dynamic", "unstable_qoqo_devices", "serialize", "overrotate", "async", "json_schema", "circuitdag", "unstable_chain_with_environment", "unstable_analog_operations", "unstable_operation_definition"] }
- default = circuitdag, serialize
-
These default features are set whenever
roqoqo
is added without
somewhere in the dependency tree.default-features = false - 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 ^0.15 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 ~1.2
- circuitdag default = petgraph
- unstable_chain_with_environment
-
Affects
devices::ChainAndEnvironment
,devices::ChainWithEnvironmentDevice
… - unstable_analog_operations
-
Affects
operations::OperateSpinsAnalog
… - unstable_operation_definition
-
Affects
define_operations::GateDefinition
,multi_qubit_gate_operations::CallDefinedGate
…
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.