-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
relax a check of measurements for Sampler
- Loading branch information
1 parent
e9913e8
commit 195aefd
Showing
3 changed files
with
8 additions
and
12 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
5 changes: 2 additions & 3 deletions
5
releasenotes/notes/add-sampler-error-check-38426fb186db44d4.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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
--- | ||
upgrade: | ||
- | | ||
Added some error checks to :meth:`~qiskit.primitives.BaseSampler.run`. | ||
It raises an error if there is no classical bit or some classical bits | ||
are not used for measurements. | ||
Added a validation check to :meth:`~qiskit.primitives.BaseSampler.run`. | ||
It raises an error if there is no classical bit. | ||