Skip to content

Commit

Permalink
easing the eyes
Browse files Browse the repository at this point in the history
  • Loading branch information
AmintorDusko committed Nov 18, 2022
1 parent 1d30856 commit d691e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane_lightning/lightning_qubit.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def accepts_obj(obj):
return True
if obj.name == "GroverOperator" and len(obj.wires) < 13:
return True
return not isinstance(obj, qml.tape.QuantumTape) and getattr(
return (not isinstance(obj, qml.tape.QuantumTape)) and getattr(
self, "supports_operation", lambda name: False
)(obj.name)

Expand Down

0 comments on commit d691e1e

Please sign in to comment.