Skip to content

Commit 99a2cf7

Browse files
committed
removed write_qmod
1 parent 6fd39c7 commit 99a2cf7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

algorithms/amplitude_amplification_and_estimation/quantum_counting/quantum_counting.ipynb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,11 @@
249249
}
250250
],
251251
"source": [
252-
"constraints = Constraints(max_width=14)\n",
253-
"qmod_qpe = create_model(\n",
252+
"qprog_qpe = synthesize(\n",
254253
" main,\n",
255-
" constraints=constraints,\n",
254+
" constraints=Constraints(max_width=14),\n",
256255
" preferences=Preferences(optimization_level=1),\n",
257-
" out_file=\"quantum_counting_qpe\",\n",
258256
")\n",
259-
"qprog_qpe = synthesize(qmod_qpe)\n",
260257
"show(qprog_qpe)"
261258
]
262259
},

0 commit comments

Comments
 (0)