Skip to content

Support the use of pymatching-correlated #498

Description

@perlinm

We currently need to either decompose or ignore non-graphlike errors to decode with MWPM. As pointed out by @HaoTy, however, pymatching supports correlated decoding of Y errors. We should be able to call the correlated decoder as well.

A note on implementation: pymatching only supports correlated decoding for an observable decoder constructed from a DEM, whereas qldpc currently always calls pymatching.Matching.from_check_matrix. So decoders.SinterDecoder needs to intercept the with_MWPM=True argument to call pymatching.Matching.from_detector_error_model (with enable_correlations=True).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions