def test_jordan_wigner_interaction_op_too_few_n_qubits(self):
    with self.assertRaises(ValueError):
        jordan_wigner_interaction_op(self.interaction_operator, (self.n_qubits - 2))
def test_jordan_wigner_interaction_op_too_few_n_qubits(self):
    with self.assertRaises(ValueError):
        jordan_wigner_interaction_op(self.interaction_operator, (self.n_qubits - 2))