Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@
"metadata": {},
"source": [
"### Circuit to Tensors\n",
"The circuit defines a tensor network representation. By default, the initial state is the `|0...0>` state (represented by the \"zero qubit\" operations labeled \"Q0\" in the legend. \"Q1\" are single qubit operations and \"Q2\" are two qubit operations. The open legs are the indices into the state vector and are of the form \"i{m}_q{n}\" where `m` is the time index (given by the returned `qubit_frontier` dictionary) and \"n\" is the qubit string.\n",
"\n",
"Note: this notebook relies on unreleased Cirq features. If you want to try these features, make sure you install cirq via `pip install --upgrade cirq~=1.0.dev`."
"The circuit defines a tensor network representation. By default, the initial state is the `|0...0>` state (represented by the \"zero qubit\" operations labeled \"Q0\" in the legend. \"Q1\" are single qubit operations and \"Q2\" are two qubit operations. The open legs are the indices into the state vector and are of the form \"i{m}_q{n}\" where `m` is the time index (given by the returned `qubit_frontier` dictionary) and \"n\" is the qubit string."
]
},
{
Expand Down
11 changes: 4 additions & 7 deletions cirq-core/cirq/contrib/quimb/Contract-a-Grid-Circuit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup\n",
"Note: this notebook relies on unreleased Cirq features. If you want to try these features, make sure you install cirq via `pip install --upgrade cirq~=1.0.dev`."
"## Setup"
]
},
{
Expand All @@ -20,14 +19,14 @@
" import cirq\n",
"except ImportError:\n",
" print(\"installing cirq...\")\n",
" !pip install --upgrade --quiet cirq~=1.0.dev\n",
" !pip install --quiet cirq\n",
" print(\"installed cirq.\")\n",
"\n",
"try:\n",
" import quimb\n",
"except ImportError:\n",
" print(\"installing cirq-core[contrib]...\")\n",
" !pip install --upgrade --quiet 'cirq-core[contrib]~=1.0.dev'\n",
" !pip install --quiet 'cirq-core[contrib]'\n",
" print(\"installed cirq-core[contrib].\")"
]
},
Expand All @@ -36,9 +35,7 @@
"metadata": {},
"source": [
"# Contract a Grid Circuit\n",
"Shallow circuits on a planar grid with low-weight observables permit easy contraction.\n",
"\n",
"Note: this notebook relies on unreleased Cirq features. If you want to try these features, make sure you install cirq via `pip install --upgrade cirq~=1.0.dev`."
"Shallow circuits on a planar grid with low-weight observables permit easy contraction."
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions dev_tools/notebooks/isolated_notebook_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@
# Please, always indicate in comments the feature used for easier bookkeeping.

NOTEBOOKS_DEPENDING_ON_UNRELEASED_FEATURES: List[str] = [
# Requires pinned quimb from #6438
'cirq-core/cirq/contrib/quimb/Contract-a-Grid-Circuit.ipynb',
# Requires OpenQASM 3.0 support from cirq 1.5
'docs/build/interop.ipynb',
# get_qcs_objects_for_notebook
'docs/noise/qcvv/xeb_calibration_example.ipynb',
# Requires features in cirq 1.5.
'docs/build/classical_control.ipynb',
]
Expand All @@ -72,6 +68,8 @@
'examples/advanced/*quantum_utility*',
# Also skipping stabilizer code testing.
"examples/*stabilizer_code*",
# get_qcs_objects_for_notebook
'docs/noise/qcvv/xeb_calibration_example.ipynb',
# An intentionally empty/template code notebook.
"docs/simulate/qvm_builder_code.ipynb",
*NOTEBOOKS_DEPENDING_ON_UNRELEASED_FEATURES,
Expand Down
5 changes: 2 additions & 3 deletions docs/gatezoo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
"id": "541571c2edcd"
},
"source": [
"## Setup\n",
"Note: this notebook relies on unreleased Cirq features. If you want to try these features, make sure you install cirq via `pip install --upgrade cirq~=1.0.dev`"
"## Setup"
]
},
{
Expand All @@ -76,7 +75,7 @@
" import cirq\n",
"except ImportError:\n",
" print(\"installing cirq...\")\n",
" !pip install --upgrade --quiet cirq~=1.0.dev\n",
" !pip install --quiet cirq\n",
" print(\"installed cirq.\")\n",
" \n",
"import IPython.display as ipd\n",
Expand Down
17 changes: 0 additions & 17 deletions docs/noise/calibration_api.tst

This file was deleted.

17 changes: 0 additions & 17 deletions docs/operators_and_observables.tst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/transform/transformers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
"\n",
"Any valid tag can be used as a \"no-compile\" tag by adding it to the `tags_to_ignore` field in `cirq.TransformerContext`. When called with a context, cirq transformers will inspect the `context.tags_to_ignore` field and ignore an operation if `op.tags & context.tags_to_ignore` is not empty. \n",
"\n",
"Below, you can use no-compile tags when transforming a circuit using the `optimize_circuit` mehod defined above."
"Below, you can use no-compile tags when transforming a circuit using the `optimize_circuit` method defined above."
]
},
{
Expand Down