code: def circuit_two_qubits_repeated_param(inpt):
      r"""Circuit with two qubits, repeated single-param output function :math:`<Z>`
  
      By-hand calculation of :math:`f(x)` gives :math:`<Z> = 1/2 + 1/2 cos(2x)`
      Fourier coeffs are :math:`c_0 = 0.5, c_1 = c_-1 = 0, c_2 = c_-2 = 0.25`
      (same as above circuit_one_qubit_one_param_rx_ry, just different qubits).
      """
      qml.RX(inpt[0], wires=0)
      qml.RY(inpt[0], wires=1)
      qml.CNOT(wires=[1, 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 6 for calling a global function with example usage: circuit_two_qubits_repeated_param(inpt) and returns: qml