class_docstr: Tests Von Neumann entropy transform
docstr: Test that vn_entropy is correct with custom wire labels
docstr_tok: ["Test","that","vn_entropy","is","correct","with","custom","wire","labels"]
code: def test_entropy_wire_labels(self, device, tol):
      """Test that vn_entropy is correct with custom wire labels"""
      param = np.array(1.234)
      wires = ["a", 8]
      dev = qml.device(device, wires=wires)
  
      @qml.qnode(dev)
      def circuit(x):
          qml.PauliX(wires=wires[0])
          qml.IsingXX(x, wires=wires)
          return qml.state()
  
      entropy0 = qml.qinfo.vn_entropy(circuit, wires=[wires[0]])(param)
      eigs0 = [np.sin(param / 2) ** 2, np.cos(param / 2) ** 2]
      exp0 = -np.sum(eigs0 * np.log(eigs0))
  
      entropy1 = qml.qinfo.vn_entropy(circuit, wires=[wires[1]])(param)
      eigs1 = [np.cos(param / 2) ** 2, np.sin(param / 2) ** 2]
      exp1 = -np.sum(eigs1 * np.log(eigs1))
  
      assert np.allclose(exp0, entropy0, atol=tol)
      assert np.allclose(exp1, entropy1, atol=tol)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 15 for calling the TestVonNeumannEntropy obj's underlying member method code with example usage: obj.test_entropy_wire_labels(device, tol) and returns: qml