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

PymatchingDecoder.matched_edges(): Error finding the matched edge in the decoding graph #429

Open
hetenyib opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hetenyib
Copy link
Contributor

Steps to reproduce the problem

Look for the index of the boundary node/nodes and interpret the outcome of pymatching.Matching.decode_to_edges_array() accordingly.

What is the current behavior?

Currently it is assumed that there is one boundary node in the graph that is the last on in the list. This is not true e.g., for ARC circuits.

What is the expected behavior?

The method should return the correct DecodingGraphEdge objects regardless of the node index of the boundary node, and it should work for multiple boundary nodes.

@hetenyib hetenyib added the bug Something isn't working label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant