pydmqmc.utils.get_nex

pydmqmc.utils.get_nex(b1, b2)

Return the number of excitations between two states.

Parameters:
b1, b2array

The bitarrays of the states.

Returns:
int

The number of excitations between the given states.