class_docstr: Tests for `drawable_layers`
class_docstr_tok: ["Tests","for","`","drawable_layers","`"]
docstr: Test multi-wire gate blocks on unused wire
docstr_tok: ["Test","multi-wire","gate","blocks","on","unused","wire"]
code: def test_multiwire_blocking(self, multiwire_gate):
      """Test multi-wire gate blocks on unused wire"""
  
      wire_map = {0: 0, 1: 1, 2: 2, 3: 3}
      ops = [qml.PauliZ(1), multiwire_gate, qml.PauliX(1)]
  
      layers = drawable_layers(ops, wire_map=wire_map)
  
      assert layers == [[ops[0]], [ops[1]], [ops[2]]]
  
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 6 for calling the TestDrawableLayers obj's underlying member method code with example usage: obj.test_multiwire_blocking(multiwire_gate) without return types