code: def circuit2(x):
      """Circuit on a single qubit."""
      qml.RX(x, wires=0)
      return qml.expval(qml.PauliZ(0))
  
imports: import pytest
  import pennylane
label_desc: Use image node_id 2 for calling a global function with example usage: circuit2(x) and returns: qml