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