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: An empty jacobian return empty array.
docstr_tok: ["An","empty","jacobian","return","empty","array","."]
code: def test_no_trainable_params_adjoint_single(self):
      """An empty jacobian return empty array."""
      tangent = np.array([1.0, 2.0])
      jac = tuple()
  
      jvp = qml.gradients.compute_jvp_single(tangent, jac)
      assert np.allclose(jvp, qml.math.zeros(0))
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.gradients import param_shift
label_desc: Use image node_id 9 for calling the TestComputeJVPSingle obj's underlying member method code with example usage: obj.test_no_trainable_params_adjoint_single() without return types