class_docstr: Tests for the mutual information functions
docstr: Test that an error is raised when the number of wires in the
  two QNodes are different
docstr_tok: ["Test","that","an","error","is","raised","when","the","number","of","wires","in","the","two","QNodes","are","different"]
code: def test_num_wires_mismatch(self, device, interface):
      """Test that an error is raised when the number of wires in the
      two QNodes are different"""
      dev = qml.device(device, wires=2)
  
      @qml.qnode(dev, interface=interface)
      def circuit1(param):
          qml.RY(param, wires=0)
          qml.CNOT(wires=[0, 1])
          return qml.state()
  
      @qml.qnode(dev, interface=interface)
      def circuit2(param):
          qml.RY(param, wires=0)
          qml.CNOT(wires=[0, 1])
          return qml.state()
  
      msg = "The two states must have the same number of wires"
      with pytest.raises(qml.QuantumFunctionError, match=msg):
          qml.qinfo.relative_entropy(circuit1, circuit2, [0], [0, 1])
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 8 for calling the TestRelativeEntropy obj's underlying member method code with example usage: obj.test_num_wires_mismatch(device, interface) and returns: qml, qml