Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "hypergraph_union_find" and "mw_parity_factor" decoders to sinter #837

Merged
merged 8 commits into from
Sep 24, 2024

Conversation

Strilanc
Copy link
Collaborator

(This PR is just a merge-conflict-resolved version of #815)

This is a simple adaptation of the mwpf' python package to sinter. Just copied the _decoding_fusion.pyand modify it accordingly to let the decoder consider hyperedges. Tested using thegetting_started.ipynb` and they run decoding without a problem.

I haven't added any test cases for this, since I didn't find a test case for fusion_blossom decoder as well. Please let me know where should I put a basic test case for the new decoders!

The existing unit tests automatically iterate over the defined decoders and run them through some basic sanity checks.

Authored by @yuewuo

@Strilanc Strilanc enabled auto-merge (squash) September 24, 2024 06:33
@Strilanc Strilanc merged commit df99302 into main Sep 24, 2024
57 checks passed
@Strilanc Strilanc deleted the yuewuodecoders branch September 24, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants