-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address BackendV1 deprecation warning oversights (#13868)
* Add missing deprecation warnings from BackendV1 deprecation. Address tests. * Raise deprecated input type warnings manually, add stacklevel argument to deprecate_arg. * Fix typo in deprecation message * Add filter for obj_id warning triggered by qiskit-aer returning a Result object. * Assert warnings on visual tests * Fix lint * Revert "Add filter for obj_id warning triggered by qiskit-aer returning a Result object." This reverts commit 8e64ea0. * Deprecate use of positional arguments in Result. The result class is normally instantiated using from_dict so all arguments are already treated as kwargs. Additionally, warn about qobj_id going away also as a kwarg in 2.0 * Can't count * Fix typo and add deprecation tests for positional args in Result * Fix strange deprecation warning trace that made it difficult to filter warnings * Fix redundant assertions * Add reno and deprecation warning to result docs * Fix lint * Fix ambiguity * Extend docstring * Change attributes to args
- Loading branch information
Showing
21 changed files
with
610 additions
and
119 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
Oops, something went wrong.