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

Update NoiseAwarePlacement::cost_placement to cost errors appropriately #944

Merged
merged 2 commits into from
Jul 21, 2023

Conversation

sjdilkes
Copy link
Contributor

@sjdilkes sjdilkes commented Jul 21, 2023

Fixes #943.

There are some cases where bi-directional edges with different error rates, both >= 1, can be given a "good" cost value, when they actually correspond to bad assignments. This PR updates the cost to only includes edges with < 1 error rate, meaning anything corresponding to complete noise is not considered.

@sjdilkes sjdilkes requested a review from yao-cqc July 21, 2023 12:06
@sjdilkes sjdilkes merged commit 1b25d79 into develop Jul 21, 2023
33 checks passed
@sjdilkes sjdilkes deleted the fix-noiseawareplacement branch July 21, 2023 13:25
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.

Incorrect assignment in NoiseAwarePlacement
2 participants