def test_ccr_offsite_odd_ca(self):
    c1 = FermionOperator(((1, 1),))
    a4 = FermionOperator(((4, 0),))
    self.assertTrue(normal_ordered((c1 * a4)).isclose(normal_ordered(((- a4) * c1))))
    self.assertTrue(jordan_wigner((c1 * a4)).isclose(jordan_wigner(((- a4) * c1))))
def test_ccr_offsite_odd_ca(self):
    c1 = FermionOperator(((1, 1),))
    a4 = FermionOperator(((4, 0),))
    self.assertTrue(normal_ordered((c1 * a4)).isclose(normal_ordered(((- a4) * c1))))
    self.assertTrue(jordan_wigner((c1 * a4)).isclose(jordan_wigner(((- a4) * c1))))