We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fd39c7 commit 99a2cf7Copy full SHA for 99a2cf7
algorithms/amplitude_amplification_and_estimation/quantum_counting/quantum_counting.ipynb
@@ -249,14 +249,11 @@
249
}
250
],
251
"source": [
252
- "constraints = Constraints(max_width=14)\n",
253
- "qmod_qpe = create_model(\n",
+ "qprog_qpe = synthesize(\n",
254
" main,\n",
255
- " constraints=constraints,\n",
+ " constraints=Constraints(max_width=14),\n",
256
" preferences=Preferences(optimization_level=1),\n",
257
- " out_file=\"quantum_counting_qpe\",\n",
258
")\n",
259
- "qprog_qpe = synthesize(qmod_qpe)\n",
260
"show(qprog_qpe)"
261
]
262
},
0 commit comments