class_docstr: Test that the state reconstruction is correct for a variety of states
class_docstr_tok: ["Test","that","the","state","reconstruction","is","correct","for","a","variety","of","states"]
docstr: Test that an error is raised when classical shadows is returned
  with other measurement processes
docstr_tok: ["Test","that","an","error","is","raised","when","classical","shadows","is","returned","with","other","measurement","processes"]
code: def test_multi_measurement_error(self):
      """Test that an error is raised when classical shadows is returned
      with other measurement processes"""
      dev = qml.device("default.qubit", wires=2, shots=100)
  
      @qml.qnode(dev)
      def circuit_shadow():
          qml.Hadamard(wires=0)
          qml.CNOT(wires=[0, 1])
          return qml.classical_shadow(wires=[0, 1]), qml.expval(
              qml.PauliZ(0)
          )
  
      res = circuit_shadow()
      assert isinstance(res, tuple) and len(res) == 2
  
      @qml.qnode(dev)
      def circuit_expval():
          qml.Hadamard(wires=0)
          qml.CNOT(wires=[0, 1])
          return qml.shadow_expval(qml.PauliZ(0)), qml.expval(
              qml.PauliZ(0)
          )
  
      res = circuit_expval()
      assert isinstance(res, tuple) and len(res) == 2
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.shadows.transforms import _replace_obs
label_desc: Use image node_id 5 for calling the TestStateForward obj's underlying member method code with example usage: obj.test_multi_measurement_error() and returns: qml,  qml, qml,  qml