Skip to content

Commit

Permalink
fix: removed self from cast for cupy
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Feb 22, 2024
1 parent 3e0505d commit a6b0e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibojit/backends/clifford_operations_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def _determined_outcome(state, q, nqubits):
return state, state[dim * dim - 1].astype(cp.uint)


def cast(self, x, dtype=None, copy=False):
def cast(x, dtype=None, copy=False):
if dtype is None:
dtype = "complex128"
if cp.sparse.issparse(x):
Expand Down

0 comments on commit a6b0e26

Please sign in to comment.