class_docstr: Tests for Fidelity function between two QNodes.
docstr: Test the fidelity between two circuit with multiple arguments.
code: def test_fidelity_qnodes_rxrz_rxry(self, device):
      """Test the fidelity between two circuit with multiple arguments."""
      dev = qml.device(device, wires=1)
  
      @qml.qnode(dev)
      def circuit0(x, y):
          qml.RX(x, wires=0)
          qml.RZ(y, wires=0)
          return qml.state()
  
      @qml.qnode(dev)
      def circuit1(x, y):
          qml.RX(x, wires=0)
          qml.RY(y, wires=0)
          return qml.state()
  
      fid_args = qml.qinfo.fidelity(
          circuit0, circuit1, wires0=[0], wires1=[0]
      )((0.0, np.pi), (0.0, 0.0))
      fid_arg_kwarg = qml.qinfo.fidelity(
          circuit0, circuit1, wires0=[0], wires1=[0]
      )((0.0, {"y": np.pi}), (0.0, {"y": 0}))
      fid_kwargs = qml.qinfo.fidelity(
          circuit0, circuit1, wires0=[0], wires1=[0]
      )(({"x": 0, "y": np.pi}), ({"x": 0, "y": 0}))
  
      assert qml.math.allclose(fid_args, 1.0)
      assert qml.math.allclose(fid_arg_kwarg, 1.0)
      assert qml.math.allclose(fid_kwargs, 1.0)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 6 for calling the TestFidelityQnode obj's underlying member method code with example usage: obj.test_fidelity_qnodes_rxrz_rxry(device) and returns: qml, qml