Skip to content

bugfix: constrained hilbert spaces

Vicentini Filippo requested to merge PhilipVinc-patch-2 into v3.0

Created by: PhilipVinc

Numba np.argwhere is badly supported and returns a non contiguous array that reshape does not like. Use nonzero instead.

I think it's a recent Numba change.

In any case argwhere is internally implemented by Numba with nonzero so... does not change much.

Merge request reports