Qiskit / qiskit-ibm-provider

Qiskit Provider for accessing the IBM Quantum Services: Online Systems and Simulators
https://qiskit.org/ecosystem/ibm-provider/
Apache License 2.0
77 stars 67 forks source link

Qiskit backend fails to retrieve the results of circuits executed on different quantum machine #597

Closed rockingcubes closed 1 year ago

rockingcubes commented 1 year ago

Information

What is the current behavior?

When I execute the circuit on the quantum device, I'm not able to retrieve the output data for a circuit.

Steps to reproduce the problem

from qiskit import * circuit_name = "qasm_file/circuit.qasm" provider = IBMQ.save_account("KEY") provider = IBMQ.load_account() provider.backends() backend = 'ibmq_jakarta' devise = provider.get_backend(backend) trans_circ1 = transpile(circuit_name,backend=devise,optimization_level = 3) result = execute(trans_circ1, backend=self.devise, shots=8192).result() count = result.get_counts() print(count)

What is the expected behavior?

Variable "count" has to return the output states of the quantum circuit. I also checked my IBM cloud the circuit has been completed the executed on "ibmq_jakarta" but I cannot retrieve the data. Everything worked fine till yesterday and now that I cannot run my automation code to execute circuits and save the necessary datas required for my project.

jwoehr commented 1 year ago

If you are loading the provider via provider = IBMQ.load_account() then you're not using qiskit-ibm-provider, you're using qiskit-ibmq-provider. For more information, see Provider Setup in this repository.

kt474 commented 1 year ago

Closing the issue for now, feel free to reopen if you're still having this issue - as mentioned in the above comment, you may not be using the correct provider