class_docstr: Tests for attraction matrix
docstr: Test that the attraction gradients are correct.
docstr_tok: ["Test","that","the","attraction","gradients","are","correct","."]
code: def test_gradient_attraction_matrix(
      self, symbols, geometry, alpha, coeff, g_r_ref
  ):
      r"""Test that the attraction gradients are correct."""
      mol = qchem.Molecule(symbols, geometry, alpha=alpha, coeff=coeff)
      r_basis = mol.coordinates
      args = [mol.coordinates, mol.alpha, mol.coeff, r_basis]
  
      g_r = qml.jacobian(
          qchem.attraction_matrix(
              mol.basis_set, mol.nuclear_charges, mol.coordinates
          ),
          argnum=0,
      )(*args)
      assert np.allclose(g_r, g_r_ref)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 4 for calling the TestAttractionMat obj's underlying member method code with example usage: obj.test_gradient_attraction_matrix(symbols, geometry, alpha, coeff, g_r_ref) without return types