-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Small fixes to make UnionFind run with real data (#355) * some quick hacks to try to make the UnionFind Decoder run with real data. Reversal of string in process() is not needed, and qubit-index fix for the correction * fixing unittests for unionfind * prevent infinite while loop * hacky avoidance of infinite loop * fix flatten nodes * improve cluster checking for ARCs * allow check_nodes to declare non-optimal clusters as neutral * remove bug test on while loop * make everything work! * improve printing of nodes * add minimal kwarg to check_nodes * change test to linear ARC * change test to linear ARC * use rep codes to test UF * put uf into standard form * don't test things that don't work * lint and black * move cluster processing to base * make all cluster methods use standard form * restore uf test file (but streamlined) * fix inconsistencies with logical strings --------- Co-authored-by: Milan Liepelt <[email protected]>
- Loading branch information
1 parent
603c677
commit ada699d
Showing
7 changed files
with
268 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.