View source on GitHub |
Generate integers indicating the position of occupied orbitals in a
fqe.bitstring.integer_index(
str0: int
) -> List[int]
bitstring starting from 0. This is a convience wrapper for the gbit_index generator
Args | |
---|---|
str0 (bistring) - orbital occupation representation |
Returns | |
---|---|
list[int] - a list of integers indicating the index of each occupied orbital |