class_docstr: Test calculation of Fourier coefficients for various circuits.
class_docstr_tok: ["Test","calculation","of","Fourier","coefficients","for","various","circuits","."]
docstr: Test that coeffs for a single instance of a single parameter match the by-hand
  results regardless of input degree (max degree is 1).
docstr_tok: ["Test","that","coeffs","for","a","single","instance","of","a","single","parameter","match","the","by-hand","results","regardless","of","input","degree","(","max","degree","is","1",")","."]
code: def test_coefficients_one_param_circuits(
      self, circuit, degree, expected_coeffs, use_broadcasting
  ):
      """Test that coeffs for a single instance of a single parameter match the by-hand
      results regardless of input degree (max degree is 1)."""
      coeffs = coefficients(
          circuit,
          circuit.n_inputs,
          degree,
          use_broadcasting=use_broadcasting,
      )
      assert np.allclose(coeffs, expected_coeffs)
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.fourier import coefficients
label_desc: Use image node_id 1 for calling the TestFourierCoefficientCircuits obj's underlying member method code with example usage: obj.test_coefficients_one_param_circuits(circuit, degree, expected_coeffs, use_broadcasting) without return types