Skip to content

Commit ea2fd2e

Browse files
dstrain115rht
authored andcommitted
Change to use virtual engine in cirq_google docs (quantumlib#5858)
- Change to use noisy virtual engine in tutorial docs so that doc infra can run. These are not linked in the navigation anyway.
1 parent 7241de2 commit ea2fd2e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/tutorials/google/colab.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@
179179
"processor_id = \"\" #@param {type:\"string\"}\n",
180180
"\n",
181181
"from cirq_google.engine.qcs_notebook import get_qcs_objects_for_notebook\n",
182-
"qcs_objects = get_qcs_objects_for_notebook(project_id, processor_id)\n",
182+
"# For real engine instances, delete 'virtual=True' below.\n",
183+
"qcs_objects = get_qcs_objects_for_notebook(project_id, processor_id, virtual=True)\n",
183184
"engine = qcs_objects.engine\n",
184185
"processor_id = qcs_objects.processor_id"
185186
]

docs/tutorials/google/start.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@
142142
"processor_id = \"\" #@param {type:\"string\"}\n",
143143
"\n",
144144
"from cirq_google.engine.qcs_notebook import get_qcs_objects_for_notebook\n",
145-
"qcs_objects = get_qcs_objects_for_notebook(project_id, processor_id)\n",
145+
"# For real engine instances, delete 'virtual=True' below.\n",
146+
"qcs_objects = get_qcs_objects_for_notebook(project_id, processor_id, virtual=True)\n",
146147
"\n",
147148
"project_id = qcs_objects.project_id\n",
148149
"processor_id = qcs_objects.processor_id\n",

0 commit comments

Comments
 (0)