class_docstr: Test for wire re-ordering
docstr: Test that an exception is raised if the wire order and tape wires are inconsistent
docstr_tok: ["Test","that","an","exception","is","raised","if","the","wire","order","and","tape","wires","are","inconsistent"]
code: def test_inconsistent_wires_tape(self):
      """Test that an exception is raised if the wire order and tape wires are inconsistent"""
      with qml.queuing.AnnotatedQueue() as q:
          qml.PauliZ(wires=0)
          qml.PauliY(wires="b")
  
      tape = qml.tape.QuantumScript.from_queue(q)
      with pytest.raises(
          OperationTransformError,
          match=r"Wires in circuit .+ inconsistent with those in wire\_order",
      ):
          matrix(tape, wire_order=["b", "a"])
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 4 for calling the TestWireOrder obj's underlying member method code with example usage: obj.test_inconsistent_wires_tape() without return types