forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing parameter from QasmQobjInstruction (Qiskit#3953)
* Add missing parameter from QasmQobjInstruction In Qiskit#3383 we moved away from using marshmallow for Qobj objects to flat classes with normal attributes. However, in that migration we missed one parameter for the qasm qobj instruction class which had no test coverage in terra (and is only used by Aer), snapshot_type. This commit corrects the oversight and adds test coverage to ensure we don't miss it in the future. * Fix lint
- Loading branch information
Showing
2 changed files
with
76 additions
and
2 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