Skip to content

Commit

Permalink
Update src/qibo/quantum_info/random_ensembles.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alejandro Sopena <[email protected]>
  • Loading branch information
renatomello and AlejandroSopena authored Feb 4, 2024
1 parent 2875282 commit 5192b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibo/quantum_info/random_ensembles.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def random_statevector(dims: int, seed=None, backend=None):
state /= np.linalg.norm(state)
state = backend.cast(state, dtype=state.dtype)

return backend.cast(state, dtype=state.dtype)
return state


def random_density_matrix(
Expand Down

0 comments on commit 5192b14

Please sign in to comment.