from_qasm_str
not importing Fswap
correctly
#13339
Labels
Milestone
from_qasm_str
not importing Fswap
correctly
#13339
Environment
What is happening?
When one creates a circuit with
qiskit.QuantumCircuit.from_qasm_str
an Fswap gate will sometimes be mapped to swap. This seems to only happen if there is a swap before the fswap in the qasm file.gives
But
gives
How can we reproduce the issue?
Run this code:
It outputs
What should happen?
I should output
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: