class_docstr: Test all the dunder methods associated with the MeasurementValue class
class_docstr_tok: ["Test","all","the","dunder","methods","associated","with","the","MeasurementValue","class"]
docstr: Test that the _merge operation does not create more than 2 branches when combining two MeasurementValues
  that are based on the same measurement.
code: def test_merge_measurements_values_dependant_on_same_measurement(
      self,
  ):
      """Test that the _merge operation does not create more than 2 branches when combining two MeasurementValues
      that are based on the same measurement."""
      m0 = MeasurementValue([mp1], lambda v: v)
      m1 = MeasurementValue([mp1], lambda v: v)
      combined = m0 + m1
      assert combined[0] == 0
      assert combined[1] == 2
  
imports: from itertools import product
  import pytest
  import pennylane
  import pennylane.numpy
  from pennylane.measurements import MidMeasureMP, MeasurementValue
  from pennylane.wires import Wires
label_desc: Use image node_id 33 for calling the TestMeasurementValueManipulation obj's underlying member method code with example usage: obj.test_merge_measurements_values_dependant_on_same_measurement() without return types