code: def circuit_one_qubit_one_param_h_ry(inpt):
      r"""Circuit with a single-qubit, single-param, output function <Z>.
  
      By-hand calculation of :math:`f(x)` gives :math:`<Z> = -sin(x)`.
      Fourier coeffs are :math:`c_1 = 0.5i, c_-1 = -0.5i`.
      """
      qml.Hadamard(wires=0)
      qml.RY(inpt[0], wires=0)
      return qml.expval(qml.PauliZ(0))
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.fourier import coefficients
label_desc: Use image node_id 3 for calling a global function with example usage: circuit_one_qubit_one_param_h_ry(inpt) and returns: qml