class_docstr: Tests that the template defines the correct decomposition.
class_docstr_tok: ["Tests","that","the","template","defines","the","correct","decomposition","."]
docstr: Checks the queue for repetition of the template.
docstr_tok: ["Checks","the","queue","for","repetition","of","the","template","."]
code: def test_repeat(self):
      """Checks the queue for repetition of the template."""
  
      features = list(range(3))
  
      expected_names = self.QUEUES[2][1] + self.QUEUES[2][1]
      expected_wires = self.QUEUES[2][2] + self.QUEUES[2][2]
  
      op = qml.IQPEmbedding(features, wires=range(3), n_repeats=2)
      tape = op.expand()
  
      for i, gate in enumerate(tape.operations):
          assert gate.name == expected_names[i]
          assert gate.wires.labels == tuple(expected_wires[i])
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 3 for calling the TestDecomposition obj's underlying member method code with example usage: obj.test_repeat() without return types