class_docstr: Tests for the measure function
class_docstr_tok: ["Tests","for","the","measure","function"]
docstr: Test that the hash for `MidMeasureMP` is defined correctly.
code: def test_hash(self):
      """Test that the hash for `MidMeasureMP` is defined correctly."""
      m1 = MidMeasureMP(Wires(0), id="m1")
      m2 = MidMeasureMP(Wires(0), id="m2")
      m3 = MidMeasureMP(Wires(1), id="m1")
      m4 = MidMeasureMP(Wires(0), id="m1")
  
      assert m1.hash != m2.hash
      assert m1.hash != m3.hash
      assert m1.hash == m4.hash
  
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 2 for calling the TestMeasure obj's underlying member method code with example usage: obj.test_hash() without return types