Skip to content

Commit

Permalink
Remove deprecated use of cirq.google in install guide (#4647)
Browse files Browse the repository at this point in the history
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)
```
  • Loading branch information
amcnamara authored Nov 9, 2021
1 parent 6f71b55 commit 6fdad5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To be informed of deprecations and breaking changes, subscribe to the
4. Check that it works!
```bash
python -c 'import cirq; print(cirq.google.Foxtail)'
python -c 'import cirq_google; print(cirq_google.Foxtail)'
# should print:
# (0, 0)───(0, 1)───(0, 2)───(0, 3)───(0, 4)───(0, 5)───(0, 6)───(0, 7)───(0, 8)───(0, 9)───(0, 10)
# │ │ │ │ │ │ │ │ │ │ │
Expand Down Expand Up @@ -92,7 +92,7 @@ To be informed of deprecations and breaking changes, subscribe to the
4. Check that it works!
```bash
python -c 'import cirq; print(cirq.google.Foxtail)'
python -c 'import cirq_google; print(cirq_google.Foxtail)'
# should print:
# (0, 0)───(0, 1)───(0, 2)───(0, 3)───(0, 4)───(0, 5)───(0, 6)───(0, 7)───(0, 8)───(0, 9)───(0, 10)
# │ │ │ │ │ │ │ │ │ │ │
Expand Down Expand Up @@ -125,7 +125,7 @@ To be informed of deprecations and breaking changes, subscribe to the
4. Check that it works!

```bash
python -c "import cirq; print(cirq.google.Foxtail)"
python -c "import cirq_google; print(cirq_google.Foxtail)"
# should print:
# (0, 0)───(0, 1)───(0, 2)───(0, 3)───(0, 4)───(0, 5)───(0, 6)───(0, 7)───(0, 8)───(0, 9)───(0, 10)
# │ │ │ │ │ │ │ │ │ │ │
Expand Down

0 comments on commit 6fdad5f

Please sign in to comment.