I can’t access IBMQ systems using Pennylane. I get a 403 error with an additional code “2409 Forbidden” when I look at the administrative panel in the IBMQ network, with no log that it attempted access. I can run a job on the IBMQ network with a simple circuit, like this:
import pennylane as qml from qiskit import IBMQ provider = IBMQ.load_account() IBMQ.get_provider(hub='myhub', group='mygroup', project='my_proj') dev = qml.device('qiskit.ibmq', wires=2, backend='ibmq_santiago', provider=provider) dev.capabilities()['backend'] @qml.qnode(dev) def circuit(x, y, z): qml.RZ(z, wires=) qml.RY(y, wires=) qml.RX(x, wires=) qml.CNOT(wires=[0, 1]) return qml.expval(qml.PauliZ(wires=1)) circuit(0.2, 0.1, 0.3)
However, when I try to run the Quantum Transfer Learning notebook, it never runs.
Quantum transfer learning — PennyLane
I saw the other post about not being able to run quantum circuits on IBMQ with this notebook, and tried implementing some of the code from: quantum-transfer-learning/quantum_processors at master · XanaduAI/quantum-transfer-learning (github.com)
However, I still can’t get it to run on quantum hardware when just running the “run_on_QPU.py” script. I can run it without using a IBMQ quantum backend fine, but why won’t it run on a an IBM Q system with the following device parameters?
provider = IBMQ.load_account() IBMQ.get_provider(hub='myhub', group='mygroup', project='my_proj') dev = qml.device('qiskit.ibmq', wires=4, backend='ibmq_santiago', provider=provider)
Error message I get on the IBMQ network:
Request failed with status code 403 2409 - Forbidden.