class_docstr: Test the transform program and its integration with QNodes
docstr: Test the integration with QNode with two transforms, one of which is
  informative.
docstr_tok: ["Test","the","integration","with","QNode","with","two","transforms",",","one","of","which","is","informative","."]
code: def test_qnode_integration_informative_transform(self):
      """Test the integration with QNode with two transforms, one of which is
      informative."""
      dispatched_transform_1 = transform(first_valid_transform)
      dispatched_transform_2 = transform(
          informative_transform, is_informative=True
      )
  
      dev = qml.device("default.qubit", wires=2)
  
      @qml.qnode(device=dev)
      def qnode_circuit(a):
          """QNode circuit."""
          qml.Hadamard(wires=0)
          qml.CNOT(wires=[0, 1])
          qml.PauliX(wires=0)
          qml.RZ(a, wires=1)
          return qml.expval(qml.PauliZ(wires=0))
  
      new_qnode = dispatched_transform_2(
          dispatched_transform_1(qnode_circuit, 0)
      )
  
      program = new_qnode.transform_program
      transformed_qnode_rep = repr(program)
      assert (
          transformed_qnode_rep
          == "TransformProgram("
          + str(first_valid_transform.__name__)
          + ", "
          + str(informative_transform.__name__)
          + ")"
      )
  
      assert not program.is_empty()
      assert len(program) == 2
      assert program[0].transform is first_valid_transform
      assert program[1].transform is informative_transform
  
      result = new_qnode(0.1)
      assert result == (3,)
  
imports: from typing import Sequence, Callable
  import pytest
  import pennylane
  from pennylane.tape import QuantumScript
  from pennylane.transforms.core import transform, TransformProgram, TransformError, TransformContainer
  from pennylane.transforms.core.transform_program import _batch_postprocessing, _apply_postprocessing_stack, null_postprocessing
  from pennylane.typing import ResultBatch, Result
label_desc: Use image node_id 2 for calling the TestTransformProgramIntegration obj's underlying member method code with example usage: obj.test_qnode_integration_informative_transform() and returns: qml