class_docstr: Tests for drawing mid-circuit measurements and classical conditions.
docstr: Test that combining multiple conditionals and multiple mid-circuit
  measurement statistics is drawn correctly.
docstr_tok: ["Test","that","combining","multiple","conditionals","and","multiple","mid-circuit","measurement","statistics","is","drawn","correctly","."]
code: def test_multi_cond_multi_meas_stats(self):
      """Test that combining multiple conditionals and multiple mid-circuit
      measurement statistics is drawn correctly."""
  
      def circ():
          qml.Hadamard(0)
          m0 = qml.measure(0)
          qml.Hadamard(1)
          m1 = qml.measure(1)
          qml.Hadamard(2)
          m2 = qml.measure(2)
          qml.Hadamard(3)
          qml.measure(3)
          qml.cond(m0, qml.PauliX)(0)
          qml.cond(m0 & m1, qml.PauliY)(1)
          return qml.expval(m2), qml.sample([m1, m2])
  
      drawing = qml.draw(circ)()
      expected_drawing = (
          "0: ──H──┤↗├──────────────────────────X────┤                    \n"
          "1: ──────║───H──┤↗├──────────────────║──Y─┤                    \n"
          "2: ──────║───────║───H──┤↗├──────────║──║─┤                    \n"
          "3: ──────║───────║───────║───H──┤↗├──║──║─┤                    \n"
          "         ╚═══════║═══════║═══════════╩══╣                      \n"
          "                 ╚═══════║══════════════╩═╡        ╭Sample[MCM]\n"
          "                         ╚════════════════╡  <MCM> ╰Sample[MCM]"
      )
  
      assert drawing == expected_drawing
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.drawer import draw
label_desc: Use image node_id 20 for calling the TestMidCircuitMeasurements obj's underlying member method code with example usage: obj.test_multi_cond_multi_meas_stats() and returns: qml,  qml