You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: OpenDFT/QHBench/QH9/README.md
+23-20
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,29 @@
1
1
# QH9: A Quantum Hamiltonian Prediction Benchmark
2
2
3
-
[[Paper]](https://arxiv.org/abs/2306.09549)
3
+
[[Paper]](https://arxiv.org/abs/2306.09549)(**NeurIPS**, Track on Datasets and Benchmarks, 2023)
4
4
5
5
## Introduction
6
6
7
7
QH9 provides precise DFT-calculated Hamiltonian matrices for **2,399 molecular dynamics trajectories** and **130,831 stable molecular geometries**, based on the [QM9](http://quantum-machine.org/datasets/) dataset.
8
8
9
-
In this repo, we provide both the QH9 dataset and the baseline models, which can be highly valuable for developing machine learning methods and accelerating molecular and materials design for scientific and technological applications.
9
+
In this repo, we provide both the QH9 dataset and the benchmark code, which can be highly valuable for developing machine learning methods and accelerating molecular and materials design for scientific and technological applications.
10
10
11
11
12
12
## Tasks
13
13
14
14
To comprehensively evaluate the quantum Hamiltonian prediction performance, we define the following tasks based on the obtained stable and dynamic geometries in the QH9 dataset. Please refer to our paper for details of these task setups.
15
15
16
-
***QH-stable-iid**
17
-
***QH-stable-ood**
18
-
***QH-dynamic-geo**
19
-
***QH-dynamic-mol**
16
+
***QH9-stable-id**
17
+
***QH9-stable-ood**
18
+
***QH9-dynamic-geo**
19
+
***QH9-dynamic-mol**
20
20
21
21
| Task | # Total geometries | # Total molecules | # Training/validation/testing geometries|
@@ -38,17 +38,17 @@ Meanwhile, we provide the installation file, and you can build the environment b
38
38
39
39
40
40
## Dataset Usage
41
-
We provide the datasets as commonly used PyG datasets. Here are simple examples to load our datasets with a few lines of code. Prior to that, you can download the `datasets` folder, which includes the raw data files `QH9Stable.db` and `QH9Dynamic.db`, via [this Google Drive link](https://drive.google.com/drive/folders/13pPgBh3XvN2FCpowfnA8TT4VJ0OTceNM?usp=sharing)and[OneDrive Link](https://tamucs-my.sharepoint.com/:f:/g/personal/haiyang_tamu_edu/Ev4XIVcumhVFtaI8lUkIHXABHkKnKgWSJ5LYZOo67UKO0g?e=tsXkT1). Meanwhile, we provide the zip files of the datasets in this [google drive link](https://drive.google.com/drive/u/0/folders/1LXTC8uaOQzmb76FsuGfwSocAbK5Hshfj).
41
+
We provide the datasets as commonly used PyG datasets. Here are simple examples to load our datasets with a few lines of code. Prior to that, you can download the `datasets` folder, which includes the raw data files `QH9Stable.db` and `QH9Dynamic.db`, via [this Google Drive link](https://drive.google.com/drive/folders/13pPgBh3XvN2FCpowfnA8TT4VJ0OTceNM?usp=sharing)or[OneDrive Link](https://tamucs-my.sharepoint.com/:f:/g/personal/haiyang_tamu_edu/Ev4XIVcumhVFtaI8lUkIHXABHkKnKgWSJ5LYZOo67UKO0g?e=tsXkT1). Meanwhile, we provide the zip files of the datasets in this [google drive link](https://drive.google.com/drive/u/0/folders/1LXTC8uaOQzmb76FsuGfwSocAbK5Hshfj).
42
42
43
43
```python
44
44
from torch_geometric.loader import DataLoader
45
45
from datasets import QH9Stable, QH9Dynamic
46
46
47
47
### Use one of the following lines to Load the specific dataset
Equivariant quantum tensor network QHNet is selected as the main baseline method in the QH9 benchmark currently. QHNet has an extendable expansion module that is built upon intermediate full orbital matrices, enabling its capability to effectively handle different molecules. This flexibility allows QHNet to accommodate various molecules in the QH9 benchmark.
65
+
Equivariant quantum tensor network [QHNet](https://arxiv.org/abs/2306.04922) is selected as the main baseline method in the QH9 benchmark currently. QHNet has an extendable expansion module that is built upon intermediate full orbital matrices, enabling its capability to effectively handle different molecules. This flexibility allows QHNet to accommodate various molecules in the QH9 benchmark.
66
66
67
67
* Train the QHNet model
68
+
68
69
```shell script
69
70
### Modify the configurations in config/config.yaml (or pass the configurations as args) as needed, and then run
**Trained models**: our trained QHNet models on the defined tasks are available via [this Google Drive link](https://drive.google.com/drive/folders/10ebqIWLrZ672A9bFg9wLe48F-nsz7za3?usp=share_link).
78
+
76
79
* Evaluate the trained model (in terms of MAE on Hamiltonian matrix, MAE on occupied orbital energies, and cosine similarity of orbital coefficients)
77
80
```shell script
78
81
### Modify the configurations in config/config.yaml (or pass the configurations as args) as needed (including the trained_model arg), and then run
0 commit comments