spin_string Subroutine

public pure subroutine spin_string(occ, det, spin_string_a, spin_string_b, sign)

returns a determinant given in genealogical path as alpha and beta strings plus sign

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: occ(:)
integer, intent(in) :: det(:)
integer, intent(out) :: spin_string_a(:)
integer, intent(out) :: spin_string_b(:)
integer, intent(inout) :: sign