Skip to content

Commit 46ebb7f

Browse files
Fix spelling in several simulator tutorials and math mode of opflow and grover tutorials (Qiskit/qiskit-tutorials#1163)
* Fix spelling in simulator tutorials and math mode of opflow tutorial * Fix math mode and list of Grover tutorial Co-authored-by: SooluThomas <[email protected]>
1 parent c59d4f3 commit 46ebb7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/tutorials/07_grover.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
"### State preparation\n",
268268
"\n",
269269
"A `state_preparation` argument is used to specify a quantum circuit that prepares a quantum state for the start point of the amplitude amplification.\n",
270-
"By default, a circuit with $H^{\\otimes n} $ is used to prepare uniform superposition (so it will be Grover's search). The diffusion circuit of the amplitude amplification reflects `state_preparation` automatically."
270+
"By default, a circuit with $H^{\\otimes n}$ is used to prepare uniform superposition (so it will be Grover's search). The diffusion circuit of the amplitude amplification reflects `state_preparation` automatically."
271271
]
272272
},
273273
{
@@ -350,7 +350,8 @@
350350
"For more advanced use, it is also possible to specify the entire Grover operator by setting the `grover_operator` argument. This might be useful if you know more efficient implementation for $\\mathcal{Q}$ than the default construction via zero reflection, oracle and state preparation.\n",
351351
"\n",
352352
"The `qiskit.circuit.library.GroverOperator` can be a good starting point and offers more options for an automated construction of the Grover operator. You can for instance \n",
353-
"* set the `mcx_mode` \n",
353+
"\n",
354+
"* set the `mcx_mode`\n",
354355
"* ignore qubits in the zero reflection by setting `reflection_qubits`\n",
355356
"* explicitly exchange the $\\mathcal{S_f}, \\mathcal{S_0}$ and $\\mathcal{A}$ operations using the `oracle`, `zero_reflection` and `state_preparation` arguments"
356357
]

0 commit comments

Comments
 (0)