-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Sampler
in Grover
#8647
Conversation
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the the following people are requested to review this:
|
Pull Request Test Coverage Report for Build 3109198847
💛 - Coveralls |
@a-matsuo I went ahead and added the deprecation msgs. They are all |
…into grover-primitives
…into grover-primitives
Co-authored-by: Julien Gacon <gaconju@gmail.com>
…into grover-primitives
I cleaned up my codes. Does this QFI satisfy the requirements of VarQTE #8746 ? If so the design is fixed and I can finalize this PR. |
Maybe you meant to add that comment to the QFI PR? |
(Accidentally clicked the wrong button - duh!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@a-matsuo Thanks. LGTM.
* wip added sampler * added sampler * fix lint * assert warns * fix reno * Add deprecation * fix unit tests for pending deprecation * remove unnecessary jupyter notebook * add pend.deprecation test * Update qiskit/algorithms/amplitude_amplifiers/grover.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * added error handling * fix * use algorithm error * fix lint * fix * Update qiskit/algorithms/amplitude_amplifiers/grover.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * Update qiskit/algorithms/amplitude_amplifiers/grover.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * filter warnings * added unittests * lint * fix * fix * fix * fix * fix * lint * remove print * update sampler's options * changed the shots test to TODO * lint * added _prepare_grover in the unittest * fix test * changed the code-block in the release note * Update releasenotes/notes/add-grover-primitives-10f81efdba93703d.yaml * Update qiskit/algorithms/amplitude_amplifiers/grover.py * Update qiskit/algorithms/amplitude_amplifiers/grover.py * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Manoel Marques <manoel.marques@ibm.com> Co-authored-by: Julien Gacon <gaconju@gmail.com> Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* wip added sampler * added sampler * fix lint * assert warns * fix reno * Add deprecation * fix unit tests for pending deprecation * remove unnecessary jupyter notebook * add pend.deprecation test * Update qiskit/algorithms/amplitude_amplifiers/grover.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * added error handling * fix * use algorithm error * fix lint * fix * Update qiskit/algorithms/amplitude_amplifiers/grover.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * Update qiskit/algorithms/amplitude_amplifiers/grover.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * filter warnings * added unittests * lint * fix * fix * fix * fix * fix * lint * remove print * update sampler's options * changed the shots test to TODO * lint * added _prepare_grover in the unittest * fix test * changed the code-block in the release note * Update releasenotes/notes/add-grover-primitives-10f81efdba93703d.yaml * Update qiskit/algorithms/amplitude_amplifiers/grover.py * Update qiskit/algorithms/amplitude_amplifiers/grover.py * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Manoel Marques <manoel.marques@ibm.com> Co-authored-by: Julien Gacon <gaconju@gmail.com> Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Summary
Grover can now use
Sampler
to calculate the results.Details and comments
close #8488