code: def cost4(x):
      """Cost function."""
      qml.Rot(*x, wires=0)
      return qml.probs([0, 1])
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: cost4(x) and returns: qml