Closed davide710 closed 20 hours ago
@davide710 I believe this was fixed in the latest release, 0.31
- can you try again
Hello @kt474 , thank you for the answer, unfortunately updating to qiskit-ibm-runtime==0.31
didn't solve this, now it's gone back to simply show me the failed job on the platform and there I read the error message. I also updated to qiskit==1.2
. Also, in #1979 @jwoehr described a similar problem with a dynamic circuit, and he is also using the latest version. To add more context, the error shows up on fake providers too, and I was able to run a dynamic circuit here
Sorry, we just pushed another update on the server side to fix this issue - let me know if this job still fails
Yes @kt474, now it works! Thank you!
Describe the bug I have a circuit that works fine on the simulator (even the isa_circuit), but when trying execution on real hardware with
qiskit_ibm_runtime.SamplerV2
I get the error:KeyError: Qubit(QuantumRegister(2, 'q'), 0)
. I first used qiskit-ibm-runtime==0.25.0 and got no output (I could only see that the job had failed on the quantum platform), then updated to version 0.30 and got the error I mentioned.Steps to reproduce Here is the code to create the circuit:
Here is the part for real hardware execution:
This works as expected:
Expected behavior The job is executed without errors.
Suggested solutions I wonder if the problem is the same as here: in fact, with
qiskit_aer==0.14
I got the same error with the simulator, but updating to version 0.15 fixed it.Additional Information qiskit==1.1.0 qiskit-aer==0.15.0 qiskit-algorithms==0.3.0 qiskit-ibm-runtime==0.30.0 qiskit-machine-learning==0.7.2 qiskit-nature==0.7.2 qiskit-nature-pyscf==0.4.0 qiskit-qasm3-import==0.5.0 qiskit-transpiler-service==0.4.5