class_docstr: Tests for the qfunc_transform decorator differentiability
class_docstr_tok: ["Tests","for","the","qfunc_transform","decorator","differentiability"]
docstr: Test QFunc
docstr_tok: ["Test","QFunc"]
code: def circuit(param, *transform_weights):
      """Test QFunc"""
      qml.RX(0.1, wires=0)
      TestQFuncTransformGradients.my_transform(
          *transform_weights
      )(  # pylint:disable=not-callable
          TestQFuncTransformGradients.ansatz
      )(
          param
      )
      return qml.expval(qml.PauliZ(1))
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 3 for calling the TestQFuncTransformGradients obj's underlying member method code with example usage: obj.circuit(param) and returns: qml