code: def test_fq_params(n, eta, omega, error, charge, br):
      r"""Test that the FirstQuantization class initiates correct parameters."""
      est = qml.resource.FirstQuantization(n, eta, omega)
  
      assert np.allclose(est.n, n)
      assert np.allclose(est.eta, eta)
      assert np.allclose(est.omega, omega)
      assert np.allclose(est.error, error)
      assert np.allclose(est.charge, charge)
      assert np.allclose(est.br, br)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: test_fq_params(n, eta, omega, error, charge, br) without return types