-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix callback compatibility for trainable_model (#878)
* Fix callback compatibility for trainable_model * Update releasenotes/notes/fix-callback-trainable_model-ca52060260a3e466.yaml Co-authored-by: Edoardo Altamura <[email protected]> * Update tests with callbacks * Disable pylint unused arguments in tests --------- Co-authored-by: Edoardo Altamura <[email protected]> (cherry picked from commit 02ee6a7)
- Loading branch information
1 parent
6a8cc57
commit c0ffa55
Showing
4 changed files
with
19 additions
and
10 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
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/fix-callback-trainable_model-ca52060260a3e466.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,5 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed a compatibility issue for different `callback` functions when they are | ||
used in :class:`~qiskit_machine_learning.algorithms.trainable_model` based algorithms. |
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