Skip to content

Commit

Permalink
Update controlled.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KetpuntoG committed Sep 19, 2024
1 parent 0a01915 commit e8d2048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane/ops/op_math/controlled.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def remove_from_queue_args_and_kwargs(item):
elif isinstance(item, dict):
for key, value in item.items():
remove_from_queue_args_and_kwargs(value)
else:
elif isinstance(item, qml.Operator):
qml.queuing.QueuingManager.remove(item)


Expand Down

0 comments on commit e8d2048

Please sign in to comment.