-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
qasm3.Exporter
raises an obscure error on invalid basis-gate name
#12886
Comments
Imo it's right to error here, but the message could be a lot better. Passing arbitrary values in This code example is telling the exporter to treat The code example here probably shouldn't set |
Though that said, if there are backends doing this, including passing |
Thank you for your information. I will stop passing backend's basis gates to |
Let's leave it open - the error message isn't good, and I'll write a better one. |
qasm3.Exporter
raises an error with Qiskit 1.2.0 rc1qasm3.Exporter
raises an obscure error
Editing the title to reflect the discussion conclusion |
qasm3.Exporter
raises an obscure errorqasm3.Exporter
raises an obscure error on invalid basis-gate name
Environment
What is happening?
qasm3.Exporter
raises an error with a simple case with 1.2.0 rc1 while 1.1.1 works fine.How can we reproduce the issue?
qiskit 1.2.0 rc1
qiskit 1.1.1
What should happen?
It would be nice to run without error or show a warning instead of the error.
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: