-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Remove previously deprecated fields in cirq_google proto #7183
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
Conversation
dstrain115
commented
Mar 25, 2025
- Removes schedule (not used in 5+ years)
- Removes gate and args (not used since v2.5, 3+ years)
- Removes checks on gate set and language.
- Removes tests that use the above.
- Removes schedule (not used in 5+ years) - Removes gate and args (not used since v2.5, 3+ years) - Removes checks on gate set and language. - Removes tests that use the above.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7183 +/- ##
==========================================
- Coverage 98.66% 98.65% -0.01%
==========================================
Files 1106 1106
Lines 95914 95870 -44
==========================================
- Hits 94630 94583 -47
- Misses 1284 1287 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
These fields are still used by Quantum Engine. Please see b/406240865 for more details and to track cleanup work. |
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 for Cirq, please hold this for a green light from wcourtney.
PS: protofmt found some nits -
diff --git a/cirq-google/cirq_google/api/v2/program.proto b/cirq-google/cirq_google/api/v2/program.proto
index 7bc27788..d90ec97c 100644
--- a/cirq-google/cirq_google/api/v2/program.proto
+++ b/cirq-google/cirq_google/api/v2/program.proto
@@ -206,3 +206,3 @@ message Operation {
// Previously deprecated fields. Do not use.
- reserved 1,2;
+ reserved 1, 2;
@@ -235,3 +235,3 @@ message Operation {
// will only be populated in v2.5+
- repeated Qubit qubits = 3 [deprecated=true];
+ repeated Qubit qubits = 3 [deprecated = true];
repeated int32 qubit_constant_index = 6;
@wcourtney Are we good to submit this now? |
Yes, the uses of these protos have been removed and pushed to prod. |
…7183) * Remove previously deprecated fields in cirq_google proto - Removes schedule (not used in 5+ years) - Removes gate and args (not used since v2.5, 3+ years) - Removes checks on gate set and language. - Removes tests that use the above. * Take care of deprecated usage in test. * Another broken test. * Remove another test * Remove engine test with bad gateset * Put back test. * Add back lint issue. --------- Co-authored-by: Pavol Juhas <juhas@google.com>