From a5db1f90b822de7ebceef15297bbbb54657894cb Mon Sep 17 00:00:00 2001 From: Dror Segman Date: Mon, 24 Feb 2025 14:02:37 +0200 Subject: [PATCH] fix synth --- tutorials/Classiq_tutorial/synthesis_tutorial.ipynb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tutorials/Classiq_tutorial/synthesis_tutorial.ipynb b/tutorials/Classiq_tutorial/synthesis_tutorial.ipynb index c4fdd850..837715ef 100644 --- a/tutorials/Classiq_tutorial/synthesis_tutorial.ipynb +++ b/tutorials/Classiq_tutorial/synthesis_tutorial.ipynb @@ -6,7 +6,8 @@ "source": [ "# Synthesis Tutorial\n", "\n", - "Classiq's synthesis engine takes a high-level model written in the Qmod language, and compiles it into an executable gate-level circuit.\\\n", + "Classiq's synthesis engine takes a high-level model written in the Qmod language, and compiles it into an executable gate-level circuit.\n", + "\n", "When mapping high-level functionality to concrete circuits, there may be many different but equivalent possible implementations that reflect tradeoffs in the overall depth, width, gate counts, etc. For example, implementing a multi-controlled-not operation can be shallower in gates given more auxiliary qubits. Choosing the best implementation for a specific operation instance depends on the overall constraints and objectives, as well as the specific structure of the quantum program.\n", "\n", "Let's look at a simple model, and use Classiq's synthesis engine to compile it given different optimization objectives." @@ -107,7 +108,7 @@ "source": [ "The resulting depth and width are 42 and 16, respectively.\n", "\n", - "Now, let's synthesize to optimize width, i.e to minimize the number of qubits used.\\" + "Now, let's synthesize to optimize width, i.e to minimize the number of qubits used." ] }, { @@ -167,9 +168,10 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Excercise\n", + "### Exercise\n", + "\n", + "Create your own `main` function and synthesize it with different constraints.\n", "\n", - "Create your own `main` function and synthesize it with different constraints.\\\n", "Note that `OptimizationParameter` is only one kind of configuration possible. Classiq synthesis engine also supports rigid constraints of `max_width`, `max_depth` and `max_gate_count`. \n", "\n" ]