quri_parts.chem.utils.spin module¶ occupation_state_sz(occ_indices)¶ Parameters: occ_indices (Collection[int]) Return type: float