-
Notifications
You must be signed in to change notification settings - Fork 989
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
Remove cirq.google reference from contrib.quantum_volume and contrib.routing #3888
Remove cirq.google reference from contrib.quantum_volume and contrib.routing #3888
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
Only one item catches my eye here, otherwise looks good to go.
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.
suggest using graphs instead of topology implicit in gridqubits. I think this should be an easy change.
Co-authored-by: Matthew Harrigan <matthew.harrigan@outlook.com>
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
I signed a CLA for my personal email, which apparently is how the suggested changes get attributed |
…e_from_quantum_volume
…t/Cirq into remove_google_from_quantum_volume
Enables testing without the existence of cirq.google. Namely: - check/pytest gets a `--cirq-only` arg, that deletes the cirq/google directory and runs pytest - also adds a new CI job just for this reason - this forced the removal of some remaining cirq.google references from cirq core and some was made optional (see next point) - cirq.google references can still be made from tests but they will be skipped using `@cirq.testing.skip_if_module_not_exists(module="cirq.google")` - the examples folder, performance benchmarking are places where this is okay. In other places this is considered technical debt and we'll need to figure out how to remove those instances cleanly (probably by creating the test infra for those features that the modules can call into) Note: this should be merged after #3888 (it is merged into this branch). Closes #3737.
Deprecates
cirq.contrib.routing.xmon_device_to_graph
and removes references to cirq.google inquantum_volume
androuting
packages.Related to #3737.
cc @mpharrigan