def test_jordan_wigner_twobody_interaction_op_allunique(self):
    test_op = FermionOperator('1^ 2^ 3 4')
    test_op += hermitian_conjugated(test_op)
    retransformed_test_op = reverse_jordan_wigner(jordan_wigner(get_interaction_operator(test_op)))
    self.assertTrue(normal_ordered(retransformed_test_op).isclose(normal_ordered(test_op)))
def test_jordan_wigner_twobody_interaction_op_allunique(self):
    test_op = FermionOperator('1^ 2^ 3 4')
    test_op += hermitian_conjugated(test_op)
    retransformed_test_op = reverse_jordan_wigner(jordan_wigner(get_interaction_operator(test_op)))
    self.assertTrue(normal_ordered(retransformed_test_op).isclose(normal_ordered(test_op)))