From a55f9626e003f77f825be4f2cac89a29ac0e0bde Mon Sep 17 00:00:00 2001 From: Sam Burdick Date: Mon, 27 Nov 2023 13:49:17 -0800 Subject: [PATCH] Fix typos in the documentation. (#6359) --- cirq-core/cirq/ops/pauli_gates.py | 2 +- docs/start/intro.ipynb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cirq-core/cirq/ops/pauli_gates.py b/cirq-core/cirq/ops/pauli_gates.py index 3af55eef5ed..c91805250ce 100644 --- a/cirq-core/cirq/ops/pauli_gates.py +++ b/cirq-core/cirq/ops/pauli_gates.py @@ -186,7 +186,7 @@ def basis(self) -> Dict[int, '_ZEigenState']: This is the `exponent=1` instance of the `cirq.XPowGate`. - The untary matrix of `cirq.X` is: + The unitary matrix of `cirq.X` is: $$ \begin{bmatrix} 0 & 1 \\ diff --git a/docs/start/intro.ipynb b/docs/start/intro.ipynb index 42599d0cfe2..728e7962fa5 100644 --- a/docs/start/intro.ipynb +++ b/docs/start/intro.ipynb @@ -162,9 +162,9 @@ "\n", "- A `Circuit` is a collection of `Moment`s. \n", "- A `Moment` is a collection of `Operation`s that all act during the same abstract time slice. \n", - "- An `Operation` is a an effect that operates on a specific subset of Qubits. \n", + "- An `Operation` is an effect that operates on a specific subset of Qubits. \n", " - The most common type of `Operation` is a `Gate` applied to several qubits (a \"`GateOperation`\"). \n", - "- The `Qubit`s of a circuit are implicitly defined by the operations - you can't allocate qubits to a Circuit\n", + "- The `Qubit`s of a circuit are implicitly defined by the operations - you can't allocate qubits to a Circuit.\n", " " ] },