code: def is_hermitian(op: Operator):
      r"""Check if the operation is hermitian.
  
      A hermitian matrix is a complex square matrix that is equal to its own adjoint
  
      .. math:: O^\dagger = O
  
      Args:
          op (~.operation.Operator): the operator to check against
  
      Returns:
          bool: True if the operation is hermitian, False otherwise
  
      .. note::
          This check might be expensive for large operators.
  
      **Example**
  
      >>> op = qml.PauliX(wires=0)
      >>> qml.is_hermitian(op)
      True
      >>> op2 = qml.RX(0.54, wires=0)
      >>> qml.is_hermitian(op2)
      False
      """
      if op.is_hermitian is True:
          return True
      return qml.math.allclose(
          qml.matrix(op), qml.matrix(qml.adjoint(op))
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: is_hermitian(op) and returns: qml, True