-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter backends by instance when given in QiskitRuntimeService constr…
…uctor (#979) * Added filtering of backends depending on the instance defined in init of QiskitRuntimeService * Change warning to error when input instance is not supported. Removed instance 'h/g/p' from tests * Added new exception to documentation * Release note * Removed instance from test * Syntax changes * black --------- Co-authored-by: Kevin Tian <[email protected]>
- Loading branch information
1 parent
1fa790d
commit 928184e
Showing
4 changed files
with
32 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
features: | ||
- | | ||
If ''instance'' is provided as parameter to | ||
:meth:`QiskitRuntimeService.__init__`, | ||
then this is used as a filter in :meth:`QiskitRuntimeService.backends()`. | ||
If ''instance'' is not recognized as one of the provider instances, | ||
an exception will be raised. Previously, we only issued a warning. |
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