-
Notifications
You must be signed in to change notification settings - Fork 37
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
I got error when I execute "run_on_QPU.py" #14
Comments
Hi @masaya611! You will need the pennylane-qiskit plugin. You can install it by using Please let us know if this solves your problem! |
After installing pennylane-qiskit, there is no ibmqx4 device.
Device capabilities: ['ibmq_qasm_simulator', 'ibmq_lima', 'ibmq_belem', 'ibmq_quito', 'simulator_statevector', 'simulator_mps', 'simulator_extended_stabilizer', 'simulator_stabilizer', 'ibmq_manila', 'ibm_nairobi', 'ibm_oslo'] |
Can you guys give me a new one, using the QPU example? This version is too old, and the IBM piece of equipment seems to be gone. Thank you very much! |
Hi @OnePl3 , yes, as you noticed IBM no longer has the ibmqx4 device. However you can use ibmq_lima if you prefer. You just need to change the |
Hello.
I try to execute "run_on_QPU.py"
I got the error messages below.
Traceback (most recent call last):
File "/home/watabe/quantum-transfer-learning/quantum_processors/run_on_QPU.py", line 62, in
dev = qml.device("qiskit.ibmq", wires=n_qubits, backend="ibmqx4", ibmqx_token=token)
File "/home/watabe/.tql/lib/python3.10/site-packages/pennylane/init.py", line 330, in device
raise DeviceError("Device does not exist. Make sure the required plugin is installed.")
pennylane._device.DeviceError: Device does not exist. Make sure the required plugin is installed.
I only change the token in this code.
Are there what I need to do?
The text was updated successfully, but these errors were encountered: