basis

basis

This keyword defines the basis functions for quantum chemical calculations and allows flexible definition of basis sets.

Using Built-in Basis Sets

Many important basis sets are provided in the basis directory located in the same path as Qbics. The files are named after the well-known basis sets in the computational chemistry community. For example, basis/cc-pvdz contains the cc-pVDZ basis set. All file names use lowercase letters.

To use them, simply specify the basis set name. It is case-insensitive. For example, to apply def2-TZVP to all atoms:

Qbics extracts the basis set information from the file located at basis/def2-tzvp.

Explicit Basis Set Definitions

You can also explicitly define your own basis sets. For example, if your system contains two elements, H and Li, their basis sets can be defined as follows:

The analytical expression of a Gaussian basis function is:


$$\chi(\mathbf{r}) = A_{L}(\mathbf{r})\sum_{k=1}^{K} C_k e^{-\alpha_k r_A^2}$$

    Here,
  • \( A_L(\mathbf{r}) \) is the angular part with angular momentum quantum number \( L \).
  • \( K \) is the contraction degree.
  • \( \alpha_k \) is the exponent.
  • \( C_k \) is the contraction coefficient.
  • \( \mathbf{A} \) is the atom position.
  • .

The basis set definition follows the standard Gaussian94 format:

  • Each atom's basis set definition ends with four asterisks (****).
  • The definition begins with the element name (e.g., Li) followed by a 0. Currently, the 0 has no functional meaning.
  • Each GTO shell is then defined, starting with three values:
    • The angular momentum \( L \), which can be any non-negative integer (e.g., 0, 5) or one of the standard letter notations: S, P, D, F, G, H, or I.
    • The contraction degree \( K \), which must be a positive integer.
    • A real number, currently unused.
    • Following that, each line specifies two real numbers: the exponent \( \alpha_k \) and the contraction coefficient \( C_k \) of each primitive GTO to be contracted.

For more details on basis function expressions, please refer to basinfo.

Hint

Basis sets in Gaussian94 format can be obtained from several websites. However, be sure to replace D with E, as D is not recognized by Qbics.

Using Self-Defined Basis Set Files

You can also store your custom basis set definitions in a file, such as /home/zhang/userdef/my-own-basis. Qbics will automatically read the file if you provide its full path.

The format can be found in the basis directory.

Defining Different Basis Sets for Different Elements

If you want to assign different basis sets to different elements, start with a line containing the keyword element. Then, list each element followed by its corresponding basis set file name, one per line.
For example:

Theoretical Background

Hint

Guidelines for Choosing a Basis Set

  • Avoid outdated basis sets: Basis sets like STO-nG or those without polarization functions (e.g., 6-31G) are rarely used today—unless you have a specific reason and know exactly what you're doing.
  • Use diffuse functions for delocalized systems: For systems with strongly delocalized electrons, choose diffuse basis sets such as 6-31+G(d) or aug-cc-pVDZ.
  • Consider core-related effects: To capture core excitations or strong core-valence interactions, use basis sets like (aug-)cc-pwCVnZ.
  • Aim for accuracy with triple-zeta or higher: For reliable energy calculations, use at least triple-zeta basis sets such as 6-311g(d), def2-TZVP or cc-pVTZ.
  • Prefer pseudopotentials for heavy atoms: In non-relativistic calculations, it's better to use basis sets with pseudopotentials rather than all-electron ones. For instance, use cc-pVDZ-PP for Cu instead of cc-pVDZ.

Karlsruhe Basis Sets

The Karlsruhe basis sets (def2- series) are a versatile and widely used family in quantum chemistry, known for their balance between accuracy and computational efficiency. They are especially suitable for systems involving heavy elements. For elements with atomic number ≥ Rb, the def2- basis sets include effective core potentials (pseudopotentials), which significantly reduce computational cost while preserving high accuracy in valence electron properties.

Attention

These basis sets for elements ≥ Rb must be used together with the corresponding def2-ECP pseudopotentials! See the example below.

In Qbics, the following Karlsruhe basis sets are available:

