-
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
Regression: instruction label
must now be a string
#12581
Comments
An instruction label should always have been a string, and certainly for |
(btw, you're quite likely to see a lot more problems in the near future, including performance and memory regressions on |
Thanks for the reply, Jake. We can work around this pretty easily in ckt, obviously, and this is probably something I should have noticed in code review, except I was unfamiliar with |
Jake, it looks like if qiskit were modified as I suggest to convert the label to |
(Also, sorry I was in such a rush to open this issue. I wanted to do so before I forgot, but it turns out my mental model of what was happening was wrong still.) |
* transforms.py: Convert the barrier uuid label into a string More info at Qiskit/qiskit#12581 * Fix `isinstance(label, UUID)` check
* transforms.py: Convert the barrier uuid label into a string More info at Qiskit/qiskit#12581 * Fix `isinstance(label, UUID)` check (cherry picked from commit 654f02f)
…627) * transforms.py: Convert the barrier uuid label into a string More info at Qiskit/qiskit#12581 * Fix `isinstance(label, UUID)` check (cherry picked from commit 654f02f) Co-authored-by: Jim Garrison <garrison@ibm.com>
Sorry, I dropped responding to this at the time.
I meant to say: thank you very much for this - it is super helpful. Sorry for being curt before. |
Environment
main
What is happening?
I am witnessing a CI failure in the
circuit-knitting-toolbox
that very likely has something to do with the merging of #12459. (We run CI against Qiskitmain
on a cron job every day.)Here is one such error:
How can we reproduce the issue?
What should happen?
It should work like before.
Any suggestions?
It is probably sufficient to call
str(...)
on any object before passing to Rust, and to add a test.The text was updated successfully, but these errors were encountered: