class_docstr: Test that using the QNode with JAX integrates with the PennyLane
  stack
class_docstr_tok: ["Test","that","using","the","QNode","with","JAX","integrates","with","the","PennyLane","stack"]
docstr: Test setting jacobian options
docstr_tok: ["Test","setting","jacobian","options"]
code: def test_jacobian_options(
      self, dev_name, diff_method, grad_on_execution, interface
  ):
      """Test setting jacobian options"""
      if diff_method != "finite-diff":
          pytest.skip("Test only applies to finite diff.")
  
      a = np.array([0.1, 0.2], requires_grad=True)
  
      dev = qml.device(dev_name, wires=1)
  
      @qnode(
          dev,
          interface=interface,
          diff_method="finite-diff",
          h=1e-8,
          approx_order=2,
          grad_on_execution=grad_on_execution,
      )
      def circuit(a):
          qml.RY(a[0], wires=0)
          qml.RX(a[1], wires=0)
          return qml.expval(qml.PauliZ(0))
  
      jax.jacobian(circuit)(a)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qnode
  from pennylane.tape import QuantumScript
label_desc: Use image node_id 6 for calling the TestQNode obj's underlying member method code with example usage: obj.test_jacobian_options(dev_name, diff_method, grad_on_execution, interface) and returns: qml