class_docstr: Tests for generating a molecule object.
class_docstr_tok: ["Tests","for","generating","a","molecule","object","."]
docstr: Test that correct basis set parameters are loaded from the basis_set_exchange library.
docstr_tok: ["Test","that","correct","basis","set","parameters","are","loaded","from","the","basis_set_exchange","library","."]
code: def test_load_basis(self, symbols, geometry, basis_name, params_ref):
      """Test that correct basis set parameters are loaded from the basis_set_exchange library."""
  
      pytest.importorskip("basis_set_exchange")
  
      mol = qchem.Molecule(
          symbols, geometry, basis_name=basis_name, load_data=True
      )
  
      params = mol.basis_data
  
      l = [p[0] for p in params]
      l_ref = [p[0] for p in params_ref]
  
      alpha = [p[1] for p in params]
      alpha_ref = [p[1] for p in params_ref]
  
      coeff = [p[2] for p in params]
      coeff_ref = [p[2] for p in params_ref]
  
      assert l == l_ref
      assert alpha == alpha_ref
      assert coeff == coeff_ref
  
file_path: pennylane/tests/qchem/test_molecule.py
imports: import pytest
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 12 for calling the TestMolecule obj's underlying member method code with example usage: obj.test_load_basis(symbols, geometry, basis_name, params_ref) without return types