From b979697f324caab73e4acdcd112e0ecd89670ccc Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Thu, 23 Jun 2022 16:38:54 -0700 Subject: [PATCH] Fix typo in the link and align inline comments --- docs/hardware/ionq/getting_started.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/hardware/ionq/getting_started.ipynb b/docs/hardware/ionq/getting_started.ipynb index bc6eb2f033a..7abf73cd26f 100644 --- a/docs/hardware/ionq/getting_started.ipynb +++ b/docs/hardware/ionq/getting_started.ipynb @@ -127,7 +127,7 @@ "\n", "## Running a simple circuit\n", "\n", - "The IonQ API supports a limited set of gates natively. Circuit built with these gates do not need any modification and can be run directly against the API. For a list of the API supported gates see [circuit documentation](/cirq/hardware/ionq/circuit.md). One supported gate is the square root of not gate, which we use here in conjunction with a controlled-not gate. The following cell will run the circuit below, blocking until the program has run and results have been returned:" + "The IonQ API supports a limited set of gates natively. Circuit built with these gates do not need any modification and can be run directly against the API. For a list of the API supported gates see [circuit documentation](/cirq/hardware/ionq/circuits.md). One supported gate is the square root of not gate, which we use here in conjunction with a controlled-not gate. The following cell will run the circuit below, blocking until the program has run and results have been returned:" ] }, { @@ -148,7 +148,7 @@ "source": [ "q0, q1 = cirq.LineQubit.range(2)\n", "circuit = cirq.Circuit(\n", - " cirq.X(q0)**0.5, # Square root of X\n", + " cirq.X(q0) ** 0.5, # Square root of X\n", " cirq.CX(q0, q1), # CNOT\n", " cirq.measure(q0, q1, key='b') # Measure both qubits\n", ")\n",