code: def test_norm(n, eta, omega, error, br, charge, norm_ref):
      r"""Test that norm returns the correct value."""
      norm = qml.resource.FirstQuantization.norm(
          n, eta, omega, error, br, charge
      )
  
      assert np.allclose(norm, norm_ref)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 15 for calling a global function with example usage: test_norm(n, eta, omega, error, br, charge, norm_ref) without return types