Skip to content

Commit 9df5d3b

Browse files
authored
Remove documentation references to optimized_for_sycamore (#7329)
- The function cirq_google.optimized_for_sycamore has been replaced by the transformer paradigm and can be implemented using the appropriate CompilationTargetGateset for the device. - This PR removes the last references to them in the documentation.
1 parent 6ee6b50 commit 9df5d3b

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

docs/google/concepts.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"source": [
154154
"### Quantum Programs\n",
155155
"\n",
156-
"In Cirq, one creates a `Circuit` in Python. If one then wants to run it using Quantum Engine, one must then upload this Circuit to the Quantum Engine API. The uploaded version of the Circuit is called a Program. Programs are not the Python code itself, but a representation of the Circuit suitable for running on hardware. The `Engine` class and its corresponding `sampler` will translate the circuit into the format needed by the API for you. You will need to make sure that your circuit uses only gates and qubits compatible with the hardware (see `cirq_google.optimized_for_sycamore()` to help with this).\n",
156+
"In Cirq, one creates a `Circuit` in Python. If one then wants to run it using Quantum Engine, one must then upload this Circuit to the Quantum Engine API. The uploaded version of the Circuit is called a Program. Programs are not the Python code itself, but a representation of the Circuit suitable for running on hardware. The `Engine` class and its corresponding `sampler` will translate the circuit into the format needed by the API for you. You will need to make sure that your circuit uses only gates and qubits compatible with the hardware.\n",
157157
"\n",
158158
"![Quantum Program Conceptual Diagram](https://github.com/quantumlib/Cirq/blob/main/docs/images/engine_program.png?raw=1)\n",
159159
"\n",

docs/google/devices.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,9 @@ It can be accessed by using `cirq_google.Sycamore`. This device has two possible
295295
two-qubits gates that can be used.
296296

297297
* Square root of ISWAP. The gate `cirq.ISWAP ** 0.5` or `cirq.ISWAP ** -0.5` can be
298-
used on `cirq_google.optimized_for_sycamore` with optimizer type `sqrt_iswap`
298+
used on this device.
299299
* Sycamore gate. This gate, equivalent to FSimGate(π/2, π/6) can be used as `cirq_google.SYC`
300-
or by using `cirq.FsimGate(numpy.pi/2,numpy.pi/6)`. Circuits can be compiled to use this gate
301-
by using `cirq_google.optimized_for_sycamore` with optimizer type `sycamore`
300+
or by using `cirq.FsimGate(numpy.pi/2,numpy.pi/6)`.
302301

303302

304303
### Sycamore23

docs/tutorials/google/spin_echoes.ipynb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,6 @@
7878
"4. Inserting spin echoes to reduce leakage & cross-talk."
7979
]
8080
},
81-
{
82-
"cell_type": "markdown",
83-
"metadata": {
84-
"id": "S0OPIhmnv5AO"
85-
},
86-
"source": [
87-
"Note: The function `cirq_google.optimized_for_sycamore` implements some of the optimizations shown here. This tutorial provides more detail for finer control."
88-
]
89-
},
9081
{
9182
"cell_type": "markdown",
9283
"metadata": {

0 commit comments

Comments
 (0)