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

Improve QPU selection in QPU tests #214

Open
2 tasks done
shahidee44 opened this issue Mar 23, 2023 · 0 comments
Open
2 tasks done

Improve QPU selection in QPU tests #214

shahidee44 opened this issue Mar 23, 2023 · 0 comments

Comments

@shahidee44
Copy link
Collaborator

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

The name of the QPU used for the unittest is hardcoded. To change to automated device name selection.
(https://github.com/entropicalabs/openqaoa/blob/main/tests/test_qpu_qiskit.py#L504)

Expected behavior

In the scenario where ibmq_perth gets decommissioned, the code will not work. Also this code might not work if the device is not accepting jobs. (Although technically the Device Object should already reject this device if it isn't Online, even before the Job is sent.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant