Skip to content
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

Azure backend doesn't catch http response errors #205

Open
2 tasks done
Q-lds opened this issue Mar 15, 2023 · 0 comments
Open
2 tasks done

Azure backend doesn't catch http response errors #205

Q-lds opened this issue Mar 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Q-lds
Copy link
Member

Q-lds commented Mar 15, 2023

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

image

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.

@Q-lds Q-lds added the bug Something isn't working label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants