-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue in
aer_state_initialize()
of C API (#1885)
Correct C API `aer_state_initialize` to take an argument of `handler`. * update aer_state_initialize API * add reno
- Loading branch information
Showing
3 changed files
with
9 additions
and
3 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
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/fix_aer_state_initialize_api-0c2c237a606648ef.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,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
A function ``aer_state_initialize()`` in C API wrongly takes no argument though | ||
it initializes a state created by ``aer_state()``. Example codes pass ``handler`` | ||
and rouboustness of C compiler allows its compilation. This commit corrects for | ||
``aer_state_initialize()`` to take an argument ``handler`` to be initialized. |