code: def circuit9(x, w):
      """Test circuit"""
      for l in range(2):
          for i in range(3):
              qml.RX(x[i], wires=0)
              qml.RY(w[l][i], wires=0)
              qml.CNOT(wires=[0, 1])
              qml.CNOT(wires=[1, 2])
      qml.RZ(x[0], wires=0)
      return qml.expval(qml.PauliZ(wires=0))
  
imports: from collections import OrderedDict
  import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.fourier.qnode_spectrum import _process_ids, qnode_spectrum
  from pennylane.measurements import SampleMP, StateMP, VarianceMP
label_desc: Use image node_id 10 for calling a global function with example usage: circuit9(x, w) and returns: qml