code: def make_tape(x, y, z, obs):
      """Construct a tape with three parametrized, two unparametrized
      operations and expvals of provided observables."""
      with qml.queuing.AnnotatedQueue() as q:
          qml.StatePrep(np.array([1, 0, 0, 0]), wires=[0, 1])
          RX_broadcasted(x, wires=0)
          qml.PauliY(0)
          RX_broadcasted(y, wires=1)
          RZ_broadcasted(z, wires=1)
          qml.Hadamard(1)
          for ob in obs:
              qml.expval(ob)
  
      tape = qml.tape.QuantumScript.from_queue(q)
      return tape
  
file_path: pennylane/tests/transforms/test_broadcast_expand.py
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: make_tape(x, y, z, obs) and returns: tape