forked from Qiskit/qiskit-aer
-
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.
check parameter_binds arguments for parameterized circuits (Qiskit#1817)
Aer raises an error if `parameter_binds` is not specified though circuits have parameters. This resolves the following issue: Qiskit#1773
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 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
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/check_parameter_binds_exist-9d52c665d5f94dde.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: | ||
- | | ||
Since 0.12.0, parameter values in circuits are temporarily replaced with constant values | ||
and parameter values are assigned in C++ library. Therefore, if `parameter_binds` is specified, | ||
simulator returns results with the constnat values as paramter values. With this commit, | ||
Aer raises an error if `parameter_binds` is not specified though circuits have parameters. |
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