-
Notifications
You must be signed in to change notification settings - Fork 12
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
RuntimeJobFailureError got an unexpected keyword argument 'dynamic' #230
Comments
Thank you for raising this as an issue. @cqc-melf I think you have also encountered this error? |
Could you please share the version of pytket-qiskit you are using? Also if its convenient for you to share a code snippet that would also be helpful. |
Sure! Here is a working fragment: import pytket.circuit
import pytket.extensions.qiskit as pytket_qiskit
from qiskit_ibm_provider import IBMProvider
from qiskit_ibm_runtime import QiskitRuntimeService
ibmq_token = "my_token"
IBMProvider.save_account(token=ibmq_token, overwrite=True)
QiskitRuntimeService.save_account(channel="ibm_quantum", token=ibmq_token, overwrite=True)
pytket_circuit = pytket.circuit.Circuit(2)
pytket_circuit.H(0)
pytket_circuit.CX(0,1)
pytket_circuit.measure_all()
backend = pytket_qiskit.IBMQBackend("ibmq_qasm_simulator")
circuit = backend.get_compiled_circuit(pytket_circuit)
print(backend.run_circuit(circuit, n_shots=1000)) The output from the terminal is:
and then the exception reported above. This is, instead, the log in the IBM Quantum dashboard: Finally, the versions I'm using are:
|
Thank you, that is helpful. I'll take a look. |
I managed to reproduce your error by using your package versions. Surprisingly the error was resolved by upgrading to |
Wow, great thanks! With the 0.46 even in my PC now it works! Thanks again! |
Currently, I cannot launch the circuits because I always get this error:
The code I use does not pass any additional arguments
The text was updated successfully, but these errors were encountered: