code: def circuit(x, w):
      """Test circuit"""
      for l in range(2):
          for i in range(3):
              qml.RX(x[i], wires=0, id="x" + str(i))
              qml.RY(w[l][i], wires=0)
              qml.CNOT(wires=[0, 1])
              qml.CNOT(wires=[1, 2])
      qml.RZ(x[0], wires=0, id="x0")
      return qml.expval(qml.PauliZ(wires=0))
  
file_path: pennylane/tests/fourier/test_circuit_spectrum.py
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
  from pennylane.fourier.circuit_spectrum import circuit_spectrum
label_desc: Use image node_id 1 for calling a global function with example usage: circuit(x, w) and returns: qml