Basis set Applied to
def2-svp H-Xe, Cs-Ba, Hf-Rn, La-Lu
def2-tzvp H-Xe, Cs-Ba, Hf-Rn, La-Lu
def2-tzvpp H-Xe, Cs-Ba, Hf-Rn, La-Lu
def2-qzvp H-Xe, Cs-Ba, Hf-Rn, La-Lu
def2-qzvpp H-Xe, Cs-Ba, Hf-Rn, La-Lu
def2-svpd H-Xe, Cs-Ba, Hf-Rn, La
def2-tzvpd H-Xe, Cs-Ba, Hf-Rn, La
def2-tzvppd H-Xe, Cs-Ba, Hf-Rn, La
def2-qzvpd H-Xe, Cs-Ba, Hf-Rn, La
def2-qzvppd H-Xe, Cs-Ba, Hf-Rn, La

Here:

  • pp: Adds additional polarization functions to both heavy atoms and hydrogen atoms.
  • pd: Adds diffuse functions to both heavy atoms and hydrogen atoms.
  • ppd: Adds both diffuse functions and additional polarization functions to both heavy atoms and hydrogen atoms.

Dunning Correlation-Consistent Basis Sets

Dunning correlation-consistent basis sets are high-precision basis sets widely used in quantum chemistry, especially for systems with significant electron correlation. These basis sets are designed to ensure consistent treatment of electron correlation across different levels of precision, providing reliable and accurate results.
They are particularly recommended for high-accuracy calculations and for studying excited states.

In Qbics, the following Dunning correlation-consistent basis sets are available:

Basis set Applied to
cc-pVDZ H-He, Li-Ne, Na-Ar, Ca-Kr
cc-pVTZ H-He, Li-Ne, Na-Ar, Ca-Kr
cc-pVQZ H-He, Li-Ne, Na-Ar, Ca-Kr
cc-pCVDZ Li-Ne, Na-Ar, Ca
cc-pCVTZ Li-Ne, Na-Ar, Ca
cc-pCVQZ Li-Ne, Na-Ar, Ca
cc-pwCVDZ B-Ne, Al-Ar
cc-pWCVTZ B-Ne, Al-Ar, Sc-Zn
cc-pWCVQZ B-Ne, Al-Ar, Sc-Zn, Br
aug-cc-pVDZ H-Ar, Sc-Kr
aug-cc-pVTZ H-Ar, Sc-Kr
aug-cc-pVQZ H-Ar, Sc-Kr
aug-cc-pCVDZ Li-Ne, Na-Ar
aug-cc-pCVTZ Li-Ne, Na-Ar
aug-cc-pCVQZ Li-Ne, Na-Ar
aug-cc-pWCVDZ B-Ne, Al-Ar
aug-cc-pWCVTZ B-Ne, Al-Ar
aug-cc-pWCVQZ B-Ne, Al-Ar

Here:

  • aug: Adds diffuse functions to both heavy atoms and hydrogen atoms.
  • c: Adds tight basis functions to describe core electrons.
  • wc: Adds even tighter core functions for improved treatment of core electron correlation.

Dunning Correlation-Consistent Basis Sets with Pseudopotentials

Dunning correlation-consistent basis sets with pseudopotentials simplify calculations for heavy elements by replacing core electrons with pseudopotentials. This approach significantly reduces computational cost while maintaining high accuracy for valence electron interactions.

Attention

These basis sets must be used together with the corresponding cc-ECP pseudopotentials. See the example below.

In Qbics, the following Dunning correlation-consistent basis sets with pseudopotentials are available:

Basis set Applied to
cc-pVDZ-PP Cu-Kr, Y-Xe, Hf-Rn
cc-pVTZ-PP Cu-Kr, Y-Xe, Hf-Rn
cc-pVQZ-PP Cu-Kr, Y-Xe, Hf-Rn
cc-pWCVDZ-PP Cu-Kr, Y-Xe, Hf-Rn
cc-pWCVTZ-PP Cu-Kr, Y-Xe, Hf-Rn
cc-pWCVQZ-PP Cu-Kr, Y-Xe, Hf-Rn
aug-cc-pVDZ-PP Cu-Kr, Y-Xe, Hf-Rn
aug-cc-pVTZ-PP Cu-Kr, Y-Xe, Hf-Rn
aug-cc-pVQZ-PP Cu-Kr, Y-Xe, Hf-Rn
aug-cc-pWCVDZ-PP Cu-Kr, Y-Xe, Hf-Rn
aug-cc-pWCVTZ-PP Cu-Kr, Y-Xe, Hf-Rn
aug-cc-pWCVQZ-PP Cu-Kr, Y-Xe, Hf-Rn

Pople Basis Sets

