Bayesian inference in quantum chemistry
Bayesian Inference in Quantum Chemistry
As an example, methanol, with six atoms, has 6 3 = 18 input variables, one for each Cartesian coordinate. Each single input through Q-Chem and receive the response variable . We can also probe the chemistry using more specific inputs, such as a C-O stretch or rotation, which will have its own set of inputs and responses. Visualize spatially:
For this minimal example, we construct a table of these three data entries:16.2364 | 4.55882 | 8.60984 | 17.2446 | 4.35514 | 9.00149 | 15.5804 | 4.89513 | 9.42765 | 15.8392 | 3.63217 | 8.18469 | 16.2648 | 5.5148 | 7.5602 | 16.7107 | 6.32543 | 7.83257 | -115.631 |
16.2337 | 4.46458 | 9.10497 | 17.2418 | 4.26089 | 9.10497 | 15.5776 | 4.80088 | 9.53114 | 15.8364 | 3.53793 | 8.28817 | 16.2675 | 5.60905 | 7.72909 | 16.7135 | 6.41968 | 7.83257 | -115.606 |
16.2365 | 4.55882 | 8.60984 | 17.2446 | 4.35514 | 9.00149 | 15.5804 | 4.89513 | 9.42765 | 15.8392 | 3.63217 | 8.18469 | 16.2648 | 5.5148 | 7.5602 | 15.5917 | 5.32897 | 6.89489 | -115.629 |
We could try every possible input and try to compute the expected values that way… but that is way too expensive for this to be an option.
One technique we can use is dimensionality reduction so that we need fewer samples to obtain a result with high confidence. The most obvious way to do this is to do a coordinate transformation, which can be thought of as feature engineering the input data into a more informative form. For example, each datapoint can be referenced to the center of mass and aligned to orthogonal axes that minimize the Euclidean distance to each point. Additionally, relationships between columns in the dataset with each other can be found using trigonometry, so that interatomic distances and angles can be calculated and used as the relevant inputs. I won’t go into all the complicated linear algebra involved in this non-linear transformation. Sufficeth to say that after all is said and done, we can reduce the dimensionality by 6-D using these methods alone, and we’re left with more informative input data such as interatomic distances and dihedral angles of internal rotation, and bond angles.
For larger datasets, a 6-D dimension reduction isn’t enough, and we’re left with a high dimensional problem where solving the PDE using matrix methods exceeds memory limitations of modern computers. One method to further reduce the dimensionality is to model each variable within as statistically independent. In statistical terms, the probability distribution of the full-dimensional dataset can be represented as a product of each variable’s marginal distribution.
Prior probabilities on intramolecular motion
This implies that can be modeled through a linear response model, so that each component can be evaluated independently:
Then we only need to solve 1-D functions of each component using basis function regression techniques, and independently solve each 1-D Schrödinger equation using eigendecomposition methods.
We can compute each marginal probability density function using the squared probability amplitude, which is the pdf for conditioned on :
The motivation for doing this is that we can now be much more intelligent about how we construct our data table. Since we only want to expend computational power for a feasible number of data, we can directly sample the expected distribution of to increase our confidence that the expected values computed from the data are representative of the “population” means.