Cargo Features

[dependencies]
qoqo = { version = "1.16.1", default-features = false, features = ["extension-module", "circuitdag", "json_schema", "doc_generator", "unstable_chain_with_environment", "unstable_analog_operations", "unstable_operation_definition"] }
default = extension-module, json_schema

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

extension-module default = circuitdag

Enables extension-module of pyo3 ^0.21

pyo3:

Use this feature when building an extension module.
It tells the linker to keep the python symbols unresolved,
so that the module can also be used with statically linked python interpreters.

circuitdag extension-module

Enables circuitdag of roqoqo

json_schema default

Enables json_schema of roqoqo

doc_generator
unstable_chain_with_environment

Enables unstable_chain_with_environment of qoqo-macros and roqoqo

Affects devices::ChainWithEnvironmentCapsule

unstable_analog_operations

Enables unstable_analog_operations of roqoqo

unstable_operation_definition

Enables unstable_operation_definition of roqoqo

Affects define_operations::GateDefinition, multi_qubit_gate_operations::CallDefinedGateWrapper