class_docstr: Test that state reconstruction works for all interfaces
class_docstr_tok: ["Test","that","state","reconstruction","works","for","all","interfaces"]
docstr: Test that the state reconstruction is correct for a QFT state
docstr_tok: ["Test","that","the","state","reconstruction","is","correct","for","a","QFT","state"]
code: def test_qft_state(self, interface, diffable):
      """Test that the state reconstruction is correct for a QFT state"""
      circuit = qft_circuit(3, interface=interface)
      circuit = qml.shadows.shadow_state(
          circuit, wires=[0, 1, 2], diffable=diffable
      )
  
      actual = circuit()
      expected = np.exp(np.arange(8) * 2j * np.pi / 8) / np.sqrt(8)
      expected = np.outer(expected, np.conj(expected))
  
      assert qml.math.allclose(actual, expected, atol=1e-1)
  
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 1 for calling the TestStateForwardInterfaces obj's underlying member method code with example usage: obj.test_qft_state(interface, diffable) without return types