Closed srihitha97 closed 3 years ago
@srihitha97 if you are planning to move the get result part into a diff file we can merge this after that?
@srihitha97 if you are planning to move the get result part into a diff file we can merge this after that?
Yes, will make the above 2 changes and request for review again.
To pass the circuit to the backend, we must first map it onto the backend, package it, and send to the device. This is all done by using the execute function:
job = execute(circuit, backend)
Alternatively, the circuit can be mapped using the transpile function, package it using assemble, and then send it from the backend instance itself.
Result on running ibm_api.py: