Skip to content

Commit

Permalink
control not passed form QubitExcitation to QubitExcitationImpl (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
kottmanj authored Jun 6, 2024
1 parent fe4a468 commit 2d68f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tequila/circuit/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ def QubitExcitation(angle: typing.Union[numbers.Real, Variable, typing.Hashable]
except:
raise Exception("QubitExcitation: Needs an even number of targets")

return QCircuit.wrap_gate(QubitExcitationImpl(angle=angle, target=target, assume_real=assume_real, compile_options=compile_options))
return QCircuit.wrap_gate(QubitExcitationImpl(angle=angle, target=target, assume_real=assume_real, compile_options=compile_options, control=control))


"""
Expand Down

0 comments on commit 2d68f84

Please sign in to comment.