def test_ccr_offsite_odd_cc(self):
    c1 = FermionOperator(((1, 1),))
    c4 = FermionOperator(((4, 1),))
    self.assertTrue(normal_ordered((c1 * c4)).isclose(normal_ordered(((- c4) * c1))))
    self.assertTrue(jordan_wigner((c1 * c4)).isclose(jordan_wigner(((- c4) * c1))))
def test_ccr_offsite_odd_cc(self):
    c1 = FermionOperator(((1, 1),))
    c4 = FermionOperator(((4, 1),))
    self.assertTrue(normal_ordered((c1 * c4)).isclose(normal_ordered(((- c4) * c1))))
    self.assertTrue(jordan_wigner((c1 * c4)).isclose(jordan_wigner(((- c4) * c1))))