class_docstr: Tests for ``_recursive_find_layer`` and ``_recursive_find_mcm_stats_layer``
class_docstr_tok: ["Tests","for","``","_recursive_find_layer","``","and","``","_recursive_find_mcm_stats_layer","``"]
docstr: Test recursion to zero if start in higher layer and not blocked
docstr_tok: ["Test","recursion","to","zero","if","start","in","higher","layer","and","not","blocked"]
code: def test_recursion_no_block_mcm_stats(self):
      """Test recursion to zero if start in higher layer and not blocked"""
      mp0 = qml.measurements.MidMeasureMP(0)
      mp1 = qml.measurements.MidMeasureMP(1)
      bit_map = {mp0: 0, mp1: 1}
  
      out = _recursive_find_mcm_stats_layer(
          layer_to_check=2,
          op_occupied_cwires={0},
          used_cwires_per_layer=[{1}, {1}, {1}],
          bit_map=bit_map,
      )
      assert out == 0
  
imports: import pytest
  import pennylane
  from pennylane.measurements import MidMeasureMP
  from pennylane.queuing import AnnotatedQueue
  from pennylane.drawer.drawable_layers import _recursive_find_layer, _recursive_find_mcm_stats_layer, drawable_layers
label_desc: Use image node_id 7 for calling the TestRecursiveFindLayer obj's underlying member method code with example usage: obj.test_recursion_no_block_mcm_stats() without return types