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