Skip to content

Commit

Permalink
cov:
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Feb 21, 2024
1 parent 7478bb4 commit ae4bfce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/qibo/backends/_clifford_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

name = "numpy"

np = np


def _get_rxz(symplectic_matrix, nqubits):
return (
Expand Down
2 changes: 1 addition & 1 deletion src/qibo/backends/clifford.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, engine=None):

for method in dir(clifford_operations_cpu):
setattr(self.engine, method, getattr(clifford_operations_cpu, method))
elif engine == "cupy":
elif engine == "cupy": # pragma: no cover
from qibojit.backends import clifford_operations_gpu

for method in dir(clifford_operations_gpu):
Expand Down

0 comments on commit ae4bfce

Please sign in to comment.