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 different measurements.
docstr_tok: ["Return","multiple","different","measurements","."]
code: def test_mix_meas(
      self, op1, wires1, op2, wires2, wires3, wires4, device, shots
  ):
      """Return multiple different measurements."""
  
      dev = qml.device(device, wires=2, shots=shots)
  
      def circuit(x):
          qml.Hadamard(wires=[0])
          qml.CRX(x, wires=[0, 1])
          return (
              qml.probs(op=op1, wires=wires1),
              qml.vn_entropy(wires=wires3),
              qml.probs(op=op2, wires=wires2),
              qml.expval(qml.PauliZ(wires=wires4)),
          )
  
      qnode = qml.QNode(circuit, dev)
      qnode.construct([0.5], {})
  
      if dev.shots:
          pytest.skip(
              "cannot return analytic measurements with finite shots."
          )
      res = qml.execute(
          tapes=[qnode.tape], device=dev, gradient_fn=None
      )
  
      if wires1 is None:
          wires1 = op1.wires
  
      if wires2 is None:
          wires2 = op2.wires
  
      assert isinstance(res[0], tuple)
      assert len(res[0]) == 4
  
      assert isinstance(res[0][0], (np.ndarray, np.float64))
      assert res[0][0].shape == (2 ** len(wires1),)
  
      assert isinstance(res[0][1], (np.ndarray, np.float64))
      assert res[0][1].shape == ()
  
      assert isinstance(res[0][2], (np.ndarray, np.float64))
      assert res[0][2].shape == (2 ** len(wires2),)
  
      assert isinstance(res[0][3], (np.ndarray, np.float64))
      assert res[0][3].shape == ()
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.measurements import MeasurementProcess
label_desc: Use image node_id 4 for calling the TestMultipleReturns obj's underlying member method code with example usage: obj.test_mix_meas(op1, wires1, op2, wires2, wires3, wires4, device, shots) and returns: qml,  qml,  qml,  qml