class_docstr: Test the new return types for multiple measurements, it should always return a tuple containing the single
  measurements.
class_docstr_tok: ["Test","the","new","return","types","for","multiple","measurements",",","it","should","always","return","a","tuple","containing","the","single","measurements","."]
docstr: Return multiple expvals.
docstr_tok: ["Return","multiple","expvals","."]
code: def test_multiple_expval(self, device, shots):
      """Return multiple expvals."""
      dev = qml.device(device, wires=2, shots=shots)
  
      def circuit(x):
          qml.Hadamard(wires=[0])
          qml.CRX(x, wires=[0, 1])
          return qml.expval(qml.PauliZ(wires=0)), qml.expval(
              qml.PauliZ(wires=1)
          )
  
      qnode = qml.QNode(circuit, dev)
      qnode.construct([0.5], {})
  
      res = qml.execute(
          tapes=[qnode.tape], device=dev, gradient_fn=None
      )
  
      assert isinstance(res[0], tuple)
      assert len(res[0]) == 2
  
      assert isinstance(res[0][0], np.ndarray)
      assert res[0][0].shape == ()
  
      assert isinstance(res[0][1], np.ndarray)
      assert res[0][1].shape == ()
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.measurements import MeasurementProcess
label_desc: Use image node_id 1 for calling the TestMultipleReturns obj's underlying member method code with example usage: obj.test_multiple_expval(device, shots) and returns: qml,  qml