def _build_1bdy_operators_spinful() -> list:
    ' Returns spinful one-body operators as a symmetry-reduced list of QubitHamiltonians '
    ops = []
    for p in range(n_SOs):
        for q in range((p + 1)):
            op_tuple = ((p, 1), (q, 0))
            op = _get_of_op(op_tuple)
            ops += [op]
    return ops
Returns spinful one-body operators as a symmetry-reduced list of QubitHamiltonians
def _build_1bdy_operators_spinful() -> list:
    '  '
    ops = []
    for p in range(n_SOs):
        for q in range((p + 1)):
            op_tuple = ((p, 1), (q, 0))
            op = _get_of_op(op_tuple)
            ops += [op]
    return ops