pydmqmc.utils.extract_bitarrays_from_label

pydmqmc.utils.extract_bitarrays_from_label(label, norb)

Extract the bitarrays used to generate a given integer state label.

Parameters:
labelint

The integer label of the state.

norbint

The number of orbitals in the system.

Returns:
array

An array of the two bitarrays used to generate the integer representation of the given state.

Notes

A bitarray is shorthand for an array of 1’s and 0’s. More traditionally referred to as “bitstrings,” these are used to represent Slater determinants.