class_docstr: Measurement process that applies a transform into the given quantum tape. This transform
  is carried out inside the gradient black box, thus is not tracked by the gradient transform.
  
  Any class inheriting from ``MeasurementTransform`` should define its own ``process`` method,
  which should have the following arguments:
  
  * tape (QuantumTape): quantum tape to transform
  * device (pennylane.Device): device used to transform the quantum tape
class_docstr_tok: ["Measurement","process","that","applies","a","transform","into","the","given","quantum","tape",".","This","transform","is","carried","out","inside","the","gradient","black","box",",","thus","is","not","tracked","by","the","gradient","transform",".","Any","class","inheriting","from","``","MeasurementTransform","``","should","define","its","own","``","process","``","method",",","which","should","have","the","following","arguments",":","*","tape","(","QuantumTape",")",":","quantum","tape","to","transform","*","device","(","pennylane.Device",")",":","device","used","to","transform","the","quantum","tape"]
docstr: Process the given quantum tape.
  
  Args:
      tape (QuantumTape): quantum tape to transform
      device (pennylane.Device): device used to transform the quantum tape
code: def process(self, tape, device):
      """Process the given quantum tape.
  
      Args:
          tape (QuantumTape): quantum tape to transform
          device (pennylane.Device): device used to transform the quantum tape
      """
  
imports: import copy
  import functools
  from warnings import warn
  from abc import ABC, abstractmethod
  from enum import Enum
  from typing import Sequence, Tuple, Optional, Union
  import pennylane
  from pennylane.operation import Operator, DecompositionUndefinedError, EigvalsUndefinedError
  from pennylane.pytrees import register_pytree
  from pennylane.typing import TensorLike
  from pennylane.wires import Wires
  from .shots import Shots
label_desc: Use image node_id 1 for calling the MeasurementTransform obj's underlying member method code with example usage: obj.process(tape, device) without return types