From 45470b4223eb791e75c2ccad79016e885e275040 Mon Sep 17 00:00:00 2001 From: Dror Segman Date: Mon, 24 Feb 2025 14:05:44 +0200 Subject: [PATCH] fix braket Latex notation --- tutorials/Classiq_tutorial/Qmod_tutorial_part1.ipynb | 2 +- tutorials/Classiq_tutorial/Qmod_tutorial_part2.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/Classiq_tutorial/Qmod_tutorial_part1.ipynb b/tutorials/Classiq_tutorial/Qmod_tutorial_part1.ipynb index 60202066..c022b470 100644 --- a/tutorials/Classiq_tutorial/Qmod_tutorial_part1.ipynb +++ b/tutorials/Classiq_tutorial/Qmod_tutorial_part1.ipynb @@ -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", diff --git a/tutorials/Classiq_tutorial/Qmod_tutorial_part2.ipynb b/tutorials/Classiq_tutorial/Qmod_tutorial_part2.ipynb index 2a17d71e..17048eb1 100644 --- a/tutorials/Classiq_tutorial/Qmod_tutorial_part2.ipynb +++ b/tutorials/Classiq_tutorial/Qmod_tutorial_part2.ipynb @@ -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" ]