-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add input data check for Sampler (#519)
* add input data check for sampler * update * update * remove a validation check * move the check to BaseSampler * remove the unit test Co-authored-by: Jessie Yu <[email protected]>
- Loading branch information
1 parent
6e87fe8
commit 408cbee
Showing
2 changed files
with
15 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/add-sampler-error-check-20e5672c7ff17004.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 @@ | ||
|
||
--- | ||
upgrade: | ||
- | | ||
Added a validation check to :meth:`~qiskit_ibm_runtime.Sampler.run`. | ||
It raises an error if there is no classical bit. | ||