class_docstr: Measurement process that returns the quantum state in the computational basis.
  
  Please refer to :func:`density_matrix` for detailed documentation.
  
  Args:
      wires (.Wires): The wires the measurement process applies to.
      id (str): custom label given to a measurement instance, can be useful for some applications
          where the instance has to be identified
class_docstr_tok: ["Measurement","process","that","returns","the","quantum","state","in","the","computational","basis",".","Please","refer","to",":","func",":","`","density_matrix","`","for","detailed","documentation",".","Args",":","wires","(",".Wires",")",":","The","wires","the","measurement","process","applies","to",".","id","(","str",")",":","custom","label","given","to","a","measurement","instance",",","can","be","useful","for","some","applications","where","the","instance","has","to","be","identified"]
code: def process_state(self, state: Sequence[complex], wire_order: Wires):
      # pylint:disable=redefined-outer-name
      wire_map = dict(zip(wire_order, range(len(wire_order))))
      mapped_wires = [wire_map[w] for w in self.wires]
      return qml.math.reduce_statevector(state, indices=mapped_wires)
  
file_path: pennylane/pennylane/measurements/state.py
imports: from typing import Sequence, Optional
  import pennylane
  from pennylane.wires import Wires, WireError
  from .measurements import State, StateMeasurement
label_desc: Use image node_id 3 for calling the DensityMatrixMP obj's underlying member method code with example usage: obj.process_state(state, wire_order) and returns: qml