class_docstr: Tests Von Neumann entropy transform
docstr: Test entropy needs a QNode returning state.
docstr_tok: ["Test","entropy","needs","a","QNode","returning","state","."]
code: def test_qnode_entropy_wires_full_range_not_state(self):
      """Test entropy needs a QNode returning state."""
      param = 0.1
      dev = qml.device("default.qubit", wires=2)
  
      @qml.qnode(dev)
      def circuit_state(x):
          qml.IsingXX(x, wires=[0, 1])
          return qml.expval(qml.PauliX(wires=0))
  
      with pytest.raises(
          ValueError,
          match="The qfunc return type needs to be a state.",
      ):
          qml.qinfo.vn_entropy(circuit_state, wires=[0, 1])(param)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 12 for calling the TestVonNeumannEntropy obj's underlying member method code with example usage: obj.test_qnode_entropy_wires_full_range_not_state() and returns: qml