You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Randomised testing found a case where PyO3 is panicking and reporting "Graph::add_edge: node indices out of bounds" during SabreSwap (triggered by SabreLayout).
This commit fixes a bug introduced in SabreSwap that was caught by the
randomized testing in Qiskit#8635. A copy paste error was causing the rusty
sabre code to panic in cases where there were classical bits of a
particular index assigned prior to the qubit with the same index. This
commit fixes the typo so the behavior is corrected in general and the
panic is also fixed.
FixesQiskit#8635
Environment
What is happening?
Randomised testing found a case where PyO3 is panicking and reporting "Graph::add_edge: node indices out of bounds" during SabreSwap (triggered by SabreLayout).
How can we reproduce the issue?
this produces (exception shortened):
What should happen?
Successful transpilation - this looks like a potential bug in the new Rusty Sabre handover (#8388).
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: