class_docstr: Tests for the aqft operations
class_docstr_tok: ["Tests","for","the","aqft","operations"]
docstr: Test if higher order recommends using QFT
docstr_tok: ["Test","if","higher","order","recommends","using","QFT"]
code: def test_higher_order(self, order):
      """Test if higher order recommends using QFT"""
      with pytest.warns(
          UserWarning,
          match="Using the QFT class is recommended in this case",
      ):
          qml.AQFT(order=order, wires=range(5))
  
file_path: pennylane/tests/templates/test_subroutines/test_aqft.py
imports: import pytest
  import numpy
  import pennylane
label_desc: Use image node_id 5 for calling the TestAQFT obj's underlying member method code with example usage: obj.test_higher_order(order) without return types