Skip to content

Commit

Permalink
fix braket Latex notation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dror Segman authored and drorsegman committed Feb 24, 2025
1 parent a5db1f9 commit 45470b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tutorials/Classiq_tutorial/Qmod_tutorial_part1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@
"metadata": {},
"source": [
"#### Exercise 5b - Control Operator with Quantum Expressions\n",
"The `control` operator is the conditional application of some operation, with the condition being that all control qubits are in the state |1>. This notion is generalized in Qmod to other control states, where the condition is specified as a comparison between a quantum numeric variable and a numeric value, similar to a classical `if` statement. Quantum numeric variables are declared with class `QNum`.\n",
"The `control` operator is the conditional application of some operation, with the condition being that all control qubits are in the state $|1\\rangle$. This notion is generalized in Qmod to other control states, where the condition is specified as a comparison between a quantum numeric variable and a numeric value, similar to a classical `if` statement. Quantum numeric variables are declared with class `QNum`.\n",
"\n",
"See [numeric types](https://docs.classiq.io/latest/qmod-reference/language-reference/quantum-types/#syntax).\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion tutorials/Classiq_tutorial/Qmod_tutorial_part2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
"\n",
"The following sequence of operations generates it:\n",
"1. Perform the Hadamard transform on all three qubits.\n",
"2. Apply a `pi/3` rotation on the LSB conditioned by the MSB being |0> and the second-to-last MSB being |1>. How would you write this condition using a QNum?\n",
"2. Apply a `pi/3` rotation on the LSB conditioned by the MSB being $|0\\rangle$ and the second-to-last MSB being $|1\\rangle$. How would you write this condition using a QNum?\n",
"\n",
"To validate your results without looking at the full solution, compare them to running using the Classiq built-in `prepare_state` function.\n"
]
Expand Down

0 comments on commit 45470b4

Please sign in to comment.