class_docstr: Class to test the shape of the Jacobian/Hessian with different return types and shot vectors.
class_docstr_tok: ["Class","to","test","the","shape","of","the","Jacobian\/Hessian","with","different","return","types","and","shot","vectors","."]
docstr: The jacobian of multiple measurements with a multiple params array return a single array.
docstr_tok: ["The","jacobian","of","multiple","measurements","with","a","multiple","params","array","return","a","single","array","."]
code: def test_jacobian_var_var_multiple_params_array(
      self, dev_name, diff_method, gradient_kwargs, shots, num_copies
  ):
      """The jacobian of multiple measurements with a multiple params array return a single array."""
      dev = qml.device(dev_name, wires=2, shots=shots)
  
      @qnode(dev, diff_method=diff_method, **gradient_kwargs)
      def circuit(a):
          qml.RY(a[0], wires=0)
          qml.RX(a[1], wires=0)
          qml.RY(a[2], wires=0)
          return qml.var(qml.PauliZ(0) @ qml.PauliX(1)), qml.var(
              qml.PauliZ(0)
          )
  
      a = np.array([0.1, 0.2, 0.3])
  
      def cost(a):
          res = circuit(a)
          return qml.math.stack([qml.math.stack(r) for r in res])
  
      jac = qml.jacobian(cost)(a)
  
      assert isinstance(jac, np.ndarray)
      assert jac.shape == (num_copies, 2, 3)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qnode
label_desc: Use image node_id 10 for calling the TestReturnWithShotVectors obj's underlying member method code with example usage: obj.test_jacobian_var_var_multiple_params_array(dev_name, diff_method, gradient_kwargs, shots, num_copies) and returns: qml,  qml, qml