Skip to content

Azure backend doesn't catch http response errors #205

Open
@Q-lds

Description

@Q-lds

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions