-
Notifications
You must be signed in to change notification settings - Fork 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
cirq-google: Remove SerializableGateSet #5762
cirq-google: Remove SerializableGateSet #5762
Conversation
Necessary for SerializableGateSet deprecation. The only remaining parts of `common_serializers.py` after removing all deprecations are `CIRCUIT_OP_[DE]SERIALIZER`, and they don't have tests in this file.
7a086e6
to
b5863ef
Compare
Test failure is from: Cirq/cirq-google/cirq_google/serialization/arg_func_langs_test.py Lines 156 to 172 in a2fd902
Wanted to double check that defaulting to |
Yeah, this is just the operators supported by sympy symbols. I think we should support 'exp' (ie. +, -, *, /, and **) |
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
First few commits are from #5762 @dstrain115
Thank you, `SerializableGateSet`! @dstrain115
First few commits are from quantumlib#5762 @dstrain115
Long past the `v0.16` deprecation deadline. The constant were invalid for almost 2 years after quantumlib#5762.
* Remove deprecated constants from cirq_google module. Long past the `v0.16` deprecation deadline, constants were invalid for almost 2 years after #5762. * Remove deprecated method `cirq_google.Engine.sampler()` Long past the `v1.0` deprecation deadline. * Purge deprecated arguments to `EngineProcessor.list_calibrations` `earliest_timestamp_seconds` and `latest_timestamp_seconds` are long past the `v1.0` deadline. * Remove deprecated function `cirq_ionq.ionq_devices.decompose_to_device`. Long past the `v0.16` deadline. Ref: https://github.com/quantumlib/Cirq/blob/main/release.md#before-you-release-flush-the-deprecation-backlog
Thank you,
SerializableGateSet
!@dstrain115