class_docstr: Tests for Fidelity function between two QNodes.
docstr: Test that wires must have the same length.
code: def test_not_same_number_wires(self, device):
      """Test that wires must have the same length."""
      dev = qml.device(device, wires=2)
  
      @qml.qnode(dev)
      def circuit0():
          return qml.state()
  
      @qml.qnode(dev)
      def circuit1():
          return qml.state()
  
      with pytest.raises(
          qml.QuantumFunctionError,
          match="The two states must have the same number of wires",
      ):
          qml.qinfo.fidelity(
              circuit0, circuit1, wires0=[0, 1], wires1=[0]
          )()
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling the TestFidelityQnode obj's underlying member method code with example usage: obj.test_not_same_number_wires(device) and returns: qml, qml