Skip to content

Commit 4bea360

Browse files
committed
Indicate that docs/simulate/virtual_engine_interface.ipynb depends on unreleased features
1 parent 86b38ab commit 4bea360

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

dev_tools/notebooks/isolated_notebook_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
'docs/simulate/noisy_simulation.ipynb',
4949
'docs/simulate/quantum_virtual_machine.ipynb',
5050
'docs/simulate/qvm_basic_example.ipynb',
51+
# Remove once the renaming of `whitelisted_users` -> `allowlisted_users`
52+
# throughout cirq_google is released.
53+
'docs/simulate/virtual_engine_interface.ipynb',
5154
]
5255

5356
# By default all notebooks should be tested, however, this list contains exceptions to the rule
@@ -67,8 +70,6 @@
6770
# temporary: need to fix QVM metrics and device spec
6871
'docs/tutorials/google/spin_echoes.ipynb',
6972
'docs/tutorials/google/visualizing_calibration_metrics.ipynb',
70-
# temporary: allow name changes of keyword arguments in quantum engine interfaces to stabilize
71-
'docs/simulate/virtual_engine_interface.ipynb',
7273
]
7374
SKIP_NOTEBOOKS += [
7475
# notebooks that import the examples module which is not installed with cirq

docs/simulate/virtual_engine_interface.ipynb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
"# limitations under the License."
3232
]
3333
},
34+
{
35+
"cell_type": "markdown",
36+
"metadata": {
37+
"id": "ff0101ac0724"
38+
},
39+
"source": [
40+
"Note: this notebook relies on unreleased Cirq features. If you want to try these features, make sure you install cirq-google via `pip install --upgrade cirq-google~=1.0.dev`."
41+
]
42+
},
3443
{
3544
"cell_type": "markdown",
3645
"metadata": {
@@ -97,7 +106,7 @@
97106
" import cirq_google\n",
98107
"except ImportError:\n",
99108
" print(\"installing cirq...\")\n",
100-
" !pip install --quiet cirq~=1.0.dev cirq-google~=1.0.dev\n",
109+
" !pip install --upgrade --quiet cirq~=1.0.dev cirq-google~=1.0.dev\n",
101110
" print(\"installed cirq.\")\n",
102111
" import cirq\n",
103112
" import cirq_google\n",

0 commit comments

Comments
 (0)