class_docstr: Tests for the numeric computation of VJPs
class_docstr_tok: ["Tests","for","the","numeric","computation","of","VJPs"]
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_dy_single_measurement_single_params(self):
      """A zero dy vector will return a zero matrix"""
      dy = np.zeros([1])
      jac = np.array(0.1)
  
      vjp = qml.gradients.compute_vjp_single(dy, jac)
      assert np.all(vjp == np.zeros([1]))
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.gradients import param_shift
label_desc: Use image node_id 9 for calling the TestComputeVJP obj's underlying member method code with example usage: obj.test_zero_dy_single_measurement_single_params() without return types