Error when running final_index_layout(filter_ancillas=False)
#13732
Labels
bug
Something isn't working
final_index_layout(filter_ancillas=False)
#13732
Environment
What is happening?
On certain circuits transpiled with a backend and a coupling map, this call fails
raising
KeyError: "The item Qubit(QuantumRegister(5, 'q'), 3) does not exist in the Layout"
.This worked fine until qiskit 1.3.0
How can we reproduce the issue?
Running the following code:
What should happen?
There should not be any error in the call. The output to that particular example in
qiskit 1.2.4
is[3, 1, 2, 0]
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: