code: def get_circuit(
      wires,
      shots,
      seed_recipes,
      interface="autograd",
      device="default.qubit.legacy",
  ):
      """
      Return a QNode that prepares the state (|00...0> + |11...1>) / sqrt(2)
          and performs the classical shadow measurement
      """
      if device is not None:
          dev = qml.device(device, wires=wires, shots=shots)
      else:
          dev = qml.device(
              "default.qubit.legacy", wires=wires, shots=shots
          )
  
          # make the device call the superclass method to switch between the general qubit device and device specific implementations (i.e. for default qubit)
          dev.classical_shadow = super(type(dev), dev).classical_shadow
  
      @qml.qnode(dev, interface=interface)
      def circuit():
          qml.Hadamard(wires=0)
  
          for target in range(1, wires):
              qml.CNOT(wires=[0, target])
  
          return qml.classical_shadow(
              wires=range(wires), seed=seed_recipes
          )
  
      return circuit
  
imports: import autograd.numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import Shots
label_desc: Use image node_id 1 for calling a global function with example usage: get_circuit(wires, shots, seed_recipes, interface, device) and returns: circuit, qml