QuantumCircuit.decompose
raises an error with a conditional U gate for Qiskit 1.3.0rc2 and the main branch
#13493
Labels
bug
Something isn't working
Environment
What is happening?
A circuit with a conditional gate raises an error when
decompose
is invoked. It does not happen for 1.2.4How can we reproduce the issue?
What should happen?
No error should be raised as same as 1.2.4
Any suggestions?
The following procedure, which exists in stable/1.2, is perhaps necessary to handle
UGate.c_if
in_apply_op_node_back
?qiskit/qiskit/dagcircuit/dagcircuit.py
Lines 722 to 726 in cd26d49
The text was updated successfully, but these errors were encountered: