class_docstr: Tests for the aqft operations
class_docstr_tok: ["Tests","for","the","aqft","operations"]
docstr: Test if Hadamard transform is applied for zero order
docstr_tok: ["Test","if","Hadamard","transform","is","applied","for","zero","order"]
code: def test_zero_order(self, wires):
      """Test if Hadamard transform is applied for zero order"""
      with pytest.warns(UserWarning, match="order=0"):
          op = qml.AQFT(order=0, wires=range(wires))
          for gate in op.decomposition()[: -wires // 2]:
              assert gate.name == "Hadamard"
  
file_path: pennylane/tests/templates/test_subroutines/test_aqft.py
imports: import pytest
  import numpy
  import pennylane
label_desc: Use image node_id 4 for calling the TestAQFT obj's underlying member method code with example usage: obj.test_zero_order(wires) without return types