Skip to content

Commit be1b527

Browse files
authored
Fix typo in notebook example (#7426)
1 parent 9d511e9 commit be1b527

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/google/internal_gates.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"}\n",
125125
"internal_gate = cirq_google.InternalGate(\n",
126126
" gate_module='GATE_MODULE', # Module of class.\n",
127-
" gate_name='GATE_NAMPE', # Class name.\n",
127+
" gate_name='GATE_NAME', # Class name.\n",
128128
" num_qubits=2, # Number of qubits that the gate acts on.\n",
129129
" **internal_gate_args,\n",
130130
")\n",
@@ -141,14 +141,14 @@
141141
{
142142
"data": {
143143
"text/html": [
144-
"<pre style=\"overflow: auto; white-space: pre;\">0: ───GATE_MODULE.GATE_NAMPE()───\n",
144+
"<pre style=\"overflow: auto; white-space: pre;\">0: ───GATE_MODULE.GATE_NAME()───\n",
145145
"\n",
146-
"1: ───#2────────────────────────</pre>"
146+
"1: ───#2────────────────────────</pre>"
147147
],
148148
"text/plain": [
149-
"0: ───GATE_MODULE.GATE_NAMPE()───\n",
149+
"0: ───GATE_MODULE.GATE_NAME()───\n",
150150
"\n",
151-
"1: ───#2────────────────────────"
151+
"1: ───#2────────────────────────"
152152
]
153153
},
154154
"execution_count": 7,

0 commit comments

Comments
 (0)