-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #406 from CQCL/bugfix/specify-what-we-expect-in-qi…
…skit-result-conversion Adds parameters to qiskit_result_to_backendresult / qiskit_experimentresult_to_backendresult to specify which type of results we expect to have back. Previously, circuits with classical bits submitted to AerStateBackend would have a counts field in their returned result, because Qiskit reads from the classical register memory. Now we don't set that, because we don't expect counts to be returned from AerStateBackend so we ignore that field. Also, we weren't ever passing in anything to ppcirc in qiskit_experimentresult_to_backendresult, so after discussion with @cqc-melf and @cqc-alec that's been removed as part of this PR.
- Loading branch information
Showing
3 changed files
with
47 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
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