Module ldpc::noise[][src]

Expand description

Tools to generate random errors.

Any type implementing the NoiseModel trait can be used to sample random errors. Most function needing random errors in this crate require a noise model.

Some standard noise models such as BinarySymmetricChannel are implemented.

Structs

A binary symmetric channel flips at bit with the given probrability.

A depolarizing noise channel apply one of the 3 non-trivial Pauli operator with the given probrability.

Traits