class_docstr: A base class for operators that are composed of other operators.
  
  Args:
      operands: (tuple[~.operation.Operator]): a tuple of operators which will be combined.
  
  Keyword Args:
      id (str or None): id for the operator. Default is None.
  
  The child composite operator should define the `_op_symbol` property
  during initialization and define any relevant representations, such as
  :meth:`~.operation.Operator.matrix` and :meth:`~.operation.Operator.decomposition`.
docstr: Return the eigenvalues of the specified operator.
  
  This method uses pre-stored eigenvalues for standard observables where
  possible and stores the corresponding eigenvectors from the eigendecomposition.
  
  Returns:
      array: array containing the eigenvalues of the operator
docstr_tok: ["Return","the","eigenvalues","of","the","specified","operator",".","This","method","uses","pre-stored","eigenvalues","for","standard","observables","where","possible","and","stores","the","corresponding","eigenvectors","from","the","eigendecomposition",".","Returns",":","array",":","array","containing","the","eigenvalues","of","the","operator"]
code: def eigvals(self):
      """Return the eigenvalues of the specified operator.
  
      This method uses pre-stored eigenvalues for standard observables where
      possible and stores the corresponding eigenvectors from the eigendecomposition.
  
      Returns:
          array: array containing the eigenvalues of the operator
      """
      eigvals = []
      for ops in self.overlapping_ops:
          if len(ops) == 1:
              eigvals.append(
                  qml.utils.expand_vector(
                      ops[0].eigvals(),
                      list(ops[0].wires),
                      list(self.wires),
                  )
              )
          else:
              tmp_composite = self.__class__(*ops)
              eigvals.append(
                  qml.utils.expand_vector(
                      tmp_composite.eigendecomposition["eigval"],
                      list(tmp_composite.wires),
                      list(self.wires),
                  )
              )
  
      return self._math_op(eigvals, axis=0)
  
imports: import abc
  from typing import Callable, List
  import copy
  import numpy
  import pennylane
  from pennylane import math
  from pennylane.operation import Operator, convert_to_opmath, _UNSET_BATCH_SIZE
  from pennylane.wires import Wires
label_desc: Use image node_id 18 for calling the CompositeOp obj's underlying member method code with example usage: obj.eigvals() and returns: self