-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
backend.validate(qobj) #1057
Comments
@nonhermitian can you add to this the requests you have received about this as well. |
For Aer, most (if not all) of the simulators do have a private I'm more curious about the remotes, which are arguably the ones where this validation provides real value. Does it basically imply that we need help from the API (ie. a new endpoint) in order to perform those simple checks, to avoid hard-coding values and make it easier to adjust to changes in the limits of the devices, or are you thinking of something that can be done fully locally? |
I think this needs to call the remote. |
It looks like the information needed could be retrieved when the provider identifies backends. Could it be conveyed between |
I don't think so I would like to run a small calculation before we add it to queue to see that it would run. |
This is tracked in #871: an outgoing Qobject must pass two schema validations (that can be generalized to two general validations). Anyway, @jaygambetta, I would want to understand what are the advantages of providing this "try and send" workflow instead of the simpler: |
this is not a schema validation. It is a resource calculation on the qobj that depends on the backend. Ie if i'm hardware that only support 1000 gates it will say the qobj will not run. For the Clifford simulator, it would check all that gates are Cliffords. There are things we can do that don't waste the time off being in the queue that will let you know the job will fail or not be useful. currently, we let it run and it errors and then we return an error. |
Other examples of backend.validate() (i.e. things that cannot be checked with schema):
|
Pinging @pacomf @jelcaf @francabrera to make them aware of this proposal. |
Yes, I think that we need a microservice in the cloud to check these things of the qobj |
closing with #4105 |
IBM Quantum has rewritten the code of conduct to put in place a stronger enforcement process and tighten up the language. This commit updates the contents of CODE_OF_CONDUCT.md with this new version. Related to Qiskit/qiskit#1057
The tutorials repo was previously missing a code of conduct file for the repository. Since IBM Quantum has rewritten the code of conduct to put in place a stronger enforcement process and tighten up the language and the other qiskit repos were going through and updating the contents of their CODE_OF_CONDUCT.md. This commit takes the opportunity to add the missing CODE_OF_CONDUCT.md with this new version. Related to Qiskit/qiskit#1057
I would like to have a command to check that a qobj can be run on a backend.
I want to be able to go
and what this does is sends this to the backend and the backend does some simple checks.
I am not sure about the return type I would personally like this to be a token and then
would run the same way as a qobj.
This is requested by many now and is a lot of the questions we get so I would like to have some solution for this.
The text was updated successfully, but these errors were encountered: