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.
Allow access to UDMA optimizer history information (Qiskit#8695)
* fix issue 8687 by moving history attribute tu public by a getter * callback function * tests * add test and reno * lint --------- Co-authored-by: Julien Gacon <gaconju@gmail.com>
- Loading branch information
1 parent
c991910
commit 886c659
Showing
3 changed files
with
55 additions
and
2 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
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,7 @@ | ||
--- | ||
features: | ||
- | | ||
Added the option to pass a callback to the :class:`.UMDA` optimizer, which allows | ||
to keep track of the number of function evaluations, the current parameters, and the | ||
best achieved function value. | ||
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