-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Make QVM notebooks use development version of cirq_google #7439
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
Make QVM notebooks use development version of cirq_google #7439
Conversation
Problem: QVM notebooks would use the last stable cirq_google if imported before package upgrade. Solution: Import cirq_google only after its possible upgrade. Fixes b/425769714
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7439 +/- ##
==========================================
- Coverage 98.70% 98.70% -0.01%
==========================================
Files 1119 1119
Lines 98438 98438
==========================================
- Hits 97161 97160 -1
- Misses 1277 1278 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Minor typo fix.
docs/hardware/qubit_picking.ipynb
Outdated
" from cirq_google.engine import load_device_noise_properties as _\n", | ||
" # raise ImportError when cirq is not new enough\n", | ||
" if cirq.__version__ == \"1.5.0\":\n", | ||
" raise ImportError(\"This notebook requires development version of Cirq\")\n", |
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.
"requires development" → "requires the development".
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.
done in fa111aa, thanks for flagging this.
…#7439) Problem: QVM notebooks would use the last stable cirq_google if imported before package upgrade. Solution: Import cirq_google only after its possible upgrade. Fixes b/425769714
Problem: QVM notebooks would use the last stable cirq_google
if imported before package upgrade.
Solution: Import cirq_google only after its possible upgrade.
Fixes b/425769714