code: def test_partial_evaluation_multi_args():
      """Test partial evaluation matches individual full evaluations
      for multiple pre-supplied arguments"""
      dev = qml.device("default.qubit", wires=2)
  
      @qml.qnode(dev)
      def circuit(x, y, z):
          qml.RX(x, wires=0)
          qml.RY(y[..., 0], wires=0)
          qml.RY(y[..., 1], wires=1)
          qml.RX(z, wires=1)
          return qml.expval(qml.PauliZ(wires=0) @ qml.PauliZ(wires=1))
  
      batch_size = 4
  
      # the partial arguments to construct a new circuit with
      y = np.random.uniform(size=2)
      z = np.random.uniform(size=())
  
      # the batched argument to the new partial circuit
      x = np.random.uniform(size=batch_size)
  
      batched_partial_circuit = qml.batch_partial(circuit, y=y, z=z)
      res = batched_partial_circuit(x)
  
      # check the results against individually executed circuits
      indiv_res = []
      for x_indiv in x:
          indiv_res.append(circuit(x_indiv, y, z))
  
      assert np.allclose(res, indiv_res)
  
imports: import re
  import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_partial_evaluation_multi_args() and returns: qml