class_docstr: Tests involving mid circuit measurements and classical control.
class_docstr_tok: ["Tests","involving","mid","circuit","measurements","and","classical","control","."]
docstr: Test a single mid circuit measurement with two conditional operators.
code: def test_single_measure_multiple_conds(self):
      """Test a single mid circuit measurement with two conditional operators."""
  
      with qml.queuing.AnnotatedQueue() as q:
          m0 = qml.measure(0)
          qml.cond(m0, qml.PauliX)(0)
          qml.cond(m0, qml.PauliY)(0)
  
      tape = qml.tape.QuantumScript.from_queue(q)
      _, ax = qml.drawer.tape_mpl(tape)
  
      assert len(ax.patches) == 5  # three for measure, two for boxes
  
      [_, cwire] = ax.lines
  
      assert cwire.get_xdata() == [0, 0, 0, 1, 1, 1, 2, 2, 2]
      assert cwire.get_ydata() == [1, 0, 1, 1, 0, 1, 1, 0, 1]
  
      [pe1, pe2] = cwire.get_path_effects()
  
      # probably not a good way to test this, but the best I can figure out
      assert pe1._gc == {
          "linewidth": 5 * plt.rcParams["lines.linewidth"],
          "foreground": "black",  # lines.color for black white style
      }
      assert pe2._gc == {
          "linewidth": 3 * plt.rcParams["lines.linewidth"],
          "foreground": "white",  # figure.facecolor for black white sytle
      }
  
imports: import pytest
  import pennylane
  from pennylane.drawer import tape_mpl
  from pennylane.tape import QuantumScript
label_desc: Use image node_id 1 for calling the TestClassicalControl obj's underlying member method code with example usage: obj.test_single_measure_multiple_conds() without return types