def METHOD_NAME(
    self, expected: SparsePauliOp, observed: SparsePauliOp, message: str = ""
) -> None:
    """Assert that 'expected' is not equal to 'observed'.
    Args:
        expected: expected SparsePauliOp value.
        observed: observed SparsePauliOp value.
        message: additional message
    Raises:
        AssertionError: arguments are different
    """
    try:
        self.assertEqualSparsePauliOp(expected, observed, message)
    except AssertionError:
        return
    msg = f"{expected} == {observed}"
    if len(message) > 0:
        msg = f"{msg} : {message}"
    raise AssertionError(msg)