class_docstr: Tests for the aqft operations
class_docstr_tok: ["Tests","for","the","aqft","operations"]
docstr: Test if the AQFT operation consists of only 3 type of gates
docstr_tok: ["Test","if","the","AQFT","operation","consists","of","only","3","type","of","gates"]
code: def test_gates(self, order, wires):
      """Test if the AQFT operation consists of only 3 type of gates"""
  
      op = qml.AQFT(order=order, wires=range(wires))
      decomp = op.decomposition()
  
      for gate in decomp:
          assert gate.name in [
              "Hadamard",
              "ControlledPhaseShift",
              "SWAP",
          ]
  
file_path: pennylane/tests/templates/test_subroutines/test_aqft.py
imports: import pytest
  import numpy
  import pennylane
label_desc: Use image node_id 7 for calling the TestAQFT obj's underlying member method code with example usage: obj.test_gates(order, wires) without return types