-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add better error messages for typical SamplerV2 and EstimatorV2 error…
… cases (backport #12031) (#12041) * Add better error messages for typical SamplerV2 and EstimatorV2 error cases (#12031) * add an early error for a case * Update qiskit/primitives/containers/sampler_pub.py Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com> * add better message for estimator pub * Update qiskit/primitives/containers/estimator_pub.py Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com> * add an additional message --------- Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com> (cherry picked from commit 194cc8f) # Conflicts: # test/python/primitives/test_backend_estimator_v2.py # test/python/primitives/test_backend_sampler_v2.py * remove tests for backend primitives V2 because they will appear for 1.1 --------- Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com> Co-authored-by: Takashi Imamichi <imamichi@jp.ibm.com>
- Loading branch information
1 parent
c9b4687
commit 9dbf5d1
Showing
8 changed files
with
51 additions
and
14 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
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
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
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