class_docstr: Tests for the probs function
class_docstr_tok: ["Tests","for","the","probs","function"]
docstr: Test that measuring composite mid-circuit measurement values raises
  an error.
code: def test_composite_measurement_value_not_allowed(self):
      """Test that measuring composite mid-circuit measurement values raises
      an error."""
      m0 = qml.measure(0)
      m1 = qml.measure(1)
  
      with pytest.raises(
          ValueError,
          match=r"Cannot use qml.probs\(\) when measuring multiple",
      ):
          _ = qml.probs(op=m0 + m1)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import MeasurementProcess, Probability, ProbabilityMP, Shots
  from pennylane.queuing import AnnotatedQueue
label_desc: Use image node_id 18 for calling the TestProbs obj's underlying member method code with example usage: obj.test_composite_measurement_value_not_allowed() without return types