class_docstr: Test the new return types for multiple measurements, it should always return a tuple containing the single
  measurements.
docstr: Return multiple different measurements.
code: def test_mix_meas(self, device):  # pylint: disable=too-many-arguments
      """Return multiple different measurements."""
      n_wires = 2
      dev = device(n_wires)
  
      def circuit(x):
          qubit_ansatz(x)
          return (
              qml.probs(wires=0),
              qml.expval(qml.PauliZ(wires=0)),
              qml.probs(op=qml.PauliY(wires=1)),
              qml.expval(qml.PauliY(wires=1)),
          )
  
      qnode = qml.QNode(circuit, dev, diff_method=None)
      res = qnode(0.5)
  
      assert isinstance(res, tuple)
      assert len(res) == 4
  
      assert isinstance(res[0], np.ndarray)
      assert res[0].shape == (2**1,)
  
      assert isinstance(res[1], np.ndarray)
      assert res[1].shape == ()
  
      assert isinstance(res[2], np.ndarray)
      assert res[2].shape == (2**1,)
  
      assert isinstance(res[3], np.ndarray)
      assert res[3].shape == ()
  
file_path: pennylane/pennylane/devices/tests/test_return_system.py
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 4 for calling the TestIntegrationMultipleReturns obj's underlying member method code with example usage: obj.test_mix_meas(device) and returns: qml,  qml,  qml,  qml