-
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 warning if no backend provided on cloud channel (#1425)
* add warning if no backend provided * add test and reno * Update msg & add to base_primitive * Update reno * Update releasenotes/notes/require-cloud-backend-38a74144347c735d.yaml Co-authored-by: Jessie Yu <[email protected]> --------- Co-authored-by: Jessie Yu <[email protected]>
- Loading branch information
Showing
4 changed files
with
33 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
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/require-cloud-backend-38a74144347c735d.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,10 @@ | ||
--- | ||
deprecations: | ||
- | | ||
In a future release, ``backend`` will be a required parameter for :class:`qiskit_ibm_runtime.Sampler`, and | ||
:class:`qiskit_ibm_runtime.Estimator` if ``session`` is not specified, | ||
even when using the ``ibm_cloud`` channel. | ||
It will also be a required parameter for | ||
:class:`qiskit_ibm_runtime.Session` and | ||
:class:`qiskit_ibm_runtime.Batch`. |
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