-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Update cirq requirement from <1.3.0,>=1.0.0 to >=1.0.0,<1.4.0 #2107
Update cirq requirement from <1.3.0,>=1.0.0 to >=1.0.0,<1.4.0 #2107
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2107 +/- ##
==========================================
+ Coverage 98.21% 98.24% +0.02%
==========================================
Files 87 87
Lines 4156 4157 +1
==========================================
+ Hits 4082 4084 +2
+ Misses 74 73 -1 ☔ View full report in Codecov by Sentry. |
Updates the requirements on [cirq](https://github.com/quantumlib/cirq) to permit the latest version. - [Release notes](https://github.com/quantumlib/cirq/releases) - [Changelog](https://github.com/quantumlib/Cirq/blob/main/release.md) - [Commits](quantumlib/Cirq@v1.0.0...v1.3.0) --- updated-dependencies: - dependency-name: cirq dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
1b6805a
to
5a199b3
Compare
since the method `_all_qubits` was added to cirq.Circuit objects in the 1.3.0 release, and the circuit objects that are read in from a file are older, they do not have the `_all_qubits` property which cirq code now expects. IMO this is good reason not to use pickling for class specific objects. Cirq docs recommend JSON for serializing circuits.
minor formatting changes + code formatting
<!-- | ||
![png](../img/rshadows_compare_channels.png) | ||
--> |
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.
From the diff it seems that some images have been removed. Is this necessary?
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.
Ah so this is actually a markdown image that was commented out (surrounding by <!--
and -->
). I checked that img/rshadows_compare_channels.png
does not exist, and the code above this part (and another) does generate the image. So just removing dead lines.
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.
Ah, I missed they were just comments. Thanks for removing them.
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.
Nice workaround for recovering compatibility with old circuits!
Updates the requirements on cirq to permit the latest version.
Release notes
Sourced from cirq's releases.
... (truncated)
Commits
7df83d7
Removing 1.3.0.dev -> 1.3.09b65f68
Remote problematic terminology from test (#6368)dbbca73
Change master to main in documentation (#6365)ced1383
Restore code coverage (#6364)3ac43f6
Switch master to main in CI tools and dev tools (#6363)3c6a305
Deprecate Cirq-FT module in favour of Qualtran (#6362)cf973a5
Remove leftover dummy terms from the Cirq sources (#6358)9142f6a
Fix MacOS installation instructions for mactex with brew (#6361)6aa9d0d
Cleanup classical simulator code and fix a couple of bugs (#6344)a55f962
Fix typos in the documentation. (#6359)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)