When trying to run a job on X8 device, I get:
HTTPError: 403 Client Error: Forbidden for url: https://platform.xanadu.ai:443/jobs/fca831fb-b427-4151-8960-1d187d4a8af3
When trying to run a job on X8 device, I get:
HTTPError: 403 Client Error: Forbidden for url: https://platform.xanadu.ai:443/jobs/fca831fb-b427-4151-8960-1d187d4a8af3
Hi @_risto,
Can you please confirm the following information?
import xcc
xcc.Settings(REFRESH_TOKEN="Xanadu Cloud API key goes here").save()
Let me know if you have any questions!
Yes, I have followed these steps. I don’t get anything when I run those two lines.
This is the line that causes error:
# Define the device
dev = qml.device("strawberryfields.remote", backend="X8", shots=1000)
Hi @_risto,
I see that you’re using PennyLane. I would recommend using Strawberry Fields directly if possible unless you need something that is PennyLane-specific. It’s important to note that the “strawberryfields.remote” device requires using the PennyLane-StrawberryFields plugin, which is only supported up to version 0.29 of PennyLane.
In short, I would recommend using Strawberry Fields directly if you want to use X8, or use version 0.29 of PennyLane with the PennyLane-StrawberryFields plugin if you want to want to keep using PennyLane.
Please let me know if you have any questions about this or if you’re still having issues.