Skip to content

Commit

Permalink
fix synth
Browse files Browse the repository at this point in the history
  • Loading branch information
Dror Segman authored and Dror Segman committed Feb 24, 2025
1 parent ff3a777 commit 0605b19
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tutorials/Classiq_tutorial/synthesis_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down Expand Up @@ -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."
]
},
{
Expand Down Expand Up @@ -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"
]
Expand Down

0 comments on commit 0605b19

Please sign in to comment.