ffsim.spinful_to_spinless_rdm1¶ ffsim.spinful_to_spinless_rdm1(mat_a, mat_b)[source]¶ Convert a spinful 1-RDM to a spinless 1-RDM. Parameters: mat_a (ndarray) – The spin alpha part of the 1-RDM. mat_b (ndarray) – The spin beta part of the 1-RDM. Return type: ndarray Returns: The 1-RDM as a single matrix in spinless format.