Skip to content

Commit

Permalink
fix: removed array.get()
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Mar 20, 2024
1 parent 730129a commit 7e4c79f
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 @@ -756,7 +756,7 @@ def _clifford_pre_execution_reshape(state, pack=False):

def _clifford_post_execution_reshape(state, nqubits):
dim = _get_dim(nqubits)
return _unpackbits(state.reshape(-1, dim).get(), axis=0)[:dim]
return _unpackbits(state.reshape(-1, dim), axis=0)[:dim]


def identity_density_matrix(nqubits, normalize: bool = True):
Expand Down

0 comments on commit 7e4c79f

Please sign in to comment.