Cargo Features

[dependencies]
qecp = { version = "0.2.7", default-features = false, features = ["python_binding", "blossom_v", "MWPM_reverse_order", "fusion_blossom", "include_different_type_edges"] }
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, qecp::decoder_parallel_fusion, tool::SimulationWorker.fusion_blossom_syndrome_exporter

include_different_type_edges

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