-
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
Remove deprecated use of cirq.google
in install guide
#4647
Conversation
Very minor fix. The install guide at https://quantumai.google/cirq/install has a validation step that references `cirq.google` which is a deprecated usage on new installs, example: ``` [amcnamara] > python -c 'import cirq; print(cirq.google.Foxtail)' <string>:1: DeprecationWarning: cirq.google was used but is deprecated. it will be removed in cirq v0.14. Use cirq_google instead. (0, 0)───(0, 1)───(0, 2)───(0, 3)───(0, 4)───(0, 5)───(0, 6)───(0, 7)───(0, 8)───(0, 9)───(0, 10) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ (1, 0)───(1, 1)───(1, 2)───(1, 3)───(1, 4)───(1, 5)───(1, 6)───(1, 7)───(1, 8)───(1, 9)───(1, 10) [amcnamara] > python -c 'import cirq_google; print(cirq_google.Foxtail)' (0, 0)───(0, 1)───(0, 2)───(0, 3)───(0, 4)───(0, 5)───(0, 6)───(0, 7)───(0, 8)───(0, 9)───(0, 10) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ (1, 0)───(1, 1)───(1, 2)───(1, 3)───(1, 4)───(1, 5)───(1, 6)───(1, 7)───(1, 8)───(1, 9)───(1, 10) ```
Looks like there are a few other references to
I'm happy to go through these individually and verify they all match up with the new module if that's useful, but it'll take a while. |
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.
but it'll take a while.
In that case I may do a follow up so we spend as few days as possible with broken docs.
Follow up from #4647 replacing the rest of the uses of `cirq.google` in the `docs`.
) Very minor fix. The install guide at https://quantumai.google/cirq/install has a validation step that references `cirq.google` which is a deprecated usage on new installs, example: ``` [amcnamara] > python -c 'import cirq; print(cirq.google.Foxtail)' <string>:1: DeprecationWarning: cirq.google was used but is deprecated. it will be removed in cirq v0.14. Use cirq_google instead. (0, 0)───(0, 1)───(0, 2)───(0, 3)───(0, 4)───(0, 5)───(0, 6)───(0, 7)───(0, 8)───(0, 9)───(0, 10) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ (1, 0)───(1, 1)───(1, 2)───(1, 3)───(1, 4)───(1, 5)───(1, 6)───(1, 7)───(1, 8)───(1, 9)───(1, 10) [amcnamara] > python -c 'import cirq_google; print(cirq_google.Foxtail)' (0, 0)───(0, 1)───(0, 2)───(0, 3)───(0, 4)───(0, 5)───(0, 6)───(0, 7)───(0, 8)───(0, 9)───(0, 10) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ (1, 0)───(1, 1)───(1, 2)───(1, 3)───(1, 4)───(1, 5)───(1, 6)───(1, 7)───(1, 8)───(1, 9)───(1, 10) ```
Follow up from quantumlib#4647 replacing the rest of the uses of `cirq.google` in the `docs`.
Very minor fix. The install guide at https://quantumai.google/cirq/install has a validation step that references
cirq.google
which is a deprecated usage on new installs, example: