-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clifford simulator result() fails on any circuit #1119
Projects
Comments
mtreinish
added a commit
to mtreinish/qiskit-core
that referenced
this issue
Oct 22, 2018
The qobj conversion for the clifford simulator was incorrectly treating a qobj object as a dict and trying to access it like one. This commit fixes this by converting an input qobj object into a dict, performing the transforms and then making a new qobj from that dit to pass to run(). Fixes Qiskit#1119
mtreinish
added a commit
to mtreinish/qiskit-core
that referenced
this issue
Nov 1, 2018
This commit adds some additional tests that loop over all available backends to verify that certain common results operations work on all the available backends. It turns out during the course of a normal test run we don't verify that results operations work with all the available (in-repo) backends. This has led to issues like Qiskit#1119 and Qiskit#1116 because we didn't have this verification. This adds the start of the testing coverage needed, it only adds coverage for adding results. But, we can expand this to cover additional results operations in the future.
jaygambetta
pushed a commit
that referenced
this issue
Nov 2, 2018
The qobj conversion for the clifford simulator was incorrectly treating a qobj object as a dict and trying to access it like one. This commit fixes this by converting an input qobj object into a dict, performing the transforms and then making a new qobj from that dit to pass to run(). Fixes #1119
lia-approves
pushed a commit
to edasgupta/qiskit-terra
that referenced
this issue
Jul 30, 2019
The qobj conversion for the clifford simulator was incorrectly treating a qobj object as a dict and trying to access it like one. This commit fixes this by converting an input qobj object into a dict, performing the transforms and then making a new qobj from that dit to pass to run(). Fixes Qiskit#1119
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Informations
What is the current behavior?
When attempting to call execute() with the backend being the clifford simulator it always fails.
This was hit in trying to add some new tests that ran on all backends:
https://travis-ci.org/Qiskit/qiskit-terra/jobs/442859915#L1694
Steps to reproduce the problem
Build any circuit and run execute() and result() on it with the clifford simulator backend. For example:
What is the expected behavior?
The circuit runs on the simulator.
Suggested solutions
Fix the underlying issue
The text was updated successfully, but these errors were encountered: