code: def circuit_decomposed(weights):
      qml.BasisState(np.array([1, 1, 0, 0]), wires=range(4))
      qml.DoubleExcitation(weights[1], wires=[0, 1, 2, 3])
      qml.SingleExcitation(weights[0], wires=[0, 1])
      return qml.expval(qml.PauliZ(0))
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 3 for calling a global function with example usage: circuit_decomposed(weights) and returns: qml