Skip to content

Commit a55f962

Browse files
authored
Fix typos in the documentation. (#6359)
1 parent a4ba95b commit a55f962

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cirq-core/cirq/ops/pauli_gates.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def basis(self) -> Dict[int, '_ZEigenState']:
186186
187187
This is the `exponent=1` instance of the `cirq.XPowGate`.
188188
189-
The untary matrix of `cirq.X` is:
189+
The unitary matrix of `cirq.X` is:
190190
$$
191191
\begin{bmatrix}
192192
0 & 1 \\

docs/start/intro.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@
162162
"\n",
163163
"- A `Circuit` is a collection of `Moment`s. \n",
164164
"- A `Moment` is a collection of `Operation`s that all act during the same abstract time slice. \n",
165-
"- An `Operation` is a an effect that operates on a specific subset of Qubits. \n",
165+
"- An `Operation` is an effect that operates on a specific subset of Qubits. \n",
166166
" - The most common type of `Operation` is a `Gate` applied to several qubits (a \"`GateOperation`\"). \n",
167-
"- The `Qubit`s of a circuit are implicitly defined by the operations - you can't allocate qubits to a Circuit\n",
167+
"- The `Qubit`s of a circuit are implicitly defined by the operations - you can't allocate qubits to a Circuit.\n",
168168
" "
169169
]
170170
},

0 commit comments

Comments
 (0)