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: A zero dy vector will return a zero matrix
docstr_tok: ["A","zero","dy","vector","will","return","a","zero","matrix"]
code: def test_zero_tangent_single_measurement_single_params(self):
      """A zero dy vector will return a zero matrix"""
      tangent = np.zeros([1])
      jac = np.array(0.1)
  
      jvp = qml.gradients.compute_jvp_single(tangent, jac)
      assert np.all(jvp == np.zeros([1]))
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.gradients import param_shift
label_desc: Use image node_id 5 for calling the TestComputeJVPSingle obj's underlying member method code with example usage: obj.test_zero_tangent_single_measurement_single_params() without return types