forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AdaptVQE
threshold improvements (Qiskit#9921)
* Pending-deprecate AdaptVQE.threshold in favor of gradient_threshold * Adds the AdaptVQE.eigenvalue_threshold attribute * Add release note * Apply suggestions from code review Co-authored-by: Julien Gacon <[email protected]> * Leverage deprecate_func on AdaptVQE.threshold property * Test pending deprecation of AdaptVQE.threshold * Add missing deprecate_func decorator to property setter * Improve documentation of AdaptVQE.eigenvalue_threshold w.r.t. final iteration * Adds a unittest for SparsePauliOp support in AdaptVQE * Attempt to fix test flakiness * Pick better operator pool for gradients in flaky unittest --------- Co-authored-by: Julien Gacon <[email protected]> Co-authored-by: ElePT <[email protected]>
- Loading branch information
1 parent
7732021
commit b2518b6
Showing
3 changed files
with
152 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/adapt-vqe-thresholds-239ed9f250c63e71.yaml
This file contains 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,10 @@ | ||
--- | ||
features: | ||
- | | ||
Adds the new :attr:`~qiskit.algorithms.minimum_eigensolvers.AdaptVQE.eigenvalue_threshold` | ||
setting which allows configuring a new kind of threshold to terminate the algorithm once | ||
the eigenvalue changes less than a set value. | ||
- | | ||
Adds the new :attr:`~qiskit.algorithms.minimum_eigensolvers.AdaptVQE.gradient_threshold` | ||
setting which will replace the :attr:`~qiskit.algorithms.minimum_eigensolvers.AdaptVQE.threshold` | ||
in the future. |
This file contains 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