class_docstr: Test for wire re-ordering
docstr: Test that wire order can be passed to an instantiated operator
docstr_tok: ["Test","that","wire","order","can","be","passed","to","an","instantiated","operator"]
code: def test_instantiated_operator(self):
      """Test that wire order can be passed to an instantiated operator"""
      op = qml.PauliZ(wires=0)
      res = matrix(op, wire_order=[1, 0])
      expected = np.kron(np.eye(2), np.diag([1, -1]))
      assert np.allclose(res, expected)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 1 for calling the TestWireOrder obj's underlying member method code with example usage: obj.test_instantiated_operator() without return types