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

fixed qubit overflow error by placing error catching mechanism before… #264

Merged
merged 4 commits into from
Jul 18, 2023

Conversation

vishal-ph
Copy link
Collaborator

@vishal-ph vishal-ph commented Jul 14, 2023

Description

  • If there are more number of qubits in the problem than are available on the device, OpenQAOA should raise an error before the problem is sent for routing to the routing function. This check was happening after the routing function was called. This PR fixes that and places the qubit number check before the routing function is called.

@vishal-ph vishal-ph merged commit b90589b into dev Jul 18, 2023
4 checks passed
@vishal-ph vishal-ph deleted the fix_qubit_overflow branch July 18, 2023 02:39
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

Successfully merging this pull request may close these issues.

2 participants