class_docstr: Tests for the numeric computation of JVPs for single measurements.
class_docstr_tok: ["Tests","for","the","numeric","computation","of","JVPs","for","single","measurements","."]
docstr: Unit test for compute_jvp_single.
docstr_tok: ["Unit","test","for","compute_jvp_single","."]
code: def test_compute_jvp_single(self, jac, tangent, exp):
      """Unit test for compute_jvp_single."""
      jvp = qml.gradients.compute_jvp_single(tangent, jac)
      assert isinstance(jvp, np.ndarray)
      assert np.array_equal(jvp, exp)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.gradients import param_shift
label_desc: Use image node_id 1 for calling the TestComputeJVPSingle obj's underlying member method code with example usage: obj.test_compute_jvp_single(jac, tangent, exp) without return types