View source on GitHub |
Return a standard sorting of configuration keys in a wavefunction for
fqe.util.sort_configuration_keys(
configs: KeysView[Tuple[int, int]]
) -> List[Tuple[int, int]]
comparison. The configurations are sorted first by the number of particles and then by the spin quantum number.
Args | |
---|---|
wfn list[(int, int)] - a dictionary of keys |
Returns | |
---|---|
list with the sorted keys |