Skip to content

Commit

Permalink
codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
KetpuntoG committed Oct 17, 2023
1 parent 3704848 commit dc001bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pennylane/templates/state_preparations/cosine_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ def __init__(self, wires, id=None):
super().__init__(wires=wires, id=id)

@staticmethod
def compute_decomposition(*args, wires, **kwargs):
def compute_decomposition(
*args, wires, **kwargs
): # pylint: disable=arguments-differ,unused-argument
r"""Representation of the operator as a product of other operators (static method).
It is efficiently decomposed from one QFT over all qubits and one-qubit rotation gates.
Expand Down

0 comments on commit dc001bd

Please sign in to comment.