Skip to content

Commit

Permalink
Update qutip/qip/operations/gates.py
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Cross <hodgestar+github@gmail.com>
  • Loading branch information
AGaliciaMartinez and hodgestar committed Oct 13, 2021
1 parent ede4a5b commit 311ba24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qutip/qip/operations/gates.py
Expand Up @@ -894,7 +894,7 @@ def hadamard_transform(N=1):
"""
H = Qobj([[1, 1], [1, -1]]) / np.sqrt(2)

return tensor([H]*N)
return tensor([H] * N)


def _flatten(lst):
Expand Down

0 comments on commit 311ba24

Please sign in to comment.