code: def test_fq_vals(n, eta, omega, lamb, g_cost, q_cost):
      r"""Test that the FirstQuantization class computes correct attributes."""
      est = qml.resource.FirstQuantization(n, eta, omega)
  
      assert np.allclose(est.lamb, lamb)
      assert np.allclose(est.gates, g_cost)
      assert np.allclose(est.qubits, q_cost)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: test_fq_vals(n, eta, omega, lamb, g_cost, q_cost) without return types