code: def circuit_template(weight):
      qml.FermionicSingleExcitation(weight, wires=[0, 1])
      return qml.expval(qml.PauliZ(0))
  
file_path: pennylane/tests/templates/test_subroutines/test_single_excitation.py
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 1 for calling a global function with example usage: circuit_template(weight) and returns: qml