Closed a-matsuo closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@Guillermo-Mijares-Vilarino Can you please review this PR?
# now we can have a look at the Grover operator that is used in running the algorithm
# (Algorithm circuits are wrapped in a gate to be appear in composition as a block
# so we have to decompose() the op to see it expanded into its component gates.)
problem.grover_operator.decompose().draw(output='mpl')
I think there might be a typo here. "... gate to be appear in composition..."
Thank you! I updated the notebook.
Summary
This PR updates Grover related tutorials, 06_grover.ipynb and 07_grover_examples.ipynb, to use
Sampler
.close #1365
Details and comments