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_multi(self):
      """A zero dy vector will return a zero matrix"""
      dy = tuple([np.array(0.0), np.array([0.0, 0.0])])
      jac = tuple(
          [
              tuple([np.array(0.1), np.array(0.1), np.array(0.1)]),
              tuple(
                  [
                      np.array([0.1, 0.2]),
                      np.array([0.1, 0.2]),
                      np.array([0.1, 0.2]),
                  ]
              ),
          ]
      )
  
      vjp = qml.gradients.compute_vjp_multi(dy, jac)
      assert np.all(vjp == np.zeros([3]))
  
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 11 for calling the TestComputeVJP obj's underlying member method code with example usage: obj.test_zero_dy_multi() without return types