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