Open husky-parul opened 3 years ago
Handle errors like this and propagate them to the user:
Traceback (most recent call last):
File "ibm_api.py", line 33, in
This happens when the QC contains 2 qubits but the backend(ibmq-armonk) supports only one
While there might be other errors we would want to propagate to the user, this one not. There is a plan to implement a scheduler that will take care of this, submitting jobs with a sufficient amount of qubits stated in the request.
Is your feature request related to a problem? Please describe. N/A
Describe the solution you'd like Add /submit endpoint to be able to:
/submit
API/submit
it runs the Qasm_Obj on a simulatorResult
objectResult
object. Let's call thisMocked_Result
incomplete
bucket.Result.to_dict()
JSON representation to the caller.Describe alternatives you've considered N/A
Additional context Qiskit API https://qiskit.org/documentation/index.html JSOn Schemas: https://github.com/Qiskit/ibm-quantum-schemas/tree/main/schemas