class_docstr: Test that the entropy transforms support broadcasting
docstr: Test that the vn_entropy transform supports broadcasting
docstr_tok: ["Test","that","the","vn_entropy","transform","supports","broadcasting"]
code: def test_vn_entropy_broadcast(self, device):
      """Test that the vn_entropy transform supports broadcasting"""
      dev = qml.device(device, wires=2)
  
      @qml.qnode(dev)
      def circuit_state(x):
          qml.IsingXX(x, wires=[0, 1])
          return qml.state()
  
      x = np.array([0.4, 0.6, 0.8])
      entropy = qml.qinfo.vn_entropy(circuit_state, wires=[0])(x)
  
      expected = [expected_entropy_ising_xx(_x) for _x in x]
      assert qml.math.allclose(entropy, expected)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling the TestBroadcasting obj's underlying member method code with example usage: obj.test_vn_entropy_broadcast(device) and returns: qml