class_docstr: Tests that the template defines the correct decomposition.
class_docstr_tok: ["Tests","that","the","template","defines","the","correct","decomposition","."]
docstr: Test that identity permutations have no effect on tapes.
docstr_tok: ["Test","that","identity","permutations","have","no","effect","on","tapes","."]
code: def test_identity_permutation_tape(self):
      """Test that identity permutations have no effect on tapes."""
  
      with qml.queuing.AnnotatedQueue() as q:
          qml.Permute([0, "a", "c", "d"], wires=[0, "a", "c", "d"])
  
      tape = qml.tape.QuantumScript.from_queue(q)
      # expand the Permute operation
      tape = tape.expand()
  
      assert len(tape.operations) == 0
  
imports: import pytest
  import numpy
  import pennylane
label_desc: Use image node_id 2 for calling the TestDecomposition obj's underlying member method code with example usage: obj.test_identity_permutation_tape() without return types