pydmqmc.utils.integer_to_bitarray
- pydmqmc.utils.integer_to_bitarray(iba, norb)
Generate a bitarray given an integer representation.
- Parameters:
- ibaint
The integer representation of the bitarray.
- norbint
The total number of spin-orbitals for the system.
- Returns:
- array
The array of integer bits representing the determinant.
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.