-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Treat default gate families with tags_to_ignore or tags_to_accept as custom gate families in Gatesets #5553
Treat default gate families with tags_to_ignore or tags_to_accept as custom gate families in Gatesets #5553
Conversation
…custom gate families
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.
Perhaps we should test the behavior of tags_to_ignore/tags_to_accept separately.
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.
Thanks for the fix!
If you don't mind, could you also help me uncomment this test case in this PR? Let me know if that ends up breaking tests.
Cirq/cirq-google/cirq_google/devices/known_devices_test.py
Lines 509 to 512 in 70487fd
# Broken due to issue #5543. | |
# TODO(#5543) Uncomment | |
# cirq.Z, | |
# cirq.Z(q0).with_tags(cirq_google.PhysicalZTag()), |
@verult @pavoljuhas I've addressed all comments, this is ready for a re-review. |
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.
Thanks! LGTM
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.
LGTM, thank you!
…custom gate families in Gatesets (quantumlib#5553) * Treat default gate families with tags_to_ignore or tags_to_accept as custom gate families * Add more tests and uncomment known_devices_test * Replace equals with is
…custom gate families in Gatesets (quantumlib#5553) * Treat default gate families with tags_to_ignore or tags_to_accept as custom gate families * Add more tests and uncomment known_devices_test * Replace equals with is
Fixes #5543