-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Improve debugability of TwoQubitWeylDecomposition assertRoundTrip failures #11797
Conversation
Move requested_fidelity assertion earlier in sequence, before making assertions that are downstream of that.
One or more of the the following people are requested to review this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine to do, but I'm not sure it's going to help the debugging - the test failures in the linked PR show equal requested_fidelity
in the two repr
s.
Yeah, it's rather grasping at straws but I have fixed issues where numpy floats are not displayed with correct rounding |
Sure yeah, it makes sense. |
Pull Request Test Coverage Report for Build 7904465022Details
💛 - Coveralls |
This comment was marked as spam.
This comment was marked as spam.
Move requested_fidelity assertion earlier in sequence, before making assertions that are downstream of that. (cherry picked from commit 12847e8)
Move requested_fidelity assertion earlier in sequence, before making assertions that are downstream of that.
Might make debugging issues like #11676 easier.