Pople basis sets are widely used in quantum chemical calculations to describe the electronic structure of molecules. They offer an effective balance between computational efficiency and accuracy, particularly for molecules containing elements from hydrogen (H) to calcium (Ca).

The following Pople basis sets are available in Qbics:

Basis set Applied to
3-21G H-Xe, Cs
4-31G H-He, B-Ne, P-Cl
6-31G H-Zn
6-31G(d), 6-31G(d,p) H-Kr
6-31G(2df,p), 6-31G(3df,3pd) H-Ar
6-31+G, 6-31+G(d), 6-31+G(d,p) H-Ar
6-31++G, 6-31++G(d), 6-31++G(d,p) H-Ar
6-311G, 6-311G(d), 6-311G(d,p) H-Ar, K-Ca, Ga-Kr, I
6-311G(2df,2pd) H-Ne, K-Ca
6-311+G, 6-311+G(d), 6-311+G(d,p), 6-311+G(2d,p) H-Ar, K-Ca
6-311++G, 6-311++G(d), 6-311++G(d,p), 6-311++G(2d,2p) H, Li-Ar, K-Ca
6-311++G(3df,3pd) H, Li-Ar

Here:

  • (d): Adds one set of d functions to heavy atoms.
  • (d,p): Adds one set of d functions to heavy atoms and one set of p functions to hydrogen atoms.
  • +: Adds s and p diffuse functions to heavy atoms.
  • ++: Adds s and p diffuse functions to heavy atoms and s diffuse functions to hydrogen atoms.
  • (2df,p): Adds two sets of d functions and one set of f functions to heavy atoms, and two sets of p functions to hydrogen atoms.

STO-nG Basis Sets

In STO-nG basis sets, each atomic orbital is represented using a single-zeta basis, where n Gaussian functions approximate a Slater-type orbital. This approach offers a compact and computationally efficient representation of atomic wavefunctions.

The following STO-nG basis sets are available in Qbics:

Basis set Applied to
sto-2g, sto-3g, sto-4g, sto-5g, sto-6g H-Xe

Los Alamos National Laboratory Pseudopotentials

The Los Alamos National Laboratory (LANL) basis sets are designed to simplify quantum chemistry calculations involving heavy elements. For all elements with atomic number ≥ 11 (i.e., sodium and heavier), effective core potentials (pseudopotentials) are used to replace core electrons, reducing computational cost while maintaining accuracy.

Attention

For elements with atomic number ≥ 11 (i.e., sodium and heavier), these basis sets must be used together with the corresponding LANL-ECP pseudopotentials. See the example below for proper usage.

The following LANL basis sets are available in Qbics:

Basis set Applied to
LANL2DZ H, Li-Xe, Cs-Bi, La, U-Pu
LANL2DZdp H, C-F, Si-Cl, Ge-Br, Sn-I, Pb-Bi
LANL08 Na-Xe, Cs-Bi, La
LANL08+ Sc-Zn
LANL08(d) Si-Cl, Ge-Br, Sn-I, Pb-Bi
LANL08(f) Sc-Cu, Y-Ag, Hf-Au, La
LANL2TZ Sc-Zn, Y-Cd, Hf-Hg, La
LANL2TZ+ Sc-Zn

Here:

  • +: Adds d diffuse functions.
  • d or f: Adds d or f polarization functions.

Input Examples

Some examples are also provided in the pseudopotential section.

Example: CuH with cc-pVDZ and cc-pVDZ-PP

Below is a calculation example for CuH using both an all-electron correlation-consistent basis set and a correlation-consistent basis set with a pseudopotential. The first example uses the all-electron basis set:

The output is shown below:
The number of electrons is 30, and the optimized bond length is 1.48 Å.

Now, we use the pseudopotential version:

The output is shown below:
The number of electrons is 20; 10 core electrons of Cu (corresponding to the Ne core) are replaced by a pseudopotential. The optimized bond length is 1.46 Å.

Example: AuH with Karlsruhe Basis Set

This example demonstrates how to calculate AuH using a Karlsruhe basis set:

Example: AgI with LANL Basis Set

This example demonstrates how to optimize the structure of AgI using a LANL basis set:

The output is as follows:
The number of electrons is 26, meaning that 74 electrons were replaced by pseudopotentials. The optimized bond length is 2.65 Å.

The number of electrons is 26, so 74 electrons were replaced by pseudopotential. The optimized structure has a bond length of 2.65 Angstrom.