-
Notifications
You must be signed in to change notification settings - Fork 272
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
confusing error message for circuit #273
Comments
Thanks for the suggestion to annotate the message of these errors in future versions. The reason for your error is that this setup currently does not support your gate set as it currently requires Let me know if you have a special gate set in mind and what it is used for. Future version will support a discrete gate set to get estimates for error correction overheads... By the way:
One can probably remove this mapper by adapting the backend. |
When a circuit cannot be compiled because gates are not available an error
RecursionError: maximum recursion depth exceeded
is generated. It would be better to generate an error indicating why the circuit cannot be compiled, e.g.CircuitRecursionError: cannot find circuit for [xxx]
.A minimal example:
The text was updated successfully, but these errors were encountered: