Cargo Features

[dependencies]
qecp = { version = "0.2.4", default-features = false, features = ["python_binding", "blossom_v", "MWPM_reverse_order", "fusion_blossom"] }
default = fusion_blossom

to enable a feature, use --features xxx

python_binding = pyo3

by default to avoid using python interface

Affects util::PyMut, util::json_to_pyobject_locked, util::json_to_pyobject, util::pyobject_to_json_locked, util::pyobject_to_json

blossom_v

automatically enabled when file blossomV/PerfectMatching.h exists

MWPM_reverse_order

test the logical error rate arbitrariness of MWPM decoders, see articles/UFandMWPM.md

fusion_blossom default = fusion-blossom

Affects qecp::decoder_fusion, tool::SimulationWorker.fusion_blossom_syndrome_exporter

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.

pyo3 python_binding?

Enables pyo3 ^0.19.2

fusion-blossom fusion_blossom