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 e8d2048 commit 4de0ac3
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():

Check notice on line 208 in pennylane/ops/op_math/controlled.py

View check run for this annotation

codefactor.io / CodeFactor

pennylane/ops/op_math/controlled.py#L208

Unused variable 'key' (unused-variable)
remove_from_queue_args_and_kwargs(value)
elif isinstance(item, qml.Operator):
elif isinstance(item, Operator):
qml.queuing.QueuingManager.remove(item)


Expand Down

0 comments on commit 4de0ac3

Please sign in to comment.