code: def hadamard_circuit(wires, shots=10000, interface="autograd"):
      """Hadamard circuit to put all qubits in equal superposition (locally)"""
      dev = qml.device("default.qubit", wires=wires, shots=shots)
  
      @qml.qnode(dev, interface=interface)
      def circuit():
          for i in range(wires):
              qml.Hadamard(wires=i)
          return qml.classical_shadow(wires=range(wires))
  
      return circuit
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.shadows.transforms import _replace_obs
label_desc: Use image node_id 1 for calling a global function with example usage: hadamard_circuit(wires, shots, interface) and returns: circuit, qml