-
Notifications
You must be signed in to change notification settings - Fork 57
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
Allow wire_symbol() to handle multiple named selection registers. #1563
Conversation
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.
Can you add a small test that would have caught the bug?
selection registers which follow the naming pattern "selection<number>".
selection registers which follow the naming pattern "selection<number>".
@@ -124,6 +165,7 @@ def test_qroam_clean_classical_sim(): | |||
assert bloq_inv.call_classically( | |||
selection0=x, selection1=y, target0_=vals[2], junk_target0_=vals[3] | |||
) == (x, y) | |||
print(bloq_inv) |
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.
extraneous print
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.
Removed. I think it must have just been a bad push by me as I learn how to use Git.
Head branch was pushed to by a user without write access
QROAMClean
#1541.