code: def cost5(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 6 for calling a global function with example usage: cost5(x) and returns: list