pydmqmc.utils.get_occ

pydmqmc.utils.get_occ(b1)

Return the number of occupied orbitals in a given bitarray.

Parameters:
b1array

The bitarray of the state.

Returns:
array

The indices of the occupied orbitals in the given bitarray.