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 a warning is raised when the system to get the state
  of is large
docstr_tok: ["Test","that","a","warning","is","raised","when","the","system","to","get","the","state","of","is","large"]
code: def test_large_state_warning(self):
      """Test that a warning is raised when the system to get the state
      of is large"""
      circuit = hadamard_circuit(8, shots=1)
      circuit.construct([], {})
  
      msg = "Differentiable state reconstruction for more than 8 qubits is not recommended"
      with pytest.warns(UserWarning, match=msg):
          qml.shadows.shadow_state(
              circuit.qtape,
              wires=[0, 1, 2, 3, 4, 5, 6, 7],
              diffable=True,
          )
  
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 4 for calling the TestStateForward obj's underlying member method code with example usage: obj.test_large_state_warning() without return types