Skip to content

Fix #7267: reorder cirq + cirq-rigetti module installation & import #7268

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

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions docs/hardware/rigetti/getting_started.ipynb
Original file line number Diff line number Diff line change
@@ -115,11 +115,12 @@
" import cirq\n",
" import cirq_rigetti\n",
"except ImportError:\n",
" print(\"installing cirq-rigetti...\")\n",
" !pip install --quiet cirq-rigetti\n",
" print(\"installed cirq-rigetti.\")\n",
" print(\"Installing packages cirq and cirq-rigetti...\")\n",
" !pip install --quiet cirq\n",
" import cirq\n",
" import cirq_rigetti"
" !pip install --quiet cirq-rigetti\n",
" import cirq_rigetti",
" print(\"Installed packages cirq and cirq-rigetti.\")\n"
]
},
{
@@ -128,7 +129,7 @@
"id": "jApPwKwJZ76B"
},
"source": [
"Running this notebook requires the pyQuil QVM and Compiler. If you are running on Google Colab or a Linux Debian machine, you can run the below cell to install them if necessary. If you are on a non-Linux Debian machine, see [these instructions](https://pyquil-docs.rigetti.com/en/stable/start.html#downloading-the-qvm-and-compiler){:.external} for installation."
"Running this notebook requires the pyQuil QVM and Compiler. If you are running on Google Colab or a Linux Debian machine, you can run the cell below to install them if necessary. If you are on a non-Linux Debian machine, see [these instructions](https://pyquil-docs.rigetti.com/en/stable/start.html#downloading-the-qvm-and-compiler){:.external} for installation."
]
},
{