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

370 speedup #371

Merged
merged 11 commits into from
Jun 2, 2023
Merged

370 speedup #371

merged 11 commits into from
Jun 2, 2023

Conversation

quantumjim
Copy link
Member

Summary

Makes some small changes to speed up calculations (10x increase for get_error_probs).

@quantumjim quantumjim marked this pull request as draft May 11, 2023 14:06
@quantumjim quantumjim marked this pull request as ready for review May 22, 2023 15:47
@quantumjim quantumjim requested a review from a user May 23, 2023 07:11
@quantumjim
Copy link
Member Author

When preparing this, I noticed a TODO in the tests that annoyed me, so I fixed that too. I also noticed that a default value in ArcCircuit is lower than it should be, and updated it.

Copy link
Collaborator

@grace-harper grace-harper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@grace-harper grace-harper merged commit 433c7b3 into main Jun 2, 2023
grace-harper pushed a commit that referenced this pull request Oct 2, 2023
* use sets rather than lists

* speed up check_nodes

* speed up check nodes

* add lower bound errors for flattened nodes

* undo flattened node count

* reinstate flatten nodes

* expand UF tests

* use higher defaulty value for 202s

* fix tests
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