quantumgizmos / ldpc

Software for decoding classical and quantum codes
MIT License
79 stars 27 forks source link

Implement `compile_decoder_for_dem` for best performance from sinter #32

Open Strilanc opened 9 months ago

Strilanc commented 9 months ago

The method that decodes from disk works, but it is much worse than the one that first configures the decoder and then uses it many times so it can work in memory.

Example: https://github.com/quantumlib/Stim/blob/main/glue/sample/src/sinter/_decoding_pymatching.py#L24