class_docstr: Tests that the template defines the correct decomposition.
docstr: Test that template can deal with non-numeric, nonconsecutive wire labels.
docstr_tok: ["Test","that","template","can","deal","with","non-numeric",",","nonconsecutive","wire","labels","."]
code: def test_custom_wire_labels(self, tol):
      """Test that template can deal with non-numeric, nonconsecutive wire labels."""
      weights = np.random.random(size=(1, 2, 2))
      initial_layer = np.random.randn(3)
  
      dev = qml.device("default.qubit", wires=3)
      dev2 = qml.device("default.qubit", wires=["z", "a", "k"])
  
      @qml.qnode(dev)
      def circuit():
          qml.SimplifiedTwoDesign(
              initial_layer, weights, wires=range(3)
          )
          return qml.expval(qml.Identity(0)), qml.state()
  
      @qml.qnode(dev2)
      def circuit2():
          qml.SimplifiedTwoDesign(
              initial_layer, weights, wires=["z", "a", "k"]
          )
          return qml.expval(qml.Identity("z")), qml.state()
  
      res1, state1 = circuit()
      res2, state2 = circuit2()
  
      assert np.allclose(res1, res2, atol=tol, rtol=0)
      assert np.allclose(state1, state2, atol=tol, rtol=0)
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 4 for calling the TestDecomposition obj's underlying member method code with example usage: obj.test_custom_wire_labels(tol) and returns: qml,  qml, qml,  qml