Open
Description
Prerequisites
Before raising this issue, I have already checked that I am:
- running the latest version
- made sure that this issue has not already been filed
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Using an azure device (e.g. device = create_device(location='azure', name='rigetti.sim.qvm', resource_id=resource_id, az_location=az_location)
) lead to the following HttpResponseError
Since the exception was not caught gracefully by OQ the result of the run was lost.
Expected behaviour
OQ should always exit gracefully any error that happens during the hybrid classical-quantum loop. This is fundamental to avoid loosing QPU data.