code: def qft_circuit(wires, shots=10000, interface="autograd"):
      """Quantum Fourier Transform circuit"""
      dev = qml.device("default.qubit", wires=wires, shots=shots)
  
      one_state = np.zeros(wires)
      one_state[-1] = 1
  
      @qml.qnode(dev, interface=interface)
      def circuit():
          qml.BasisState(one_state, wires=range(wires))
          qml.QFT(wires=range(wires))
          return qml.classical_shadow(wires=range(wires))
  
      return circuit
  
imports: import pytest
  import numpy
  import pennylane
  import pennylane.numpy
  from pennylane.shadows import ClassicalShadow, median_of_means, pauli_expval
label_desc: Use image node_id 4 for calling a global function with example usage: qft_circuit(wires, shots, interface) and returns: circuit, qml