class_docstr: Test that @qfunc_transform seamlessly integrates
  with an operator transform.
docstr: Test a qfunc and operator transform
  applied to a qfunc inside a qfunc
docstr_tok: ["Test","a","qfunc","and","operator","transform","applied","to","a","qfunc","inside","a","qfunc"]
code: def test_qfunc_inside(self):
      """Test a qfunc and operator transform
      applied to a qfunc inside a qfunc"""
      # pylint: disable=not-callable
      dev = qml.device("default.qubit", wires=2)
  
      def ansatz(weights):
          qml.Rot(*weights, wires=0)
          qml.CRX(0.5, wires=[0, 1])
  
      @qml.qnode(dev)
      def circuit(weights):
          simplify_rotation(ansatz)(
              weights
          )  # <--- qfunc is applied within circuit (inside)
          qml.CNOT(wires=[0, 1])
          return qml.expval(qml.PauliX(1))
  
      weights = np.array([0.1, 0.0, 0.0])
      circuit(weights)
  
      ops = circuit.tape.operations
      assert len(ops) == 3
      assert ops[0].name == "RZ"
      assert ops[1].name == "CRX"
      assert ops[2].name == "CNOT"
  
      weights = np.array([0.0, 0.0, 0.0])
      circuit(weights)
  
      ops = circuit.tape.operations
      assert len(ops) == 2
      assert ops[0].name == "CRX"
      assert ops[1].name == "CNOT"
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 2 for calling the TestQFuncTransformIntegration obj's underlying member method code with example usage: obj.test_qfunc_inside() and returns: qml