Tip
All input files can be downloaded: Files
.
basis
This keyword defines the basis functions used for quantum chemical calculations. You can define basis sets in several flexible ways.
Using Built-in Basis Sets
A lot of important basis sets have been provided in a directory basis
in the same path of Qbics. The files are named after their names well-known in computational chemistry community. For example, basis/cc-pvdz
contains the cc-pVDZ basis. All files are named in small cases.
To use them, simple write down the basis set name. It is case-insensitive. For example, to use def2-TZVP for all atoms:
1basis
2 def2-TZVP
3end
Qbics will extract basis set information from basis/def2-tzvp
.
Explicit Basis Set Definitions
You can also explicitly define your own basis sets. For example, your system contains two elements, H and Li, then their basis sets can be defined in this way:
1basis
2 H 0
3 S 3 1.00
4 13.0107010 0.19682158E-01
5 1.9622572 0.13796524
6 0.4445379 0.47831935
7 S 1 1.00
8 0.12194962 1.0000000
9 P 1 1.00
10 0.8000000 1.0000000
11 ****
12 Li 0
13 S 5 1.00
14 266.27785516 0.64920150325E-02
15 40.069783447 0.47747863215E-01
16 9.0559944389 0.20268796111
17 2.4503009051 0.48606574817
18 0.72209571855 0.43626977955
19 S 1 1.00
20 0.52810884721E-01 1.0000000
21 S 1 1.00
22 0.20960948798E-01 1.0000000
23 P 2 1.00
24 1.4500000 0.2586000
25 0.3000000 1.0000000
26 P 1 1.00
27 0.0820000 1.0000000
28 ****
29end
The analyitcal expression of Gaussian basis function is:
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, and \(\mathbf{A}\) is the atom position.
The basis set definition is of standard Gaussian94 format:
The definition of the basis set for each atom ends with 4 asterisks, i.e.
****
.The definition starts with the element name like
Li
and a0
. Currently0
has no meaning.Then, each GTO shell is defined. The shell definition starts with three parameters:
Angular momentum \(L\). It can be any nonnegative numbers like
0
,5
, or one ofS
,P
,D
,F
,G
,H
, andI
.Contraction degree \(K\). It must be a positive integer.
A real number. Currently it has no meaning.
Then, each line defines the exponent \(\alpha_k\) and contraction coefficient \(C_k\) of the primitive GTO to be contracted. They are 2 real numbers.
For more about basis function expressions, please refer to basinfo.
Hint
Basis sets in Gaussian94 format can be obtained from several websites. But, remember to replace D
to E
since the former is not recognized by Qbics.
Using Self-defined Basis Set Files
You can also put your explicit basis set definitions into some files, say /home/zhang/userdef/my-own-basis
. Qbics will automatically read it if you give explicit file name including path.
1basis
2 /home/zhang/userdef/my-own-basis
3end
The format can be found in basis
directory.
Define Different Basis Sets for Different Elements
If you want to use different basis set s for different elements, then you can write element
in the first line, then write element and basis set file name line by line. For example:
1 basis
2 element # This indicates that Qbics will assign basis set element by element.
3 O aug-cc-pvtz
4 C cc-pvtz
5 N /home/zhang/userdef/my-own-basis
6 end
Theoretical Background
Hint
To determine what basis set you should use, the following guidelines are recommended:
Nowadays, nobody uses STO-nG or basis sets without polarization functions like
6-31g
, unless you really know what you are doing.For systems with strongly delocalized electrons, use diffuse basis sets, like
6-31+g(d)
oraug-cc-pvDZ
.To consider core-excitations or strong core-valence interactions, use (aug-)cc-p(W)CVnZ.
To get accurate energies, use triple-zeta basis sets or better, like
6-311g(d)
,def2-TZVP
orcc-pVTZ
.For non-relativistic calculations, use basis set with pseudopotentials instead of all-electron ones. For example, it is better to use cc-pVDZ-PP for Cu than using cc-pVDZ.
Karlsruhe Basis Sets
The Karlsruhe family (def2-) is a versatile and widely used series of basis sets in quantum chemistry, particularly effective for calculations involving heavy elements and systems requiring efficient computational performance. For elements ≥ Rb, def2- basis sets incorporate pseudopotentials to reduce computational cost while maintaining high accuracy for valence electron properties.
Attention
These basis sets for elements ≥ Rb must be used together with corresponding def2-ECP
pseudopotentials! See Input Examples below.
In Qbics, the following Karlsruhe basis sets are available:
Basis set |
Applied to |
---|---|
|
H-Xe, Cs-Ba, Hf-Rn, La-Lu |
|
H-Xe, Cs-Ba, Hf-Rn, La-Lu |
|
H-Xe, Cs-Ba, Hf-Rn, La-Lu |
|
H-Xe, Cs-Ba, Hf-Rn, La-Lu |
|
H-Xe, Cs-Ba, Hf-Rn, La-Lu |
|
H-Xe, Cs-Ba, Hf-Rn, La |
|
H-Xe, Cs-Ba, Hf-Rn, La |
|
H-Xe, Cs-Ba, Hf-Rn, La |
|
H-Xe, Cs-Ba, Hf-Rn, La |
|
H-Xe, Cs-Ba, Hf-Rn, La |
Here:
pp
: Adds additional polarization functions on both heavy and hydrogen atoms.
pd
: Adds diffuse functions on both heavy and hydrogen atoms.
ppd
: Adds diffuse functions and additional polarization functions on both heavy and hydrogen atoms.
Dunning Correlation-Consistent Basis Sets
Dunning correlation-consistent basis sets are high-precision basis sets widely used in quantum chemistry, particularly for systems with significant electron correlation. These basis sets aim to ensure consistent treatment of electron correlation across different levels of precision, offering reliable and accurate results. They are recommended for high-precision calculations and excitated states.
In Qbics, the following Dunning correlation-consistent basis sets are available:
Basis set |
Applied to |
---|---|
|
H-He, Li-Ne, Na-Ar, Ca-Kr |
|
H-He, Li-Ne, Na-Ar, Ca-Kr |
|
H-He, Li-Ne, Na-Ar, Ca-Kr |
|
Li-Ne, Na-Ar, Ca |
|
Li-Ne, Na-Ar, Ca |
|
Li-Ne, Na-Ar, Ca |
|
B-Ne, Al-Ar |
|
B-Ne, Al-Ar, Sc-Zn |
|
B-Ne, Al-Ar, Sc-Zn, Br |
|
H-Ar, Sc-Kr |
|
H-Ar, Sc-Kr |
|
H-Ar, Sc-Kr |
|
Li-Ne, Na-Ar |
|
Li-Ne, Na-Ar |
|
Li-Ne, Na-Ar |
|
B-Ne, Al-Ar |
|
B-Ne, Al-Ar |
|
B-Ne, Al-Ar |
Here:
aug
: Adds diffuse functions on heavy and hydrogen atoms.
c
: Adds tight basis functions for core electrons.
wc
: Adds tighter basis functions for core electrons.
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 reduces computational costs while retaining high accuracy for valence electron interactions.
Attention
These basis sets must be used together with corresponding cc-ECP
pseudopotentials! See Input Examples below.
In Qbics, the following Dunning correlation-consistent basis sets with pseudopotentials are available:
Basis set |
Applied to |
---|---|
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
Cu-Kr, Y-Xe, Hf-Rn |
|
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. These basis sets provide an effective balance between computational efficiency and accuracy for molecules containing H-Ca.
In Qbics, the following Pople basis sets are available:
Basis set |
Applied to |
---|---|
|
H-Xe, Cs |
|
H-He, B-Ne, P-Cl |
|
H-Zn |
|
H-Kr |
|
H-Ar |
|
H-Ar |
|
H-Ar |
|
H-Ar, K-Ca, Ga-Kr, I |
|
H-Ne, K-Ca |
|
H-Ar, K-Ca |
|
H, Li-Ar, K-Ca |
|
H, Li-Ar |
Here:
(d)
: Adds 1 set of d functions on heavy atoms.
(d,p)
: Adds 1 set of d functions on heavy atoms and 1 set of p functions on hydrogens.
+
: Adds s and p diffuse functions on heavy atoms.
++
: Adds s and p diffuse functions on heavy atoms and s diffuse functions on hydrogens.
(2df,p)
: Adds 2 sets of d functions and 1 set of f functions on heavy atoms, and 2 sets of p functions on hydrogens.
STO-nG Basis Sets
In STO-nG basis sets, each atomic orbital is described by a single-Zeta basis set, where n Gaussian functions are used to approximate a Slater orbital. This design provides a compact and efficient representation of atomic wavefunctions.
In Qbics, the following STO-nG basis sets are available:
Basis set |
Applied to |
---|---|
|
H-Xe |
Los Alamos National Laboratory Pseudopotentials
The Los Alamos National Laboratory (LANL) basis sets are tailored for simplifying quantum chemistry calculations involving heavy elements. For all elements ≥ Na, pseudopotentials are used.
Attention
These basis sets for elements ≥ Na must be used together with corresponding lanl-ECP
pseudopotentials! See Input Examples below.
In Qbics, the following LANL basis sets are available, listed below:
Basis set |
Applied to |
---|---|
|
H, Li-Xe, Cs-Bi, La, U-Pu |
|
H, C-F, Si-Cl, Ge-Br, Sn-I, Pb-Bi |
|
Na-Xe, Cs-Bi, La |
|
Sc-Zn |
|
Si-Cl, Ge-Br, Sn-I, Pb-Bi |
|
Sc-Cu, Y-Ag, Hf-Au, La |
|
Sc-Zn, Y-Cd, Hf-Hg, La |
|
Sc-Zn |
Here:
+
: Adds d diffuse functions.
d
orf
: Adds d or f polarization functions.
Input Examples
Some examples are also given in pseudopotential.
Example: CuH with cc-pvDZ and cc-pvDZ-PP
Below we show a calculation for CuH with all-electron correlation-consistent basis set and correlation-consistent basis set with pseudopotential. The first is an all-electron one:
1# All electrons for CuH.
2basis
3 cc-pvdz
4end
5
6mol
7 Cu -0.00000000 -0.00000000 -0.23939021
8 H 0.00000000 0.00000000 1.23939021
9end
10
11task
12 opt b3lyp
13end
We can see output:
1SCF Structure:
2 # of electrons: 30
3 # of alpha electrons: 15
4 # of beta electrons: 15
The number of electrons is 30. The optimized structure has a bond length of 1.48 Angstrom.
Now we use pseudopotential:
1# Pseudopotentials for Cu, all-electrons for H.
2basis
3 element
4 Cu cc-pvdz-pp
5 H cc-pvdz
6end
7
8pseudopotential
9 cc-ecp
10end
11
12mol
13 Cu -0.00000000 -0.00000000 -0.23939021
14 H 0.00000000 0.00000000 1.23939021
15end
16
17task
18 opt b3lyp
19end
We can see output:
1SCF Structure:
2 # of electrons: 20
3 # of alpha electrons: 10
4 # of beta electrons: 10
The number of electrons is 20, 10 electrons of Cu (Ne core) were replaced by pseudopotential. The optimized structure has a bond length of 1.46 Angstrom.
Example: AuH with Karlsruhe Basis Set
Calculate AuH with Karlsruhe basis set:
1basis
2 def2-TZVP
3end
4
5pseudopotential
6 def2-ecp # If there are elements >= Rb, this must be used!
7end
8
9mol
10 Au 0. 0. 0.
11 H 0. 0. 1.5
12end
13
14task
15 opt b3lyp
16end
Example: AgI with LANL Basis Set
Optimize the structure of AgI with LANL basis set:
1basis
2 lanl2dz
3end
4
5pseudopotential
6 lanl-ecp # For LANL basis set, this should always be set.
7end
8
9mol
10 Ag 0. 0. 0.
11 I 0. 0. 1.5
12end
13
14task
15 opt b3lyp
16end
See the output:
1SCF Structure:
2 # of electrons: 26
3 # of alpha electrons: 13
4 # of beta electrons: 13
The number of electrons is 26, so 74 electrons were replaced by pseudopotential. The optimized structure has a bond length of 2.65 Angstrom.