def METHOD_NAME(self):
    """Test dot of two readout errors."""
    probs0 = [[0.9, 0.1], [0.4, 0.6]]
    probs1 = [[0.5, 0.5], [0.2, 0.8]]
    probs = np.dot(probs1, probs0).tolist()
    error_dict = {"type": "roerror", "operations": ["measure"], "probabilities": probs}
    error0 = ReadoutError(probs0)
    error1 = ReadoutError(probs1)
    # dot method
    error = error1.dot(error0)
    self.assertEqual(error.number_of_qubits, 1)
    self.assertEqual(error.probabilities.tolist(), probs)
    self.assertEqual(error.to_dict(), error_dict)
    # * method
    error = error1 * error0
    self.assertEqual(error.number_of_qubits, 1)
    self.assertEqual(error.probabilities.tolist(), probs)
    self.assertEqual(error.to_dict(), error_dict)