class_docstr: Tests for the qfunc_transform decorator differentiability
class_docstr_tok: ["Tests","for","the","qfunc_transform","decorator","differentiability"]
docstr: Test transform
docstr_tok: ["Test","transform"]
code: def my_transform(tape, a, b):
      """Test transform"""
      for op in tape:
          if op.name == "CRX":
              wires = op.wires
              param = op.parameters[0]
              qml.RX(a * param, wires=wires[1])
              qml.RY(
                  qml.math.sum(b) * qml.math.sqrt(param), wires=wires[1]
              )
              qml.CZ(wires=[wires[1], wires[0]])
          else:
              op.queue()
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling the TestQFuncTransformGradients obj's underlying member method code with example usage: obj.my_transform(tape, a, b) without return types