code: def circuit_template(features, weights):
      qml.QAOAEmbedding(features, weights, range(2))
      return qml.expval(qml.PauliZ(0))
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: circuit_template(features, weights) and returns: qml