-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Amplitude Estimation algorithms #5517
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
Merged
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
7dac219
ae codes
Cryoris 4c1325c
add tests
Cryoris 9abb514
Merge branch 'master' into ae
Cryoris d5d9ef1
update docstrings in result objects
Cryoris b843a5d
add reno
Cryoris 3aaa0fb
Merge branch 'master' into ae
Cryoris dc901cc
Merge branch 'ae' of github.com:Cryoris/qiskit-terra into ae
Cryoris da5886b
fix old aqua dependencies
Cryoris d0571c8
fix cyclic imports
Cryoris a1409f9
try fixing windows tests no. 1
Cryoris ef99ebd
fix test
Cryoris 24a1954
Merge branch 'master' into ae
Cryoris ee9f9a3
Merge branch 'master' into ae
mtreinish dd51d0e
try fixing windows attempt #2
Cryoris f7ce292
Merge branch 'ae' of github.com:Cryoris/qiskit-terra into ae
Cryoris 0a666cb
Merge branch 'master' into ae
Cryoris d625216
Merge branch 'master' into ae
Cryoris eea60d8
stefan's first comments
Cryoris de33dae
Merge branch 'ae' of github.com:Cryoris/qiskit-terra into ae
Cryoris d697e06
stefans comments pt. 2
Cryoris 9fe47ab
fix lint & indent
Cryoris a4e0337
Merge branch 'master' into ae
Cryoris 6284918
add faster ae + bernoulli tests
Cryoris 5559b31
fix > 1 qubit case
Cryoris 8cea176
add comments
Cryoris fba77c8
add FAE specific tests
Cryoris 561b5ab
Merge branch 'master' into ae
Cryoris 7dced51
Merge branch 'master' into faster-ae
Cryoris 1be7ca6
raise error for rescale on custom q operator
Cryoris cef280b
play with the oracles
Cryoris 6f0537a
fix classicalregister > 1
Cryoris 6306d28
use correct reflection and rm X gates around oracle
Cryoris f64d73f
fix construction of rescaled est. problem
Cryoris 525daf8
fix phase in grover op
Cryoris 9f3d21e
Merge branch 'master' into ae
Cryoris ca3ff07
adjust result objects
Cryoris 2dad55d
Merge branch 'ae' of github.com:Cryoris/qiskit-terra into ae
Cryoris b27c22d
Merge branch 'ae' into faster-ae
Cryoris 12a24f5
adjust fae result object
Cryoris 3b6b05d
fix minus sign and lint
Cryoris 15c7814
rm trailing whitespaces
Cryoris ea5e77f
Merge branch 'ae' into faster-ae
Cryoris cb79da4
fix tests
Cryoris 9f0b6c3
Merge branch 'master' into ae
Cryoris e41869d
Merge branch 'ae' into faster-ae
Cryoris dbb84ec
fix lint
Cryoris 7d78770
rm utf8 header
Cryoris c4d097c
move rescale to problem, add evalschedule to MLAE
Cryoris ad5d7d3
Merge branch 'master' into ae
Cryoris d3c647b
code review suggestions
Cryoris 6e2406a
Merge branch 'master' into ae
Cryoris cb3ddda
fix doc build (hopefully)
Cryoris 57dc5f3
add result classes to docs
Cryoris be4360f
Merge branch 'ae' of github.com:Cryoris/qiskit-terra into ae
Cryoris 71abe9e
make grover op optional in setter
Cryoris 4ac3265
Merge branch 'master' into ae
Cryoris 0bb7c22
Merge branch 'master' into ae
Cryoris cbd6a0c
Merge branch 'master' into ae
Cryoris 91f0398
Merge branch 'master' into ae
mergify[bot] 1d817f1
Merge branch 'master' into ae
mergify[bot] c514272
Merge branch 'master' into ae
Cryoris 80203ef
rm reno -- there will be a global one
Cryoris 52dd6a2
Merge branch 'ae' of github.com:Cryoris/qiskit-terra into ae
Cryoris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # This code is part of Qiskit. | ||
| # | ||
| # (C) Copyright IBM 2020. | ||
| # | ||
| # This code is licensed under the Apache License, Version 2.0. You may | ||
| # obtain a copy of this license in the LICENSE.txt file in the root directory | ||
| # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
| # | ||
| # Any modifications or derivative works of this code must retain this | ||
| # copyright notice, and modified files need to carry a notice indicating | ||
| # that they have been altered from the originals. | ||
|
|
||
| """The Amplitude Estimators package.""" | ||
|
|
||
| from .amplitude_estimator import AmplitudeEstimator, AmplitudeEstimatorResult | ||
| from .ae import AmplitudeEstimation, AmplitudeEstimationResult | ||
| from .fae import FasterAmplitudeEstimation, FasterAmplitudeEstimationResult | ||
| from .iae import IterativeAmplitudeEstimation, IterativeAmplitudeEstimationResult | ||
| from .mlae import MaximumLikelihoodAmplitudeEstimation, MaximumLikelihoodAmplitudeEstimationResult | ||
| from .estimation_problem import EstimationProblem | ||
|
|
||
| __all__ = [ | ||
| 'AmplitudeEstimator', | ||
| 'AmplitudeEstimatorResult', | ||
| 'AmplitudeEstimation', | ||
| 'AmplitudeEstimationResult', | ||
| 'FasterAmplitudeEstimation', | ||
| 'FasterAmplitudeEstimationResult', | ||
| 'IterativeAmplitudeEstimation', | ||
| 'IterativeAmplitudeEstimationResult', | ||
| 'MaximumLikelihoodAmplitudeEstimation', | ||
| 'MaximumLikelihoodAmplitudeEstimationResult', | ||
| 'EstimationProblem', | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.