class_docstr: Tests for drawing mid-circuit measurements and classical conditions.
docstr: Test that a circuit is drawn correctly when multiple lines are needed and the
  measurements and conditions are split between the lines.
docstr_tok: ["Test","that","a","circuit","is","drawn","correctly","when","multiple","lines","are","needed","and","the","measurements","and","conditions","are","split","between","the","lines","."]
code: def test_multi_meas_multi_cond_split_lines(self):
      """Test that a circuit is drawn correctly when multiple lines are needed and the
      measurements and conditions are split between the lines."""
  
      def circ():
          qml.RX(0.5, 0)
          qml.RX(0.5, 1)
  
          m0 = qml.measure(0, reset=True, postselect=1)
          m1 = qml.measure(1)
          qml.cond(m0 & m1, qml.MultiControlledX)(
              wires=[1, 2, 3, 0], control_values="110"
          )
          qml.cond(m1, qml.PauliZ)(2)
  
          m2 = qml.measure(1)
          qml.CNOT([3, 2])
          qml.cond(
              m0,
              qml.ctrl(
                  qml.SWAP, control=[1, 2], control_values=[True, False]
              ),
          )(wires=[0, 3])
          qml.cond(m2 & m1, qml.PauliY)(0)
  
          qml.Toffoli([3, 1, 0])
  
          m3 = qml.measure(3, postselect=0)
          qml.cond(m3, qml.RX)(1.23, 3)
          qml.cond(m3 & m1, qml.Hadamard)(2)
  
          return qml.expval(qml.PauliZ(0) @ qml.PauliZ(2))
  
      drawing = qml.draw(circ, max_length=60)()
      expected_drawing = (
          "0: ──RX(0.50)──┤↗₁│  │0⟩──────╭X────────────╭SWAP──Y─╭X\n"
          "1: ──RX(0.50)───║─────────┤↗├─├●─────┤↗├────├●─────║─├●\n"
          "2: ─────────────║──────────║──├●──Z───║──╭X─├○─────║─│─\n"
          "3: ─────────────║──────────║──╰○──║───║──╰●─╰SWAP──║─╰●\n"
          "                ╚══════════║═══╬══║═══║══════╝     ║   \n"
          "                           ╚═══╩══╩═══║════════════╬═══\n"
          "                                      ╚════════════╝   \n"
          "                                                       \n\n"
          "─────────────────────┤ ╭<Z@Z>\n"
          "─────────────────────┤ │     \n"
          "───────────────────H─┤ ╰<Z@Z>\n"
          "───┤↗₀├──RX(1.23)──║─┤       \n"
          "    ║    ║         ║         \n"
          "════║════║═════════╣         \n"
          "    ║    ║         ║         \n"
          "    ╚════╩═════════╝         "
      )
  
      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 14 for calling the TestMidCircuitMeasurements obj's underlying member method code with example usage: obj.test_multi_meas_multi_cond_split_lines() and returns: qml