class_docstr: Test integration with PennyLane.
docstr: Test that regular and jitted qnode yield same result
docstr_tok: ["Test","that","regular","and","jitted","qnode","yield","same","result"]
code: def test_jitted_qnode(self):
      """Test that regular and jitted qnode yield same result"""
      import jax
      import jax.numpy as jnp
  
      Hi = transmon_interaction(
          qubit_freq, connections, coupling, wires=wires
      )
  
      def fa(p, t):
          return jnp.polyval(p, t)
  
      def fb(p, t):
          return p[0] * jnp.sin(p[1] * t)
  
      Hd = transmon_drive(amplitude=fa, phase=fb, freq=0.5, wires=[0])
      H = Hi + Hd
  
      dev = qml.device("default.qubit.jax", wires=wires)
  
      ts = jnp.array([0.0, 3.0])
      H_obj = sum(qml.PauliZ(i) for i in range(2))
  
      @qml.qnode(dev, interface="jax")
      def qnode(params):
          qml.evolve(H)(params, ts)
          return qml.expval(H_obj)
  
      qnode_jit = jax.jit(qnode)
  
      params = (jnp.ones(5), jnp.array([1.0, jnp.pi]))
  
      res = qnode(params)
      res_jit = qnode_jit(params)
  
      assert isinstance(res, jax.Array)
      assert qml.math.isclose(res, res_jit)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.pulse import HardwareHamiltonian, transmon_interaction, transmon_drive
  from pennylane.pulse.transmon import TransmonSettings, a, ad, AmplitudeAndPhaseAndFreq, _reorder_AmpPhaseFreq, callable_freq_to_angular
  from pennylane.pulse.hardware_hamiltonian import HardwarePulse
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestIntegration obj's underlying member method code with example usage: obj.test_jitted_qnode() and returns: jnp, unknown, qml