-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Undefined variable used in raise #10113
Labels
bug
Something isn't working
Comments
Thanks for pointing this out! I imagine that the original intent was to say "native direction cannot be determined" and a bit of debugging information to go with it. Would you be interested in making a PR that updates the error to say that, and includes the qubits and instruction schedule map passed to the function? |
Sure, I'll do that |
Randl
added a commit
to Randl/qiskit-terra
that referenced
this issue
May 16, 2023
Randl
added a commit
to Randl/qiskit-terra
that referenced
this issue
May 16, 2023
jakelishman
pushed a commit
that referenced
this issue
May 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Current master
What is happening?
Here
https://github.com/Qiskit/qiskit-terra/blob/5177db6e09917809895fe37878422ba8fcb6321a/qiskit/transpiler/passes/calibration/rzx_builder.py#L363
the variable
cr_sched
is undefined.How can we reproduce the issue?
Call the function with wrong parameters
What should happen?
The exception should be raised
Any suggestions?
Change the description to not include undefined variable
The text was updated successfully, but these errors were encountered: