Skip to content
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

Change to use virtual engine in cirq_google docs #5858

Merged
merged 2 commits into from Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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