Is there maximum number on the number of successive jobs that can be submitted with remote simulon_gaussian/X8 engines?
I ask because if I set up a loop to submit circuits, everything works as expected for N iterations (where N depends on the number of shots, but N=10 is a typical value) but then I receive the following error:
# File c:\Miniconda3\envs\sf_env\Lib\site-packages\xcc\job.py:308, in Job.finished(self)
...
1018 )
1020 if http_error_msg:
-> 1021 raise HTTPError(http_error_msg, response=self)
HTTPError: 403 Client Error: Forbidden for url: https://platform.xanadu.ai:443/jobs/d54f2a6a-d438-433d-a780-3e32f7b7d4cc
Hi @gloy , this is very strange. Make sure you’re following the instructions in the documentation on how to connect to hardware. If you’re running this locally you will need to pip install xanadu-cloud-client first. Then you can follow the instructions in the documentation and follow the instructions on executing programs on X8 devices if you want to run on hardware.
I would recommend using a new virtual environment first, before doing anything to avoid package versioning and compatibility issues.
Let me know if this solves your issue. Otherwise, please post a minimal but self-contained example of the code that I can use to try to reproduce the error.