class_docstr: A class representing unknown measurement outcomes in the qubit model.
  
  Measurements on a single qubit in the computational basis are assumed.
  
  Args:
      measurements (list[.MidMeasureMP]): The measurement(s) that this object depends on.
      processing_fn (callable): A lazily transformation applied to the measurement values.
class_docstr_tok: ["A","class","representing","unknown","measurement","outcomes","in","the","qubit","model",".","Measurements","on","a","single","qubit","in","the","computational","basis","are","assumed",".","Args",":","measurements","(","list","[",".MidMeasureMP","]",")",":","The","measurement","(","s",")","that","this","object","depends","on",".","processing_fn","(","callable",")",":","A","lazily","transformation","applied","to","the","measurement","values","."]
docstr: A dictionary representing all possible outcomes of the MeasurementValue.
docstr_tok: ["A","dictionary","representing","all","possible","outcomes","of","the","MeasurementValue","."]
code: def branches(self):
      """A dictionary representing all possible outcomes of the MeasurementValue."""
      ret_dict = {}
      for i in range(2 ** len(self.measurements)):
          branch = tuple(
              int(b)
              for b in np.binary_repr(i, width=len(self.measurements))
          )
          ret_dict[branch] = self.processing_fn(*branch)
      return ret_dict
  
imports: import uuid
  from typing import Generic, TypeVar, Optional
  import numpy
  import pennylane
  from pennylane.wires import Wires
  from .measurements import MeasurementProcess, MidMeasure
label_desc: Use image node_id 4 for calling the MeasurementValue obj's underlying member method code with example usage: obj.branches() and returns: ret_dict