class_docstr: Tests for the aqft operations
class_docstr_tok: ["Tests","for","the","aqft","operations"]
docstr: Test if ValueError is raised for negative orders
docstr_tok: ["Test","if","ValueError","is","raised","for","negative","orders"]
code: def test_negative_order(self, order):
      """Test if ValueError is raised for negative orders"""
      with pytest.raises(
          ValueError, match="Order can not be less than 0"
      ):
          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 2 for calling the TestAQFT obj's underlying member method code with example usage: obj.test_negative_order(order) without return types