Skip to content

Commit

Permalink
Change to use virtual engine in cirq_google docs (#5858)
Browse files Browse the repository at this point in the history
- Change to use noisy virtual engine in tutorial docs
so that doc infra can run.  These are not linked in the navigation
anyway.
  • Loading branch information
dstrain115 committed Sep 6, 2022
1 parent 0781f16 commit f137aac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/tutorials/google/colab.ipynb
Expand Up @@ -179,7 +179,8 @@
"processor_id = \"\" #@param {type:\"string\"}\n",
"\n",
"from cirq_google.engine.qcs_notebook import get_qcs_objects_for_notebook\n",
"qcs_objects = get_qcs_objects_for_notebook(project_id, processor_id)\n",
"# For real engine instances, delete 'virtual=True' below.\n",
"qcs_objects = get_qcs_objects_for_notebook(project_id, processor_id, virtual=True)\n",
"engine = qcs_objects.engine\n",
"processor_id = qcs_objects.processor_id"
]
Expand Down
3 changes: 2 additions & 1 deletion docs/tutorials/google/start.ipynb
Expand Up @@ -142,7 +142,8 @@
"processor_id = \"\" #@param {type:\"string\"}\n",
"\n",
"from cirq_google.engine.qcs_notebook import get_qcs_objects_for_notebook\n",
"qcs_objects = get_qcs_objects_for_notebook(project_id, processor_id)\n",
"# For real engine instances, delete 'virtual=True' below.\n",
"qcs_objects = get_qcs_objects_for_notebook(project_id, processor_id, virtual=True)\n",
"\n",
"project_id = qcs_objects.project_id\n",
"processor_id = qcs_objects.processor_id\n",
Expand Down

0 comments on commit f137aac

Please sign in to comment.