Koulb commited on
Commit
dc5f9ed
·
verified ·
1 Parent(s): 95ecd5c

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/aohamiltonian/info.json +1 -0
  2. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/calc.py +11 -0
  3. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/diag_compare.py +76 -0
  4. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/eig_report.txt +28 -0
  5. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/meta.release.json +10 -0
  6. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/nscf.in +85 -0
  7. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/pw2bgw.in +7 -0
  8. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/scf.in +82 -0
  9. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/aohamiltonian/info.json +1 -0
  10. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/calc.py +11 -0
  11. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/diag_compare.py +76 -0
  12. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/eig_report.txt +28 -0
  13. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/meta.release.json +10 -0
  14. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/nscf.in +85 -0
  15. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/pw2bgw.in +7 -0
  16. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/scf.in +82 -0
  17. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/aohamiltonian/info.json +1 -0
  18. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/calc.py +11 -0
  19. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/diag_compare.py +91 -0
  20. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/eig_report.txt +15 -0
  21. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/meta.release.json +10 -0
  22. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/nscf.in +281 -0
  23. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/pw2bgw.in +7 -0
  24. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/scf.in +278 -0
  25. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/aohamiltonian/info.json +1 -0
  26. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/calc.py +11 -0
  27. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/diag_compare.py +91 -0
  28. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/meta.release.json +10 -0
  29. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/pw2bgw.in +7 -0
  30. releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/scf.in +279 -0
  31. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/calc.py +11 -0
  32. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/meta.json +17 -0
  33. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/meta.release.json +8 -0
  34. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/nscf.in +90 -0
  35. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/pw2bgw.in +7 -0
  36. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/scf.in +87 -0
  37. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/calc.py +11 -0
  38. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/meta.json +17 -0
  39. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/meta.release.json +8 -0
  40. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/nscf.in +90 -0
  41. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/pw2bgw.in +7 -0
  42. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/scf.in +87 -0
  43. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/calc.py +11 -0
  44. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/meta.json +17 -0
  45. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/meta.release.json +8 -0
  46. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/nscf.in +90 -0
  47. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/pw2bgw.in +7 -0
  48. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/scf.in +87 -0
  49. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-205/calc.py +11 -0
  50. releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-205/meta.json +17 -0
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/aohamiltonian/info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"isspinful": false, "fermi_level": 0.0}
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/calc.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from HPRO import PW2AOkernel
2
+
3
+ kernel = PW2AOkernel(
4
+ lcao_interface='siesta',
5
+ lcaodata_root='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/aobasis',
6
+ hrdata_interface='qe-bgw',
7
+ vscdir='./VSC',
8
+ upfdir='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/pseudos',
9
+ ecutwfn=30,
10
+ )
11
+ kernel.run_pw2ao_rs('./aohamiltonian')
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/diag_compare.py ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Dense diagonalize H(k) and S(k) at NSCF k-points, compare to QE nscf.out.
3
+
4
+ Argv: nscf.out path.
5
+ """
6
+ from __future__ import annotations
7
+ import os, sys, re
8
+ from pathlib import Path
9
+ for n in ("OMP_NUM_THREADS","MKL_NUM_THREADS","OPENBLAS_NUM_THREADS"):
10
+ os.environ.setdefault(n, "32")
11
+ import numpy as np
12
+ from scipy.linalg import eigh
13
+ from HPRO.constants import hartree2ev
14
+ from HPRO.deephio import load_deeph_HS
15
+
16
+
17
+ def parse_nscf_kpts_and_bands(nscf_out_path: Path, nscf_in_path: Path):
18
+ # Extract K_POINTS crystal block from the .in file.
19
+ lines = nscf_in_path.read_text().splitlines()
20
+ kpts = []
21
+ for i, ln in enumerate(lines):
22
+ if ln.strip().lower().startswith("k_points crystal"):
23
+ nk = int(lines[i+1].strip())
24
+ for j in range(nk):
25
+ parts = lines[i+2+j].split()
26
+ kpts.append([float(parts[0]), float(parts[1]), float(parts[2])])
27
+ break
28
+ # Parse band blocks from nscf.out.
29
+ txt = nscf_out_path.read_text()
30
+ blocks = []
31
+ cur = []
32
+ cap = False
33
+ for ln in txt.splitlines():
34
+ s = ln.strip()
35
+ if "bands (ev):" in ln and ln.lstrip().startswith("k ="):
36
+ if cur: blocks.append(cur); cur = []
37
+ cap = True; continue
38
+ if not cap: continue
39
+ if not s:
40
+ if cur: blocks.append(cur); cur = []
41
+ cap = False; continue
42
+ if s.startswith(("highest occupied","Writing all","End of")):
43
+ if cur: blocks.append(cur); cur = []
44
+ cap = False; continue
45
+ cur.extend(float(t) for t in s.split())
46
+ if cur: blocks.append(cur)
47
+ return np.array(kpts, float), [np.array(b, float) for b in blocks]
48
+
49
+
50
+ def main() -> int:
51
+ nscf_out = Path(sys.argv[1])
52
+ nscf_in = nscf_out.parent / "nscf.in"
53
+ kpts, qe_bands = parse_nscf_kpts_and_bands(nscf_out, nscf_in)
54
+ print(f"k-points: {len(kpts)}")
55
+ for k, b in zip(kpts, qe_bands):
56
+ print(f" k={k.tolist()} nbnd={len(b)} range=[{b.min():.3f},{b.max():.3f}] eV")
57
+
58
+ H = load_deeph_HS(".", "hamiltonians.h5", energy_unit=True)
59
+ S = load_deeph_HS(".", "overlaps.h5", energy_unit=False)
60
+ for k, qe in zip(kpts, qe_bands):
61
+ hk = H.r2k(k).toarray()
62
+ sk = S.r2k(k).toarray()
63
+ w = np.sort(np.real(eigh(hk, sk, eigvals_only=True)) * hartree2ev)
64
+ n = min(len(w), len(qe))
65
+ dif = w[:n] - qe[:n]
66
+ print(f"k={k.tolist()} ndim={len(w)} compare n={n}")
67
+ print(f" HPRO[:10]={w[:10].round(4).tolist()}")
68
+ print(f" QE [:10]={qe[:10].round(4).tolist()}")
69
+ print(f" MAE={np.mean(np.abs(dif)):.4f} eV MAX={np.max(np.abs(dif)):.4f} eV")
70
+ # gap probes: compare HPRO VBM avg (top 3 at Γ-like low band count) vs QE
71
+ # (caller-level ZPR computed offline by diff across structures)
72
+ return 0
73
+
74
+
75
+ if __name__ == "__main__":
76
+ raise SystemExit(main())
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/eig_report.txt ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ k-points: 2
2
+ Traceback (most recent call last):
3
+ File "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/sc3/ZG/diag_compare.py", line 76, in <module>
4
+ raise SystemExit(main())
5
+ ^^^^^^
6
+ File "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/sc3/ZG/diag_compare.py", line 58, in main
7
+ H = load_deeph_HS(".", "hamiltonians.h5", energy_unit=True)
8
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/HPRO/deephio.py", line 122, in load_deeph_HS
10
+ stru = Structure.from_deeph(folder)
11
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/HPRO/structure.py", line 97, in from_deeph
13
+ rprim = np.loadtxt(f'{deephsave}/lat.dat').T / bohr2ang
14
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/numpy/lib/npyio.py", line 1373, in loadtxt
16
+ arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
17
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/numpy/lib/npyio.py", line 992, in _read
19
+ fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
20
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/numpy/lib/_datasource.py", line 193, in open
22
+ return ds.open(path, mode, encoding=encoding, newline=newline)
23
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/numpy/lib/_datasource.py", line 533, in open
25
+ raise FileNotFoundError(f"{path} not found.")
26
+ FileNotFoundError: ./lat.dat not found.
27
+ srun: error: nid001264: task 0: Exited with exit code 1
28
+ srun: Terminating StepId=7040026.4
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/meta.release.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "zg_endpoints",
3
+ "endpoint": "ZG",
4
+ "frame_id": "sc3/ZG",
5
+ "has_aohamiltonian": true,
6
+ "has_ki_hamiltonian": false,
7
+ "has_overlap": true,
8
+ "source_path": "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/sc3/ZG",
9
+ "supercell": "sc3"
10
+ }
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/nscf.in ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &control
2
+ calculation = 'nscf'
3
+ restart_mode = 'from_scratch'
4
+ prefix = 'ZG-diam'
5
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
6
+ outdir = './tmp'
7
+ /
8
+ &system
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ nbnd = 120
14
+ /
15
+ &electrons
16
+ diagonalization = 'david'
17
+ mixing_mode= 'plain'
18
+ mixing_beta = 0.70
19
+ conv_thr = 1.0D-14
20
+ /
21
+ ATOMIC_SPECIES
22
+ C 12.011 C-PBE-NLCC.upf
23
+ K_POINTS crystal
24
+ 2
25
+ 0.00000000 0.00000000 0.00000000 1
26
+ 0.00000000 1.08000000 1.08000000 1
27
+ CELL_PARAMETERS {angstrom}
28
+ -5.32098375 0.00000000 5.32098375
29
+ 0.00000000 5.32098375 5.32098375
30
+ -5.32098375 5.32098375 0.00000000
31
+ ATOMIC_POSITIONS {angstrom}
32
+ C -0.01395813 -0.02222209 -0.01142221
33
+ C 0.93256644 0.89348833 0.92382238
34
+ C -1.78970222 0.06819235 1.78635886
35
+ C -0.85645101 0.89246644 2.62446616
36
+ C -3.52114736 0.01322746 3.47143867
37
+ C -2.64982092 0.90769630 4.48479508
38
+ C -0.01402511 1.77808813 1.73578104
39
+ C 0.95097411 2.64122209 2.62476265
40
+ C -1.66901618 1.79720089 3.60936751
41
+ C -0.84902458 2.64136733 4.47063076
42
+ C -3.56003358 1.77399453 5.34890203
43
+ C -2.64521787 2.64611260 6.22662773
44
+ C -0.00754382 3.56546513 3.62380048
45
+ C 0.92417455 4.45776075 4.47570186
46
+ C -1.71059711 3.53150101 5.29735649
47
+ C -0.96218035 4.48474316 6.26561930
48
+ C -3.55688587 3.53034216 7.03612647
49
+ C -2.69837677 4.41419096 8.00954391
50
+ C -1.81605555 1.79652515 -0.01157120
51
+ C -0.95527691 2.66245465 0.84312272
52
+ C -3.55385630 1.74395771 1.83193256
53
+ C -2.70216185 2.58371976 2.66933853
54
+ C -5.34437724 1.65300447 3.56469758
55
+ C -4.44641906 2.64263379 4.44485762
56
+ C -1.82461750 3.52811702 1.79856894
57
+ C -0.89846086 4.35499024 2.63867036
58
+ C -3.53702136 3.60072881 3.54951889
59
+ C -2.60090387 4.43533999 4.37603392
60
+ C -5.36366684 3.53134600 5.30599520
61
+ C -4.38362138 4.49488461 6.18594605
62
+ C -1.76592471 5.28253599 3.52099686
63
+ C -0.88037225 6.15032568 4.38692862
64
+ C -3.59717099 5.35516885 5.32091277
65
+ C -2.73192851 6.27507748 6.22632974
66
+ C -5.30408912 5.32545562 7.08679760
67
+ C -4.45916190 6.22489623 7.93699533
68
+ C -3.54205182 3.55877615 0.03300769
69
+ C -2.66358942 4.45227502 0.88452981
70
+ C -5.35419963 3.53546368 1.70234368
71
+ C -4.39765627 4.48298682 2.64103698
72
+ C -7.14203641 3.53671133 3.53845713
73
+ C -6.18300527 4.41348436 4.40720926
74
+ C -3.51273214 5.27725344 1.77705419
75
+ C -2.65953194 6.26293814 2.66292271
76
+ C -5.25794578 5.37223105 3.52306247
77
+ C -4.44348957 6.23763757 4.41669528
78
+ C -7.14328029 5.26835587 5.28414484
79
+ C -6.21420019 6.15325968 6.17377510
80
+ C -3.52147545 7.14601488 3.57013590
81
+ C -2.65135376 7.94760182 4.52660928
82
+ C -5.27875468 7.11983915 5.37350579
83
+ C -4.45178589 7.99203472 6.25804162
84
+ C -7.07552138 7.11041332 7.11041859
85
+ C -6.25699038 7.97652117 7.93709691
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/pw2bgw.in ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ &input_pw2bgw
2
+ prefix = 'ZG-diam'
3
+ outdir = './tmp'
4
+ real_or_complex = 2
5
+ vscg_flag = .true.
6
+ vscg_file = 'VSC'
7
+ /
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/ZG/scf.in ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &control
2
+ calculation = 'scf'
3
+ restart_mode = 'from_scratch'
4
+ prefix = 'ZG-diam'
5
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
6
+ outdir = './tmp'
7
+ /
8
+ &system
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ /
14
+ &electrons
15
+ diagonalization = 'david'
16
+ mixing_mode= 'plain'
17
+ mixing_beta = 0.70
18
+ conv_thr = 1.0D-14
19
+ /
20
+ ATOMIC_SPECIES
21
+ C 12.011 C-PBE-NLCC.upf
22
+ K_POINTS automatic
23
+ 3 3 3 0 0 0
24
+ CELL_PARAMETERS {angstrom}
25
+ -5.32098375 0.00000000 5.32098375
26
+ 0.00000000 5.32098375 5.32098375
27
+ -5.32098375 5.32098375 0.00000000
28
+ ATOMIC_POSITIONS {angstrom}
29
+ C -0.01395813 -0.02222209 -0.01142221
30
+ C 0.93256644 0.89348833 0.92382238
31
+ C -1.78970222 0.06819235 1.78635886
32
+ C -0.85645101 0.89246644 2.62446616
33
+ C -3.52114736 0.01322746 3.47143867
34
+ C -2.64982092 0.90769630 4.48479508
35
+ C -0.01402511 1.77808813 1.73578104
36
+ C 0.95097411 2.64122209 2.62476265
37
+ C -1.66901618 1.79720089 3.60936751
38
+ C -0.84902458 2.64136733 4.47063076
39
+ C -3.56003358 1.77399453 5.34890203
40
+ C -2.64521787 2.64611260 6.22662773
41
+ C -0.00754382 3.56546513 3.62380048
42
+ C 0.92417455 4.45776075 4.47570186
43
+ C -1.71059711 3.53150101 5.29735649
44
+ C -0.96218035 4.48474316 6.26561930
45
+ C -3.55688587 3.53034216 7.03612647
46
+ C -2.69837677 4.41419096 8.00954391
47
+ C -1.81605555 1.79652515 -0.01157120
48
+ C -0.95527691 2.66245465 0.84312272
49
+ C -3.55385630 1.74395771 1.83193256
50
+ C -2.70216185 2.58371976 2.66933853
51
+ C -5.34437724 1.65300447 3.56469758
52
+ C -4.44641906 2.64263379 4.44485762
53
+ C -1.82461750 3.52811702 1.79856894
54
+ C -0.89846086 4.35499024 2.63867036
55
+ C -3.53702136 3.60072881 3.54951889
56
+ C -2.60090387 4.43533999 4.37603392
57
+ C -5.36366684 3.53134600 5.30599520
58
+ C -4.38362138 4.49488461 6.18594605
59
+ C -1.76592471 5.28253599 3.52099686
60
+ C -0.88037225 6.15032568 4.38692862
61
+ C -3.59717099 5.35516885 5.32091277
62
+ C -2.73192851 6.27507748 6.22632974
63
+ C -5.30408912 5.32545562 7.08679760
64
+ C -4.45916190 6.22489623 7.93699533
65
+ C -3.54205182 3.55877615 0.03300769
66
+ C -2.66358942 4.45227502 0.88452981
67
+ C -5.35419963 3.53546368 1.70234368
68
+ C -4.39765627 4.48298682 2.64103698
69
+ C -7.14203641 3.53671133 3.53845713
70
+ C -6.18300527 4.41348436 4.40720926
71
+ C -3.51273214 5.27725344 1.77705419
72
+ C -2.65953194 6.26293814 2.66292271
73
+ C -5.25794578 5.37223105 3.52306247
74
+ C -4.44348957 6.23763757 4.41669528
75
+ C -7.14328029 5.26835587 5.28414484
76
+ C -6.21420019 6.15325968 6.17377510
77
+ C -3.52147545 7.14601488 3.57013590
78
+ C -2.65135376 7.94760182 4.52660928
79
+ C -5.27875468 7.11983915 5.37350579
80
+ C -4.45178589 7.99203472 6.25804162
81
+ C -7.07552138 7.11041332 7.11041859
82
+ C -6.25699038 7.97652117 7.93709691
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/aohamiltonian/info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"isspinful": false, "fermi_level": 0.0}
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/calc.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from HPRO import PW2AOkernel
2
+
3
+ kernel = PW2AOkernel(
4
+ lcao_interface='siesta',
5
+ lcaodata_root='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/aobasis',
6
+ hrdata_interface='qe-bgw',
7
+ vscdir='./VSC',
8
+ upfdir='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/pseudos',
9
+ ecutwfn=30,
10
+ )
11
+ kernel.run_pw2ao_rs('./aohamiltonian')
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/diag_compare.py ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Dense diagonalize H(k) and S(k) at NSCF k-points, compare to QE nscf.out.
3
+
4
+ Argv: nscf.out path.
5
+ """
6
+ from __future__ import annotations
7
+ import os, sys, re
8
+ from pathlib import Path
9
+ for n in ("OMP_NUM_THREADS","MKL_NUM_THREADS","OPENBLAS_NUM_THREADS"):
10
+ os.environ.setdefault(n, "32")
11
+ import numpy as np
12
+ from scipy.linalg import eigh
13
+ from HPRO.constants import hartree2ev
14
+ from HPRO.deephio import load_deeph_HS
15
+
16
+
17
+ def parse_nscf_kpts_and_bands(nscf_out_path: Path, nscf_in_path: Path):
18
+ # Extract K_POINTS crystal block from the .in file.
19
+ lines = nscf_in_path.read_text().splitlines()
20
+ kpts = []
21
+ for i, ln in enumerate(lines):
22
+ if ln.strip().lower().startswith("k_points crystal"):
23
+ nk = int(lines[i+1].strip())
24
+ for j in range(nk):
25
+ parts = lines[i+2+j].split()
26
+ kpts.append([float(parts[0]), float(parts[1]), float(parts[2])])
27
+ break
28
+ # Parse band blocks from nscf.out.
29
+ txt = nscf_out_path.read_text()
30
+ blocks = []
31
+ cur = []
32
+ cap = False
33
+ for ln in txt.splitlines():
34
+ s = ln.strip()
35
+ if "bands (ev):" in ln and ln.lstrip().startswith("k ="):
36
+ if cur: blocks.append(cur); cur = []
37
+ cap = True; continue
38
+ if not cap: continue
39
+ if not s:
40
+ if cur: blocks.append(cur); cur = []
41
+ cap = False; continue
42
+ if s.startswith(("highest occupied","Writing all","End of")):
43
+ if cur: blocks.append(cur); cur = []
44
+ cap = False; continue
45
+ cur.extend(float(t) for t in s.split())
46
+ if cur: blocks.append(cur)
47
+ return np.array(kpts, float), [np.array(b, float) for b in blocks]
48
+
49
+
50
+ def main() -> int:
51
+ nscf_out = Path(sys.argv[1])
52
+ nscf_in = nscf_out.parent / "nscf.in"
53
+ kpts, qe_bands = parse_nscf_kpts_and_bands(nscf_out, nscf_in)
54
+ print(f"k-points: {len(kpts)}")
55
+ for k, b in zip(kpts, qe_bands):
56
+ print(f" k={k.tolist()} nbnd={len(b)} range=[{b.min():.3f},{b.max():.3f}] eV")
57
+
58
+ H = load_deeph_HS(".", "hamiltonians.h5", energy_unit=True)
59
+ S = load_deeph_HS(".", "overlaps.h5", energy_unit=False)
60
+ for k, qe in zip(kpts, qe_bands):
61
+ hk = H.r2k(k).toarray()
62
+ sk = S.r2k(k).toarray()
63
+ w = np.sort(np.real(eigh(hk, sk, eigvals_only=True)) * hartree2ev)
64
+ n = min(len(w), len(qe))
65
+ dif = w[:n] - qe[:n]
66
+ print(f"k={k.tolist()} ndim={len(w)} compare n={n}")
67
+ print(f" HPRO[:10]={w[:10].round(4).tolist()}")
68
+ print(f" QE [:10]={qe[:10].round(4).tolist()}")
69
+ print(f" MAE={np.mean(np.abs(dif)):.4f} eV MAX={np.max(np.abs(dif)):.4f} eV")
70
+ # gap probes: compare HPRO VBM avg (top 3 at Γ-like low band count) vs QE
71
+ # (caller-level ZPR computed offline by diff across structures)
72
+ return 0
73
+
74
+
75
+ if __name__ == "__main__":
76
+ raise SystemExit(main())
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/eig_report.txt ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ k-points: 2
2
+ Traceback (most recent call last):
3
+ File "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/sc3/equil/diag_compare.py", line 76, in <module>
4
+ raise SystemExit(main())
5
+ ^^^^^^
6
+ File "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/sc3/equil/diag_compare.py", line 58, in main
7
+ H = load_deeph_HS(".", "hamiltonians.h5", energy_unit=True)
8
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/HPRO/deephio.py", line 122, in load_deeph_HS
10
+ stru = Structure.from_deeph(folder)
11
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/HPRO/structure.py", line 97, in from_deeph
13
+ rprim = np.loadtxt(f'{deephsave}/lat.dat').T / bohr2ang
14
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/numpy/lib/npyio.py", line 1373, in loadtxt
16
+ arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
17
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/numpy/lib/npyio.py", line 992, in _read
19
+ fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
20
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/numpy/lib/_datasource.py", line 193, in open
22
+ return ds.open(path, mode, encoding=encoding, newline=newline)
23
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
+ File "/capstor/scratch/cscs/apoliukh/soft/miniforge3/envs/epc_ml/lib/python3.11/site-packages/numpy/lib/_datasource.py", line 533, in open
25
+ raise FileNotFoundError(f"{path} not found.")
26
+ FileNotFoundError: ./lat.dat not found.
27
+ srun: error: nid001869: task 0: Exited with exit code 1
28
+ srun: Terminating StepId=7040025.4
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/meta.release.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "zg_endpoints",
3
+ "endpoint": "equil",
4
+ "frame_id": "sc3/equil",
5
+ "has_aohamiltonian": true,
6
+ "has_ki_hamiltonian": false,
7
+ "has_overlap": true,
8
+ "source_path": "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/sc3/equil",
9
+ "supercell": "sc3"
10
+ }
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/nscf.in ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &control
2
+ calculation = 'nscf'
3
+ restart_mode = 'from_scratch'
4
+ prefix = 'equil-diam'
5
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
6
+ outdir = './tmp'
7
+ /
8
+ &system
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ nbnd = 120
14
+ /
15
+ &electrons
16
+ diagonalization = 'david'
17
+ mixing_mode= 'plain'
18
+ mixing_beta = 0.70
19
+ conv_thr = 1.0D-14
20
+ /
21
+ ATOMIC_SPECIES
22
+ C 12.011 C-PBE-NLCC.upf
23
+ K_POINTS crystal
24
+ 2
25
+ 0.00000000 0.00000000 0.00000000 1
26
+ 0.00000000 1.08000000 1.08000000 1
27
+ CELL_PARAMETERS {angstrom}
28
+ -5.32098375 0.00000000 5.32098375
29
+ 0.00000000 5.32098375 5.32098375
30
+ -5.32098375 5.32098375 0.00000000
31
+ ATOMIC_POSITIONS {angstrom}
32
+ C 0.00000000 0.00000000 0.00000000
33
+ C 0.88683062 0.88683062 0.88683062
34
+ C -1.77366125 0.00000000 1.77366125
35
+ C -0.88683062 0.88683062 2.66049187
36
+ C -3.54732250 0.00000000 3.54732250
37
+ C -2.66049187 0.88683062 4.43415312
38
+ C 0.00000000 1.77366125 1.77366125
39
+ C 0.88683062 2.66049187 2.66049187
40
+ C -1.77366125 1.77366125 3.54732250
41
+ C -0.88683062 2.66049187 4.43415312
42
+ C -3.54732250 1.77366125 5.32098375
43
+ C -2.66049187 2.66049187 6.20781437
44
+ C 0.00000000 3.54732250 3.54732250
45
+ C 0.88683062 4.43415312 4.43415312
46
+ C -1.77366125 3.54732250 5.32098375
47
+ C -0.88683062 4.43415312 6.20781437
48
+ C -3.54732250 3.54732250 7.09464500
49
+ C -2.66049187 4.43415312 7.98147562
50
+ C -1.77366125 1.77366125 0.00000000
51
+ C -0.88683062 2.66049187 0.88683062
52
+ C -3.54732250 1.77366125 1.77366125
53
+ C -2.66049187 2.66049187 2.66049187
54
+ C -5.32098375 1.77366125 3.54732250
55
+ C -4.43415312 2.66049187 4.43415312
56
+ C -1.77366125 3.54732250 1.77366125
57
+ C -0.88683062 4.43415312 2.66049187
58
+ C -3.54732250 3.54732250 3.54732250
59
+ C -2.66049187 4.43415312 4.43415312
60
+ C -5.32098375 3.54732250 5.32098375
61
+ C -4.43415312 4.43415312 6.20781437
62
+ C -1.77366125 5.32098375 3.54732250
63
+ C -0.88683062 6.20781437 4.43415312
64
+ C -3.54732250 5.32098375 5.32098375
65
+ C -2.66049187 6.20781437 6.20781437
66
+ C -5.32098375 5.32098375 7.09464500
67
+ C -4.43415312 6.20781437 7.98147562
68
+ C -3.54732250 3.54732250 0.00000000
69
+ C -2.66049187 4.43415312 0.88683062
70
+ C -5.32098375 3.54732250 1.77366125
71
+ C -4.43415312 4.43415312 2.66049187
72
+ C -7.09464500 3.54732250 3.54732250
73
+ C -6.20781437 4.43415312 4.43415312
74
+ C -3.54732250 5.32098375 1.77366125
75
+ C -2.66049187 6.20781437 2.66049187
76
+ C -5.32098375 5.32098375 3.54732250
77
+ C -4.43415312 6.20781437 4.43415312
78
+ C -7.09464500 5.32098375 5.32098375
79
+ C -6.20781437 6.20781437 6.20781437
80
+ C -3.54732250 7.09464500 3.54732250
81
+ C -2.66049187 7.98147562 4.43415312
82
+ C -5.32098375 7.09464500 5.32098375
83
+ C -4.43415312 7.98147562 6.20781437
84
+ C -7.09464500 7.09464500 7.09464500
85
+ C -6.20781437 7.98147562 7.98147562
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/pw2bgw.in ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ &input_pw2bgw
2
+ prefix = 'equil-diam'
3
+ outdir = './tmp'
4
+ real_or_complex = 2
5
+ vscg_flag = .true.
6
+ vscg_file = 'VSC'
7
+ /
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc3/equil/scf.in ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &control
2
+ calculation = 'scf'
3
+ restart_mode = 'from_scratch'
4
+ prefix = 'equil-diam'
5
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
6
+ outdir = './tmp'
7
+ /
8
+ &system
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ /
14
+ &electrons
15
+ diagonalization = 'david'
16
+ mixing_mode= 'plain'
17
+ mixing_beta = 0.70
18
+ conv_thr = 1.0D-14
19
+ /
20
+ ATOMIC_SPECIES
21
+ C 12.011 C-PBE-NLCC.upf
22
+ K_POINTS automatic
23
+ 3 3 3 0 0 0
24
+ CELL_PARAMETERS {angstrom}
25
+ -5.32098375 0.00000000 5.32098375
26
+ 0.00000000 5.32098375 5.32098375
27
+ -5.32098375 5.32098375 0.00000000
28
+ ATOMIC_POSITIONS {angstrom}
29
+ C 0.00000000 0.00000000 0.00000000
30
+ C 0.88683062 0.88683062 0.88683062
31
+ C -1.77366125 0.00000000 1.77366125
32
+ C -0.88683062 0.88683062 2.66049187
33
+ C -3.54732250 0.00000000 3.54732250
34
+ C -2.66049187 0.88683062 4.43415312
35
+ C 0.00000000 1.77366125 1.77366125
36
+ C 0.88683062 2.66049187 2.66049187
37
+ C -1.77366125 1.77366125 3.54732250
38
+ C -0.88683062 2.66049187 4.43415312
39
+ C -3.54732250 1.77366125 5.32098375
40
+ C -2.66049187 2.66049187 6.20781437
41
+ C 0.00000000 3.54732250 3.54732250
42
+ C 0.88683062 4.43415312 4.43415312
43
+ C -1.77366125 3.54732250 5.32098375
44
+ C -0.88683062 4.43415312 6.20781437
45
+ C -3.54732250 3.54732250 7.09464500
46
+ C -2.66049187 4.43415312 7.98147562
47
+ C -1.77366125 1.77366125 0.00000000
48
+ C -0.88683062 2.66049187 0.88683062
49
+ C -3.54732250 1.77366125 1.77366125
50
+ C -2.66049187 2.66049187 2.66049187
51
+ C -5.32098375 1.77366125 3.54732250
52
+ C -4.43415312 2.66049187 4.43415312
53
+ C -1.77366125 3.54732250 1.77366125
54
+ C -0.88683062 4.43415312 2.66049187
55
+ C -3.54732250 3.54732250 3.54732250
56
+ C -2.66049187 4.43415312 4.43415312
57
+ C -5.32098375 3.54732250 5.32098375
58
+ C -4.43415312 4.43415312 6.20781437
59
+ C -1.77366125 5.32098375 3.54732250
60
+ C -0.88683062 6.20781437 4.43415312
61
+ C -3.54732250 5.32098375 5.32098375
62
+ C -2.66049187 6.20781437 6.20781437
63
+ C -5.32098375 5.32098375 7.09464500
64
+ C -4.43415312 6.20781437 7.98147562
65
+ C -3.54732250 3.54732250 0.00000000
66
+ C -2.66049187 4.43415312 0.88683062
67
+ C -5.32098375 3.54732250 1.77366125
68
+ C -4.43415312 4.43415312 2.66049187
69
+ C -7.09464500 3.54732250 3.54732250
70
+ C -6.20781437 4.43415312 4.43415312
71
+ C -3.54732250 5.32098375 1.77366125
72
+ C -2.66049187 6.20781437 2.66049187
73
+ C -5.32098375 5.32098375 3.54732250
74
+ C -4.43415312 6.20781437 4.43415312
75
+ C -7.09464500 5.32098375 5.32098375
76
+ C -6.20781437 6.20781437 6.20781437
77
+ C -3.54732250 7.09464500 3.54732250
78
+ C -2.66049187 7.98147562 4.43415312
79
+ C -5.32098375 7.09464500 5.32098375
80
+ C -4.43415312 7.98147562 6.20781437
81
+ C -7.09464500 7.09464500 7.09464500
82
+ C -6.20781437 7.98147562 7.98147562
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/aohamiltonian/info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"isspinful": false, "fermi_level": 0.0}
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/calc.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from HPRO import PW2AOkernel
2
+
3
+ kernel = PW2AOkernel(
4
+ lcao_interface='siesta',
5
+ lcaodata_root='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/aobasis',
6
+ hrdata_interface='qe-bgw',
7
+ vscdir='./VSC',
8
+ upfdir='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/pseudos',
9
+ ecutwfn=30,
10
+ )
11
+ kernel.run_pw2ao_rs('./aohamiltonian')
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/diag_compare.py ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Dense diagonalize H(k) and S(k) at NSCF k-points, compare to QE nscf.out.
3
+
4
+ Argv: nscf.out path.
5
+ """
6
+ from __future__ import annotations
7
+ import os, sys, re
8
+ from pathlib import Path
9
+ for n in ("OMP_NUM_THREADS","MKL_NUM_THREADS","OPENBLAS_NUM_THREADS"):
10
+ os.environ.setdefault(n, "32")
11
+ import numpy as np
12
+ from scipy.linalg import eigh
13
+ from HPRO.constants import hartree2ev
14
+ from HPRO.deephio import load_deeph_HS
15
+
16
+
17
+ def parse_nscf_kpts_and_bands(nscf_out_path: Path, nscf_in_path: Path):
18
+ # Extract K_POINTS crystal block from the .in file.
19
+ lines = nscf_in_path.read_text().splitlines()
20
+ kpts = []
21
+ for i, ln in enumerate(lines):
22
+ if ln.strip().lower().startswith("k_points crystal"):
23
+ nk = int(lines[i+1].strip())
24
+ for j in range(nk):
25
+ parts = lines[i+2+j].split()
26
+ kpts.append([float(parts[0]), float(parts[1]), float(parts[2])])
27
+ break
28
+ # Parse band blocks from nscf.out.
29
+ txt = nscf_out_path.read_text()
30
+ blocks = []
31
+ cur = []
32
+ cap = False
33
+ for ln in txt.splitlines():
34
+ s = ln.strip()
35
+ if "bands (ev):" in ln and ln.lstrip().startswith("k ="):
36
+ if cur: blocks.append(cur); cur = []
37
+ cap = True; continue
38
+ if not cap: continue
39
+ if not s:
40
+ if cur:
41
+ blocks.append(cur); cur = []; cap = False
42
+ continue
43
+ if s.startswith(("highest occupied","Writing all","End of")):
44
+ if cur: blocks.append(cur); cur = []
45
+ cap = False; continue
46
+ cur.extend(float(t) for t in s.split())
47
+ if cur: blocks.append(cur)
48
+ return np.array(kpts, float), [np.array(b, float) for b in blocks]
49
+
50
+
51
+ def main() -> int:
52
+ nscf_out = Path(sys.argv[1])
53
+ nscf_in = nscf_out.parent / "nscf.in"
54
+ kpts, qe_bands = parse_nscf_kpts_and_bands(nscf_out, nscf_in)
55
+ print(f"k-points: {len(kpts)}")
56
+ for k, b in zip(kpts, qe_bands):
57
+ print(f" k={k.tolist()} nbnd={len(b)} range=[{b.min():.3f},{b.max():.3f}] eV")
58
+
59
+ H = load_deeph_HS(".", "hamiltonians.h5", energy_unit=True)
60
+ S = load_deeph_HS(".", "overlaps.h5", energy_unit=False)
61
+ hpro_eigs = []
62
+ for k, qe in zip(kpts, qe_bands):
63
+ hk = H.r2k(k).toarray()
64
+ sk = S.r2k(k).toarray()
65
+ w = np.sort(np.real(eigh(hk, sk, eigvals_only=True)) * hartree2ev)
66
+ hpro_eigs.append(w)
67
+ n = min(len(w), len(qe))
68
+ dif = w[:n] - qe[:n]
69
+ print(f"k={k.tolist()} ndim={len(w)} compare n={n}")
70
+ print(f" HPRO[:10]={w[:10].round(4).tolist()}")
71
+ print(f" QE [:10]={qe[:10].round(4).tolist()}")
72
+ print(f" MAE={np.mean(np.abs(dif)):.4f} eV MAX={np.max(np.abs(dif)):.4f} eV")
73
+ # Gap calc: paper ZG convention. n_occ = 4 * natoms/2 (diamond, 4 valence/atom).
74
+ # natoms inferred from H dim and orbital count (13 AO per C atom).
75
+ natoms = hpro_eigs[0].shape[0] // 13
76
+ n_occ = 2 * natoms # diamond: 4 valence e/atom, spinless -> 2 occ bands/atom
77
+ print(f"\nGAP CALC: natoms={natoms} n_occ={n_occ}")
78
+ for label, src in [("HPRO", hpro_eigs), ("QE", qe_bands)]:
79
+ gamma, off = src[0], src[1]
80
+ if len(gamma) < n_occ or len(off) <= n_occ:
81
+ print(f" {label}: insufficient bands ({len(gamma)},{len(off)}) vs n_occ={n_occ}")
82
+ continue
83
+ vbm_states = np.sort(gamma)[n_occ - 3:n_occ]
84
+ vbm_avg = float(np.mean(vbm_states))
85
+ cbm = float(np.sort(off)[n_occ])
86
+ print(f" {label}: VBM_avg(top3 Γ)={vbm_avg:.4f} CBM(Q)={cbm:.4f} gap={cbm-vbm_avg:.4f} eV")
87
+ return 0
88
+
89
+
90
+ if __name__ == "__main__":
91
+ raise SystemExit(main())
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/eig_report.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ k-points: 2
2
+ k=[0.0, 0.0, 0.0] nbnd=684 range=[-8.111,23.019] eV
3
+ k=[0.0, 1.08, 1.08] nbnd=684 range=[-8.101,23.100] eV
4
+ k=[0.0, 0.0, 0.0] ndim=3250 compare n=684
5
+ HPRO[:10]=[-7.9985, -7.1021, -7.0305, -6.9664, -6.9202, -6.886, -6.8697, -6.8375, -6.812, -6.6671]
6
+ QE [:10]=[-8.1107, -7.1858, -7.1137, -7.0493, -7.0028, -6.9684, -6.9524, -6.9199, -6.8947, -6.7512]
7
+ MAE=0.0587 eV MAX=0.1122 eV
8
+ k=[0.0, 1.08, 1.08] ndim=3250 compare n=684
9
+ HPRO[:10]=[-7.9901, -7.145, -7.0839, -7.0104, -6.9746, -6.86, -6.8203, -6.7735, -6.7547, -6.7015]
10
+ QE [:10]=[-8.1014, -7.2298, -7.1684, -7.0947, -7.0588, -6.9425, -6.9016, -6.8567, -6.8357, -6.7835]
11
+ MAE=0.0586 eV MAX=0.1113 eV
12
+
13
+ GAP CALC: natoms=250 n_occ=500
14
+ HPRO: VBM_avg(top3 Γ)=13.7859 CBM(Q)=17.5510 gap=3.7651 eV
15
+ QE: VBM_avg(top3 Γ)=13.7527 CBM(Q)=17.5235 gap=3.7708 eV
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/meta.release.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "zg_endpoints",
3
+ "endpoint": "ZG",
4
+ "frame_id": "sc5/ZG",
5
+ "has_aohamiltonian": true,
6
+ "has_ki_hamiltonian": false,
7
+ "has_overlap": true,
8
+ "source_path": "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/sc5/ZG",
9
+ "supercell": "sc5"
10
+ }
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/nscf.in ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &control
2
+ calculation = 'nscf'
3
+ restart_mode = 'from_scratch'
4
+ prefix = 'ZG-diam'
5
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
6
+ outdir = './tmp'
7
+ /
8
+ &system
9
+ ibrav = 0
10
+ nat = 250
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ nbnd = 684
14
+ /
15
+ &electrons
16
+ diagonalization = 'david'
17
+ mixing_mode= 'plain'
18
+ mixing_beta = 0.70
19
+ conv_thr = 1.0D-14
20
+ /
21
+ ATOMIC_SPECIES
22
+ C 12.011 C-PBE-NLCC.upf
23
+ K_POINTS crystal
24
+ 2
25
+ 0.00000000 0.00000000 0.00000000 1
26
+ 0.00000000 1.08000000 1.08000000 1
27
+ CELL_PARAMETERS {angstrom}
28
+ -8.86829462 0.00000000 8.86829462
29
+ 0.00000000 8.86829462 8.86829462
30
+ -8.86829462 8.86829462 0.00000000
31
+ ATOMIC_POSITIONS {angstrom}
32
+ C 0.05284177 0.02719408 0.02336260
33
+ C 0.97232971 0.84975507 0.91249848
34
+ C -1.72917868 -0.08839863 1.74569103
35
+ C -0.90385226 0.86967373 2.60034235
36
+ C -3.57138655 -0.02984037 3.47185594
37
+ C -2.71267172 0.88278979 4.44579726
38
+ C -5.32609001 0.02345290 5.31623352
39
+ C -4.42506590 0.87906116 6.17865566
40
+ C -7.15186454 -0.03043233 7.09595383
41
+ C -6.19356644 0.90302576 8.04281519
42
+ C -0.01001577 1.79317751 1.82258644
43
+ C 0.86152917 2.64237949 2.67361198
44
+ C -1.75255758 1.84720321 3.54620666
45
+ C -0.92647866 2.60491630 4.49720050
46
+ C -3.52945226 1.73264268 5.33460454
47
+ C -2.58948002 2.55987669 6.21306245
48
+ C -5.25722502 1.74137544 7.14717898
49
+ C -4.43040112 2.70191725 7.97687617
50
+ C -7.05943503 1.73465186 8.90596600
51
+ C -6.14080744 2.61164114 9.75684982
52
+ C 0.00602752 3.55750669 3.56911400
53
+ C 0.92647741 4.43514939 4.46264949
54
+ C -1.84870319 3.50474895 5.32665815
55
+ C -0.91323467 4.41930175 6.21189482
56
+ C -3.58908910 3.52422489 7.08751455
57
+ C -2.72953900 4.43827979 7.94330591
58
+ C -5.30977707 3.64399773 8.82749661
59
+ C -4.49010192 4.40531404 9.73151943
60
+ C -7.14265646 3.51203315 10.64825699
61
+ C -6.17779154 4.44439510 11.55516063
62
+ C 0.08567458 5.29471705 5.39340109
63
+ C 0.91311678 6.21445332 6.24297054
64
+ C -1.80361718 5.30095652 7.09295010
65
+ C -0.85805137 6.20069010 7.99174556
66
+ C -3.64312233 5.29603894 8.87913689
67
+ C -2.57082054 6.17156210 9.65872012
68
+ C -5.29462800 5.34445727 10.67045071
69
+ C -4.40617314 6.18160546 11.61864901
70
+ C -7.15157358 5.32049392 12.39832004
71
+ C -6.25758283 6.13486144 13.32725812
72
+ C 0.08093509 7.13572092 7.05138830
73
+ C 0.89820475 8.02413314 7.98528661
74
+ C -1.75884597 7.07882945 8.86208525
75
+ C -0.89090801 8.00810615 9.73118708
76
+ C -3.52448952 7.10443450 10.67100756
77
+ C -2.72955906 8.10562382 11.56067770
78
+ C -5.35100025 7.06864060 12.39103459
79
+ C -4.39792073 8.00198457 13.29397883
80
+ C -7.04117061 7.14914300 14.18279739
81
+ C -6.24181922 8.00079311 15.07141154
82
+ C -1.77689342 1.76372091 -0.00647651
83
+ C -0.88037678 2.64336275 0.94665694
84
+ C -3.57594419 1.79447181 1.79207635
85
+ C -2.70714837 2.68846883 2.76205826
86
+ C -5.33706647 1.75211863 3.55542227
87
+ C -4.40496413 2.63787703 4.40395578
88
+ C -7.11680434 1.70885241 5.30502128
89
+ C -6.27289995 2.63755471 6.23249073
90
+ C -8.85312173 1.78503923 7.07233036
91
+ C -7.95228699 2.66487797 7.97302839
92
+ C -1.77666641 3.49586068 1.84662002
93
+ C -0.92765005 4.44597159 2.67168433
94
+ C -3.62382322 3.59471905 3.57612479
95
+ C -2.70821567 4.49478623 4.42953951
96
+ C -5.34880170 3.54035347 5.31648812
97
+ C -4.42475612 4.44564049 6.18346915
98
+ C -7.12265753 3.54374097 7.03540646
99
+ C -6.23297233 4.46093504 8.01010028
100
+ C -8.79948732 3.59168146 8.88511550
101
+ C -7.95899302 4.45937110 9.78744143
102
+ C -1.74167393 5.31200823 3.53576698
103
+ C -0.82506556 6.20586353 4.44011714
104
+ C -3.56792379 5.31635141 5.29808072
105
+ C -2.72828734 6.24492955 6.19591674
106
+ C -5.33429225 5.30413709 7.10688639
107
+ C -4.44861788 6.24812140 7.98976774
108
+ C -7.07401094 5.42606459 8.77610842
109
+ C -6.25278063 6.20754913 9.70510168
110
+ C -8.86819931 5.30372321 10.64103299
111
+ C -7.97327671 6.26971186 11.53247778
112
+ C -1.70673538 7.09381297 5.31655208
113
+ C -0.90177034 7.90128132 6.19424494
114
+ C -3.51477475 7.13101905 7.11378054
115
+ C -2.67675868 8.02589524 8.03153773
116
+ C -5.33943684 7.06547634 8.88224095
117
+ C -4.49395723 7.94233895 9.78739628
118
+ C -7.19673860 7.19643885 10.61794004
119
+ C -6.18375008 7.98488402 11.51648341
120
+ C -8.85064475 7.03832240 12.38440757
121
+ C -7.98023859 7.98963354 13.27257021
122
+ C -1.74688123 8.86400663 7.05976738
123
+ C -0.86759056 9.75404425 7.97567719
124
+ C -3.55498206 8.85342774 8.92695949
125
+ C -2.62966350 9.73420084 9.69703865
126
+ C -5.38718795 8.84441280 10.66081620
127
+ C -4.44938668 9.71535323 11.48919527
128
+ C -7.10557830 8.90919548 12.41404100
129
+ C -6.22627383 9.72857841 13.28554080
130
+ C -8.84761719 8.81792858 14.11362262
131
+ C -8.00310956 9.78387459 14.98853500
132
+ C -3.54964558 3.57027285 0.05712224
133
+ C -2.60182729 4.40564263 0.89213835
134
+ C -5.30694642 3.55587502 1.75712149
135
+ C -4.46703154 4.48711325 2.69446123
136
+ C -7.10211554 3.52065052 3.51981148
137
+ C -6.12491716 4.46413693 4.41091640
138
+ C -8.95555949 3.58621079 5.29747998
139
+ C -7.92624800 4.37431733 6.20066752
140
+ C -10.61231636 3.57226823 7.09112780
141
+ C -9.66232208 4.40206324 8.03131073
142
+ C -3.53394342 5.35148436 1.80726806
143
+ C -2.62053819 6.21752351 2.66761832
144
+ C -5.31309685 5.36459541 3.52344104
145
+ C -4.43031458 6.21880653 4.40655943
146
+ C -7.06232462 5.31411147 5.27517589
147
+ C -6.19147073 6.24946461 6.18332868
148
+ C -8.84060766 5.31497183 7.15364546
149
+ C -7.92157373 6.21448467 7.97295063
150
+ C -10.61145349 5.38606673 8.89526797
151
+ C -9.69650563 6.27052582 9.71394982
152
+ C -3.47167911 7.13296301 3.57590781
153
+ C -2.67908140 8.05194928 4.40833282
154
+ C -5.31494925 7.15732267 5.29922201
155
+ C -4.41648615 7.97918885 6.25671369
156
+ C -7.07453518 7.10674969 7.05868002
157
+ C -6.22626254 7.94979497 8.00959485
158
+ C -8.83440455 7.12079258 8.83802784
159
+ C -7.97531222 8.02688102 9.75036954
160
+ C -10.66707198 7.07991681 10.56699958
161
+ C -9.75864202 8.00860531 11.45285581
162
+ C -3.59301589 8.90162534 5.31673268
163
+ C -2.63735530 9.71568559 6.17987220
164
+ C -5.30356143 8.88183585 7.07365350
165
+ C -4.42829788 9.72511566 7.99569367
166
+ C -7.11679305 8.87328244 8.83007768
167
+ C -6.20624229 9.76228036 9.77151478
168
+ C -8.78382279 8.89710281 10.66894696
169
+ C -7.90554674 9.74791765 11.50048527
170
+ C -10.67574705 8.97383895 12.37185714
171
+ C -9.80072430 9.79222357 13.23190890
172
+ C -3.52093020 10.66113476 7.15331687
173
+ C -2.67199787 11.47971001 8.01108103
174
+ C -5.30666298 10.69057631 8.84742530
175
+ C -4.39309345 11.50592458 9.71429973
176
+ C -7.10070712 10.65181380 10.65175486
177
+ C -6.15880849 11.50408598 11.50268257
178
+ C -8.86874863 10.67519396 12.48065226
179
+ C -7.99781071 11.52952799 13.25838184
180
+ C -10.65235811 10.59902596 14.24369216
181
+ C -9.79145727 11.50572141 15.06335352
182
+ C -5.37929925 5.28801353 0.09552981
183
+ C -4.46478784 6.16736942 0.92118734
184
+ C -7.07064351 5.28953734 1.71785356
185
+ C -6.21713096 6.21130787 2.61523683
186
+ C -8.93917005 5.32342240 3.56104344
187
+ C -8.02430245 6.15047079 4.40844820
188
+ C -10.66292822 5.31331382 5.25411092
189
+ C -9.76489028 6.23400325 6.17758335
190
+ C -12.38147283 5.33956477 7.18260164
191
+ C -11.53010867 6.17963642 7.96819734
192
+ C -5.36671370 7.07187259 1.77870569
193
+ C -4.48294816 7.97782808 2.61103914
194
+ C -7.11984443 7.03061053 3.49814201
195
+ C -6.20778617 8.06070712 4.44243609
196
+ C -8.89811116 7.09905162 5.33818518
197
+ C -7.99359922 8.04107441 6.16068848
198
+ C -10.58869414 7.11712415 7.14753014
199
+ C -9.70571622 7.96860745 8.04533230
200
+ C -12.39363573 7.11598160 8.86793844
201
+ C -11.56582731 7.94975609 9.78209743
202
+ C -5.26749036 8.87438109 3.57570464
203
+ C -4.42677533 9.79116129 4.40389809
204
+ C -7.11950706 8.91726102 5.29098465
205
+ C -6.19480806 9.77461633 6.17448681
206
+ C -8.83557720 8.89419064 7.05726783
207
+ C -7.95889896 9.77206034 8.00110665
208
+ C -10.65745755 8.88038228 8.82877586
209
+ C -9.78006819 9.78949952 9.81760161
210
+ C -12.44231743 8.82748030 10.70259623
211
+ C -11.53000457 9.82240131 11.52704098
212
+ C -5.32132543 10.67121073 5.27565749
213
+ C -4.37183157 11.49743764 6.25193783
214
+ C -7.07879809 10.58210601 7.05309522
215
+ C -6.16703707 11.54586475 7.96168697
216
+ C -8.87946548 10.64967796 8.85681023
217
+ C -7.90388497 11.47112775 9.78661368
218
+ C -10.66734037 10.67986949 10.60127844
219
+ C -9.78945813 11.53483687 11.52937874
220
+ C -12.38136497 10.66048510 12.35168764
221
+ C -11.54851606 11.46235361 13.21496888
222
+ C -5.27680756 12.41019197 7.09499690
223
+ C -4.42644297 13.27665252 7.99880024
224
+ C -7.06541865 12.37802889 8.88448591
225
+ C -6.20036402 13.25410513 9.78801208
226
+ C -8.89120573 12.44200639 10.64760984
227
+ C -8.02573847 13.34553633 11.49357231
228
+ C -10.67052219 12.35009485 12.42979207
229
+ C -9.78542975 13.24005095 13.35600360
230
+ C -12.41535913 12.40028406 14.24343506
231
+ C -11.52903259 13.39854490 15.08428304
232
+ C -7.10412597 7.05549067 -0.07665713
233
+ C -6.25638259 7.95254033 0.76872466
234
+ C -8.85181739 7.00848203 1.82931755
235
+ C -8.02510135 7.97672065 2.61288778
236
+ C -10.69630283 7.07961581 3.62522914
237
+ C -9.79498649 7.95888516 4.43080496
238
+ C -12.39361064 7.04128850 5.37527965
239
+ C -11.54939021 7.96163304 6.26309990
240
+ C -14.16807850 7.11076804 7.07449380
241
+ C -13.23892596 8.04389001 7.98939902
242
+ C -7.04059495 8.88018035 1.72792953
243
+ C -6.19808394 9.78385954 2.68637061
244
+ C -8.92471328 8.83696180 3.49205554
245
+ C -7.96932609 9.78961490 4.41902583
246
+ C -10.70196664 8.84386097 5.31368882
247
+ C -9.76776482 9.75454466 6.22400254
248
+ C -12.39002498 8.90890702 7.09178749
249
+ C -11.56697362 9.75595184 8.00838458
250
+ C -14.20138664 8.83167173 8.81686881
251
+ C -13.43225814 9.78342936 9.80960505
252
+ C -7.09520760 10.62838222 3.53871803
253
+ C -6.21545163 11.60938198 4.41398409
254
+ C -8.89588753 10.63174840 5.32538768
255
+ C -7.97712324 11.53725616 6.18839426
256
+ C -10.71867338 10.66704565 7.16951191
257
+ C -9.75320898 11.56731099 8.02431750
258
+ C -12.38530179 10.62114945 8.91259553
259
+ C -11.54888604 11.51374556 9.73972544
260
+ C -14.08071331 10.62002070 10.60811866
261
+ C -13.28688025 11.53942963 11.56964499
262
+ C -7.10470163 12.36347931 5.36512341
263
+ C -6.22666638 13.28213072 6.27948056
264
+ C -8.92770948 12.39593837 7.07558367
265
+ C -7.96904767 13.30539299 8.06994907
266
+ C -10.64521438 12.47396630 8.88197381
267
+ C -9.80040324 13.28955789 9.75895180
268
+ C -12.38455306 12.33174515 10.62021008
269
+ C -11.51264064 13.30946527 11.54336520
270
+ C -14.17178833 12.44896702 12.40947584
271
+ C -13.32736347 13.25110767 13.30025843
272
+ C -7.05133813 14.16226168 7.11111042
273
+ C -6.14221712 14.96384424 7.96846197
274
+ C -8.86120482 14.21949680 8.84797839
275
+ C -7.97368808 15.02293928 9.72890575
276
+ C -10.67630014 14.16600788 10.60606559
277
+ C -9.79921930 15.06604120 11.51623257
278
+ C -12.43123813 14.09901912 12.50942157
279
+ C -11.51739268 15.05250498 13.32492537
280
+ C -14.19492769 14.22305486 14.20030555
281
+ C -13.31594930 15.09956630 15.05510612
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/pw2bgw.in ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ &input_pw2bgw
2
+ prefix = 'ZG-diam'
3
+ outdir = './tmp'
4
+ real_or_complex = 2
5
+ vscg_flag = .true.
6
+ vscg_file = 'VSC'
7
+ /
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/ZG/scf.in ADDED
@@ -0,0 +1,278 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &control
2
+ calculation = 'scf'
3
+ restart_mode = 'from_scratch'
4
+ prefix = 'ZG-diam'
5
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
6
+ outdir = './tmp'
7
+ /
8
+ &system
9
+ ibrav = 0
10
+ nat = 250
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ /
14
+ &electrons
15
+ diagonalization = 'david'
16
+ mixing_mode= 'plain'
17
+ mixing_beta = 0.70
18
+ conv_thr = 1.0D-14
19
+ /
20
+ ATOMIC_SPECIES
21
+ C 12.011 C-PBE-NLCC.upf
22
+ K_POINTS automatic
23
+ 2 2 2 0 0 0
24
+ CELL_PARAMETERS {angstrom}
25
+ -8.86829462 0.00000000 8.86829462
26
+ 0.00000000 8.86829462 8.86829462
27
+ -8.86829462 8.86829462 0.00000000
28
+ ATOMIC_POSITIONS {angstrom}
29
+ C 0.05284177 0.02719408 0.02336260
30
+ C 0.97232971 0.84975507 0.91249848
31
+ C -1.72917868 -0.08839863 1.74569103
32
+ C -0.90385226 0.86967373 2.60034235
33
+ C -3.57138655 -0.02984037 3.47185594
34
+ C -2.71267172 0.88278979 4.44579726
35
+ C -5.32609001 0.02345290 5.31623352
36
+ C -4.42506590 0.87906116 6.17865566
37
+ C -7.15186454 -0.03043233 7.09595383
38
+ C -6.19356644 0.90302576 8.04281519
39
+ C -0.01001577 1.79317751 1.82258644
40
+ C 0.86152917 2.64237949 2.67361198
41
+ C -1.75255758 1.84720321 3.54620666
42
+ C -0.92647866 2.60491630 4.49720050
43
+ C -3.52945226 1.73264268 5.33460454
44
+ C -2.58948002 2.55987669 6.21306245
45
+ C -5.25722502 1.74137544 7.14717898
46
+ C -4.43040112 2.70191725 7.97687617
47
+ C -7.05943503 1.73465186 8.90596600
48
+ C -6.14080744 2.61164114 9.75684982
49
+ C 0.00602752 3.55750669 3.56911400
50
+ C 0.92647741 4.43514939 4.46264949
51
+ C -1.84870319 3.50474895 5.32665815
52
+ C -0.91323467 4.41930175 6.21189482
53
+ C -3.58908910 3.52422489 7.08751455
54
+ C -2.72953900 4.43827979 7.94330591
55
+ C -5.30977707 3.64399773 8.82749661
56
+ C -4.49010192 4.40531404 9.73151943
57
+ C -7.14265646 3.51203315 10.64825699
58
+ C -6.17779154 4.44439510 11.55516063
59
+ C 0.08567458 5.29471705 5.39340109
60
+ C 0.91311678 6.21445332 6.24297054
61
+ C -1.80361718 5.30095652 7.09295010
62
+ C -0.85805137 6.20069010 7.99174556
63
+ C -3.64312233 5.29603894 8.87913689
64
+ C -2.57082054 6.17156210 9.65872012
65
+ C -5.29462800 5.34445727 10.67045071
66
+ C -4.40617314 6.18160546 11.61864901
67
+ C -7.15157358 5.32049392 12.39832004
68
+ C -6.25758283 6.13486144 13.32725812
69
+ C 0.08093509 7.13572092 7.05138830
70
+ C 0.89820475 8.02413314 7.98528661
71
+ C -1.75884597 7.07882945 8.86208525
72
+ C -0.89090801 8.00810615 9.73118708
73
+ C -3.52448952 7.10443450 10.67100756
74
+ C -2.72955906 8.10562382 11.56067770
75
+ C -5.35100025 7.06864060 12.39103459
76
+ C -4.39792073 8.00198457 13.29397883
77
+ C -7.04117061 7.14914300 14.18279739
78
+ C -6.24181922 8.00079311 15.07141154
79
+ C -1.77689342 1.76372091 -0.00647651
80
+ C -0.88037678 2.64336275 0.94665694
81
+ C -3.57594419 1.79447181 1.79207635
82
+ C -2.70714837 2.68846883 2.76205826
83
+ C -5.33706647 1.75211863 3.55542227
84
+ C -4.40496413 2.63787703 4.40395578
85
+ C -7.11680434 1.70885241 5.30502128
86
+ C -6.27289995 2.63755471 6.23249073
87
+ C -8.85312173 1.78503923 7.07233036
88
+ C -7.95228699 2.66487797 7.97302839
89
+ C -1.77666641 3.49586068 1.84662002
90
+ C -0.92765005 4.44597159 2.67168433
91
+ C -3.62382322 3.59471905 3.57612479
92
+ C -2.70821567 4.49478623 4.42953951
93
+ C -5.34880170 3.54035347 5.31648812
94
+ C -4.42475612 4.44564049 6.18346915
95
+ C -7.12265753 3.54374097 7.03540646
96
+ C -6.23297233 4.46093504 8.01010028
97
+ C -8.79948732 3.59168146 8.88511550
98
+ C -7.95899302 4.45937110 9.78744143
99
+ C -1.74167393 5.31200823 3.53576698
100
+ C -0.82506556 6.20586353 4.44011714
101
+ C -3.56792379 5.31635141 5.29808072
102
+ C -2.72828734 6.24492955 6.19591674
103
+ C -5.33429225 5.30413709 7.10688639
104
+ C -4.44861788 6.24812140 7.98976774
105
+ C -7.07401094 5.42606459 8.77610842
106
+ C -6.25278063 6.20754913 9.70510168
107
+ C -8.86819931 5.30372321 10.64103299
108
+ C -7.97327671 6.26971186 11.53247778
109
+ C -1.70673538 7.09381297 5.31655208
110
+ C -0.90177034 7.90128132 6.19424494
111
+ C -3.51477475 7.13101905 7.11378054
112
+ C -2.67675868 8.02589524 8.03153773
113
+ C -5.33943684 7.06547634 8.88224095
114
+ C -4.49395723 7.94233895 9.78739628
115
+ C -7.19673860 7.19643885 10.61794004
116
+ C -6.18375008 7.98488402 11.51648341
117
+ C -8.85064475 7.03832240 12.38440757
118
+ C -7.98023859 7.98963354 13.27257021
119
+ C -1.74688123 8.86400663 7.05976738
120
+ C -0.86759056 9.75404425 7.97567719
121
+ C -3.55498206 8.85342774 8.92695949
122
+ C -2.62966350 9.73420084 9.69703865
123
+ C -5.38718795 8.84441280 10.66081620
124
+ C -4.44938668 9.71535323 11.48919527
125
+ C -7.10557830 8.90919548 12.41404100
126
+ C -6.22627383 9.72857841 13.28554080
127
+ C -8.84761719 8.81792858 14.11362262
128
+ C -8.00310956 9.78387459 14.98853500
129
+ C -3.54964558 3.57027285 0.05712224
130
+ C -2.60182729 4.40564263 0.89213835
131
+ C -5.30694642 3.55587502 1.75712149
132
+ C -4.46703154 4.48711325 2.69446123
133
+ C -7.10211554 3.52065052 3.51981148
134
+ C -6.12491716 4.46413693 4.41091640
135
+ C -8.95555949 3.58621079 5.29747998
136
+ C -7.92624800 4.37431733 6.20066752
137
+ C -10.61231636 3.57226823 7.09112780
138
+ C -9.66232208 4.40206324 8.03131073
139
+ C -3.53394342 5.35148436 1.80726806
140
+ C -2.62053819 6.21752351 2.66761832
141
+ C -5.31309685 5.36459541 3.52344104
142
+ C -4.43031458 6.21880653 4.40655943
143
+ C -7.06232462 5.31411147 5.27517589
144
+ C -6.19147073 6.24946461 6.18332868
145
+ C -8.84060766 5.31497183 7.15364546
146
+ C -7.92157373 6.21448467 7.97295063
147
+ C -10.61145349 5.38606673 8.89526797
148
+ C -9.69650563 6.27052582 9.71394982
149
+ C -3.47167911 7.13296301 3.57590781
150
+ C -2.67908140 8.05194928 4.40833282
151
+ C -5.31494925 7.15732267 5.29922201
152
+ C -4.41648615 7.97918885 6.25671369
153
+ C -7.07453518 7.10674969 7.05868002
154
+ C -6.22626254 7.94979497 8.00959485
155
+ C -8.83440455 7.12079258 8.83802784
156
+ C -7.97531222 8.02688102 9.75036954
157
+ C -10.66707198 7.07991681 10.56699958
158
+ C -9.75864202 8.00860531 11.45285581
159
+ C -3.59301589 8.90162534 5.31673268
160
+ C -2.63735530 9.71568559 6.17987220
161
+ C -5.30356143 8.88183585 7.07365350
162
+ C -4.42829788 9.72511566 7.99569367
163
+ C -7.11679305 8.87328244 8.83007768
164
+ C -6.20624229 9.76228036 9.77151478
165
+ C -8.78382279 8.89710281 10.66894696
166
+ C -7.90554674 9.74791765 11.50048527
167
+ C -10.67574705 8.97383895 12.37185714
168
+ C -9.80072430 9.79222357 13.23190890
169
+ C -3.52093020 10.66113476 7.15331687
170
+ C -2.67199787 11.47971001 8.01108103
171
+ C -5.30666298 10.69057631 8.84742530
172
+ C -4.39309345 11.50592458 9.71429973
173
+ C -7.10070712 10.65181380 10.65175486
174
+ C -6.15880849 11.50408598 11.50268257
175
+ C -8.86874863 10.67519396 12.48065226
176
+ C -7.99781071 11.52952799 13.25838184
177
+ C -10.65235811 10.59902596 14.24369216
178
+ C -9.79145727 11.50572141 15.06335352
179
+ C -5.37929925 5.28801353 0.09552981
180
+ C -4.46478784 6.16736942 0.92118734
181
+ C -7.07064351 5.28953734 1.71785356
182
+ C -6.21713096 6.21130787 2.61523683
183
+ C -8.93917005 5.32342240 3.56104344
184
+ C -8.02430245 6.15047079 4.40844820
185
+ C -10.66292822 5.31331382 5.25411092
186
+ C -9.76489028 6.23400325 6.17758335
187
+ C -12.38147283 5.33956477 7.18260164
188
+ C -11.53010867 6.17963642 7.96819734
189
+ C -5.36671370 7.07187259 1.77870569
190
+ C -4.48294816 7.97782808 2.61103914
191
+ C -7.11984443 7.03061053 3.49814201
192
+ C -6.20778617 8.06070712 4.44243609
193
+ C -8.89811116 7.09905162 5.33818518
194
+ C -7.99359922 8.04107441 6.16068848
195
+ C -10.58869414 7.11712415 7.14753014
196
+ C -9.70571622 7.96860745 8.04533230
197
+ C -12.39363573 7.11598160 8.86793844
198
+ C -11.56582731 7.94975609 9.78209743
199
+ C -5.26749036 8.87438109 3.57570464
200
+ C -4.42677533 9.79116129 4.40389809
201
+ C -7.11950706 8.91726102 5.29098465
202
+ C -6.19480806 9.77461633 6.17448681
203
+ C -8.83557720 8.89419064 7.05726783
204
+ C -7.95889896 9.77206034 8.00110665
205
+ C -10.65745755 8.88038228 8.82877586
206
+ C -9.78006819 9.78949952 9.81760161
207
+ C -12.44231743 8.82748030 10.70259623
208
+ C -11.53000457 9.82240131 11.52704098
209
+ C -5.32132543 10.67121073 5.27565749
210
+ C -4.37183157 11.49743764 6.25193783
211
+ C -7.07879809 10.58210601 7.05309522
212
+ C -6.16703707 11.54586475 7.96168697
213
+ C -8.87946548 10.64967796 8.85681023
214
+ C -7.90388497 11.47112775 9.78661368
215
+ C -10.66734037 10.67986949 10.60127844
216
+ C -9.78945813 11.53483687 11.52937874
217
+ C -12.38136497 10.66048510 12.35168764
218
+ C -11.54851606 11.46235361 13.21496888
219
+ C -5.27680756 12.41019197 7.09499690
220
+ C -4.42644297 13.27665252 7.99880024
221
+ C -7.06541865 12.37802889 8.88448591
222
+ C -6.20036402 13.25410513 9.78801208
223
+ C -8.89120573 12.44200639 10.64760984
224
+ C -8.02573847 13.34553633 11.49357231
225
+ C -10.67052219 12.35009485 12.42979207
226
+ C -9.78542975 13.24005095 13.35600360
227
+ C -12.41535913 12.40028406 14.24343506
228
+ C -11.52903259 13.39854490 15.08428304
229
+ C -7.10412597 7.05549067 -0.07665713
230
+ C -6.25638259 7.95254033 0.76872466
231
+ C -8.85181739 7.00848203 1.82931755
232
+ C -8.02510135 7.97672065 2.61288778
233
+ C -10.69630283 7.07961581 3.62522914
234
+ C -9.79498649 7.95888516 4.43080496
235
+ C -12.39361064 7.04128850 5.37527965
236
+ C -11.54939021 7.96163304 6.26309990
237
+ C -14.16807850 7.11076804 7.07449380
238
+ C -13.23892596 8.04389001 7.98939902
239
+ C -7.04059495 8.88018035 1.72792953
240
+ C -6.19808394 9.78385954 2.68637061
241
+ C -8.92471328 8.83696180 3.49205554
242
+ C -7.96932609 9.78961490 4.41902583
243
+ C -10.70196664 8.84386097 5.31368882
244
+ C -9.76776482 9.75454466 6.22400254
245
+ C -12.39002498 8.90890702 7.09178749
246
+ C -11.56697362 9.75595184 8.00838458
247
+ C -14.20138664 8.83167173 8.81686881
248
+ C -13.43225814 9.78342936 9.80960505
249
+ C -7.09520760 10.62838222 3.53871803
250
+ C -6.21545163 11.60938198 4.41398409
251
+ C -8.89588753 10.63174840 5.32538768
252
+ C -7.97712324 11.53725616 6.18839426
253
+ C -10.71867338 10.66704565 7.16951191
254
+ C -9.75320898 11.56731099 8.02431750
255
+ C -12.38530179 10.62114945 8.91259553
256
+ C -11.54888604 11.51374556 9.73972544
257
+ C -14.08071331 10.62002070 10.60811866
258
+ C -13.28688025 11.53942963 11.56964499
259
+ C -7.10470163 12.36347931 5.36512341
260
+ C -6.22666638 13.28213072 6.27948056
261
+ C -8.92770948 12.39593837 7.07558367
262
+ C -7.96904767 13.30539299 8.06994907
263
+ C -10.64521438 12.47396630 8.88197381
264
+ C -9.80040324 13.28955789 9.75895180
265
+ C -12.38455306 12.33174515 10.62021008
266
+ C -11.51264064 13.30946527 11.54336520
267
+ C -14.17178833 12.44896702 12.40947584
268
+ C -13.32736347 13.25110767 13.30025843
269
+ C -7.05133813 14.16226168 7.11111042
270
+ C -6.14221712 14.96384424 7.96846197
271
+ C -8.86120482 14.21949680 8.84797839
272
+ C -7.97368808 15.02293928 9.72890575
273
+ C -10.67630014 14.16600788 10.60606559
274
+ C -9.79921930 15.06604120 11.51623257
275
+ C -12.43123813 14.09901912 12.50942157
276
+ C -11.51739268 15.05250498 13.32492537
277
+ C -14.19492769 14.22305486 14.20030555
278
+ C -13.31594930 15.09956630 15.05510612
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/aohamiltonian/info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"isspinful": false, "fermi_level": 0.0}
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/calc.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from HPRO import PW2AOkernel
2
+
3
+ kernel = PW2AOkernel(
4
+ lcao_interface='siesta',
5
+ lcaodata_root='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/aobasis',
6
+ hrdata_interface='qe-bgw',
7
+ vscdir='./VSC',
8
+ upfdir='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/pseudos',
9
+ ecutwfn=30,
10
+ )
11
+ kernel.run_pw2ao_rs('./aohamiltonian')
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/diag_compare.py ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Dense diagonalize H(k) and S(k) at NSCF k-points, compare to QE nscf.out.
3
+
4
+ Argv: nscf.out path.
5
+ """
6
+ from __future__ import annotations
7
+ import os, sys, re
8
+ from pathlib import Path
9
+ for n in ("OMP_NUM_THREADS","MKL_NUM_THREADS","OPENBLAS_NUM_THREADS"):
10
+ os.environ.setdefault(n, "32")
11
+ import numpy as np
12
+ from scipy.linalg import eigh
13
+ from HPRO.constants import hartree2ev
14
+ from HPRO.deephio import load_deeph_HS
15
+
16
+
17
+ def parse_nscf_kpts_and_bands(nscf_out_path: Path, nscf_in_path: Path):
18
+ # Extract K_POINTS crystal block from the .in file.
19
+ lines = nscf_in_path.read_text().splitlines()
20
+ kpts = []
21
+ for i, ln in enumerate(lines):
22
+ if ln.strip().lower().startswith("k_points crystal"):
23
+ nk = int(lines[i+1].strip())
24
+ for j in range(nk):
25
+ parts = lines[i+2+j].split()
26
+ kpts.append([float(parts[0]), float(parts[1]), float(parts[2])])
27
+ break
28
+ # Parse band blocks from nscf.out.
29
+ txt = nscf_out_path.read_text()
30
+ blocks = []
31
+ cur = []
32
+ cap = False
33
+ for ln in txt.splitlines():
34
+ s = ln.strip()
35
+ if "bands (ev):" in ln and ln.lstrip().startswith("k ="):
36
+ if cur: blocks.append(cur); cur = []
37
+ cap = True; continue
38
+ if not cap: continue
39
+ if not s:
40
+ if cur:
41
+ blocks.append(cur); cur = []; cap = False
42
+ continue
43
+ if s.startswith(("highest occupied","Writing all","End of")):
44
+ if cur: blocks.append(cur); cur = []
45
+ cap = False; continue
46
+ cur.extend(float(t) for t in s.split())
47
+ if cur: blocks.append(cur)
48
+ return np.array(kpts, float), [np.array(b, float) for b in blocks]
49
+
50
+
51
+ def main() -> int:
52
+ nscf_out = Path(sys.argv[1])
53
+ nscf_in = nscf_out.parent / "nscf.in"
54
+ kpts, qe_bands = parse_nscf_kpts_and_bands(nscf_out, nscf_in)
55
+ print(f"k-points: {len(kpts)}")
56
+ for k, b in zip(kpts, qe_bands):
57
+ print(f" k={k.tolist()} nbnd={len(b)} range=[{b.min():.3f},{b.max():.3f}] eV")
58
+
59
+ H = load_deeph_HS(".", "hamiltonians.h5", energy_unit=True)
60
+ S = load_deeph_HS(".", "overlaps.h5", energy_unit=False)
61
+ hpro_eigs = []
62
+ for k, qe in zip(kpts, qe_bands):
63
+ hk = H.r2k(k).toarray()
64
+ sk = S.r2k(k).toarray()
65
+ w = np.sort(np.real(eigh(hk, sk, eigvals_only=True)) * hartree2ev)
66
+ hpro_eigs.append(w)
67
+ n = min(len(w), len(qe))
68
+ dif = w[:n] - qe[:n]
69
+ print(f"k={k.tolist()} ndim={len(w)} compare n={n}")
70
+ print(f" HPRO[:10]={w[:10].round(4).tolist()}")
71
+ print(f" QE [:10]={qe[:10].round(4).tolist()}")
72
+ print(f" MAE={np.mean(np.abs(dif)):.4f} eV MAX={np.max(np.abs(dif)):.4f} eV")
73
+ # Gap calc: paper ZG convention. n_occ = 4 * natoms/2 (diamond, 4 valence/atom).
74
+ # natoms inferred from H dim and orbital count (13 AO per C atom).
75
+ natoms = hpro_eigs[0].shape[0] // 13
76
+ n_occ = 2 * natoms # diamond: 4 valence e/atom, spinless -> 2 occ bands/atom
77
+ print(f"\nGAP CALC: natoms={natoms} n_occ={n_occ}")
78
+ for label, src in [("HPRO", hpro_eigs), ("QE", qe_bands)]:
79
+ gamma, off = src[0], src[1]
80
+ if len(gamma) < n_occ or len(off) <= n_occ:
81
+ print(f" {label}: insufficient bands ({len(gamma)},{len(off)}) vs n_occ={n_occ}")
82
+ continue
83
+ vbm_states = np.sort(gamma)[n_occ - 3:n_occ]
84
+ vbm_avg = float(np.mean(vbm_states))
85
+ cbm = float(np.sort(off)[n_occ])
86
+ print(f" {label}: VBM_avg(top3 Γ)={vbm_avg:.4f} CBM(Q)={cbm:.4f} gap={cbm-vbm_avg:.4f} eV")
87
+ return 0
88
+
89
+
90
+ if __name__ == "__main__":
91
+ raise SystemExit(main())
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/meta.release.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "zg_endpoints",
3
+ "endpoint": "equil",
4
+ "frame_id": "sc5/equil",
5
+ "has_aohamiltonian": true,
6
+ "has_ki_hamiltonian": false,
7
+ "has_overlap": true,
8
+ "source_path": "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/sc5/equil",
9
+ "supercell": "sc5"
10
+ }
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/pw2bgw.in ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ &input_pw2bgw
2
+ prefix = 'equil-diam'
3
+ outdir = './tmp'
4
+ real_or_complex = 2
5
+ vscg_flag = .true.
6
+ vscg_file = 'VSC'
7
+ /
releases/diamond_hpro_deeph_v2/data/zg_endpoints/sc5/equil/scf.in ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &control
2
+ calculation = 'scf'
3
+ restart_mode = 'from_scratch'
4
+ prefix = 'equil-diam'
5
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
6
+ outdir = './tmp'
7
+ /
8
+ &system
9
+ ibrav = 0
10
+ nat = 250
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ /
14
+ &electrons
15
+ diagonalization = 'david'
16
+ mixing_mode= 'plain'
17
+ mixing_beta = 0.70
18
+ conv_thr = 1.0D-14
19
+ /
20
+ ATOMIC_SPECIES
21
+ C 12.011 C-PBE-NLCC.upf
22
+ K_POINTS automatic
23
+ 2 2 2 0 0 0
24
+ CELL_PARAMETERS {angstrom}
25
+ -8.86829462 0.00000000 8.86829462
26
+ 0.00000000 8.86829462 8.86829462
27
+ -8.86829462 8.86829462 0.00000000
28
+ ATOMIC_POSITIONS {angstrom}
29
+ C 0.00000000 0.00000000 0.00000000
30
+ C -16.84975978 9.75512408 9.75512408
31
+ C -1.77365892 0.00000000 1.77365892
32
+ C -9.75512408 9.75512408 2.66048839
33
+ C -3.54731785 0.00000000 3.54731785
34
+ C -11.52878301 9.75512408 4.43414731
35
+ C -5.32097677 0.00000000 5.32097677
36
+ C -13.30244193 9.75512408 6.20780623
37
+ C -7.09463570 0.00000000 7.09463570
38
+ C -15.07610085 9.75512408 7.98146516
39
+ C 0.00000000 1.77365892 1.77365892
40
+ C -16.84975978 11.52878301 11.52878301
41
+ C -1.77365892 1.77365892 3.54731785
42
+ C -9.75512408 11.52878301 4.43414731
43
+ C -3.54731785 1.77365892 5.32097677
44
+ C -11.52878301 11.52878301 6.20780623
45
+ C -5.32097677 1.77365892 7.09463570
46
+ C -13.30244193 11.52878301 7.98146516
47
+ C -7.09463570 1.77365892 8.86829462
48
+ C -15.07610085 11.52878301 9.75512408
49
+ C 0.00000000 3.54731785 3.54731785
50
+ C -16.84975978 13.30244193 13.30244193
51
+ C -1.77365892 3.54731785 5.32097677
52
+ C -9.75512408 13.30244193 6.20780623
53
+ C -3.54731785 3.54731785 7.09463570
54
+ C -11.52878301 13.30244193 7.98146516
55
+ C -5.32097677 3.54731785 8.86829462
56
+ C -13.30244193 13.30244193 9.75512408
57
+ C -7.09463570 3.54731785 10.64195354
58
+ C -15.07610085 13.30244193 11.52878301
59
+ C 0.00000000 5.32097677 5.32097677
60
+ C -16.84975978 15.07610085 15.07610085
61
+ C -1.77365892 5.32097677 7.09463570
62
+ C -9.75512408 15.07610085 7.98146516
63
+ C -3.54731785 5.32097677 8.86829462
64
+ C -11.52878301 15.07610085 9.75512408
65
+ C -5.32097677 5.32097677 10.64195354
66
+ C -13.30244193 15.07610085 11.52878301
67
+ C -7.09463570 5.32097677 12.41561247
68
+ C -15.07610085 15.07610085 13.30244193
69
+ C 0.00000000 7.09463570 7.09463570
70
+ C -16.84975978 16.84975978 16.84975978
71
+ C -1.77365892 7.09463570 8.86829462
72
+ C -9.75512408 16.84975978 9.75512408
73
+ C -3.54731785 7.09463570 10.64195354
74
+ C -11.52878301 16.84975978 11.52878301
75
+ C -5.32097677 7.09463570 12.41561247
76
+ C -13.30244193 16.84975978 13.30244193
77
+ C -7.09463570 7.09463570 14.18927139
78
+ C -15.07610085 16.84975978 15.07610085
79
+ C -1.77365892 1.77365892 0.00000000
80
+ C -9.75512408 2.66048839 9.75512408
81
+ C -3.54731785 1.77365892 1.77365892
82
+ C -2.66048839 2.66048839 2.66048839
83
+ C -5.32097677 1.77365892 3.54731785
84
+ C -4.43414731 2.66048839 4.43414731
85
+ C -7.09463570 1.77365892 5.32097677
86
+ C -6.20780623 2.66048839 6.20780623
87
+ C -8.86829462 1.77365892 7.09463570
88
+ C -7.98146516 2.66048839 7.98146516
89
+ C -1.77365892 3.54731785 1.77365892
90
+ C -9.75512408 4.43414731 11.52878301
91
+ C -3.54731785 3.54731785 3.54731785
92
+ C -2.66048839 4.43414731 4.43414731
93
+ C -5.32097677 3.54731785 5.32097677
94
+ C -4.43414731 4.43414731 6.20780623
95
+ C -7.09463570 3.54731785 7.09463570
96
+ C -6.20780623 4.43414731 7.98146516
97
+ C -8.86829462 3.54731785 8.86829462
98
+ C -7.98146516 4.43414731 9.75512408
99
+ C -1.77365892 5.32097677 3.54731785
100
+ C -9.75512408 6.20780623 13.30244193
101
+ C -3.54731785 5.32097677 5.32097677
102
+ C -2.66048839 6.20780623 6.20780623
103
+ C -5.32097677 5.32097677 7.09463570
104
+ C -4.43414731 6.20780623 7.98146516
105
+ C -7.09463570 5.32097677 8.86829462
106
+ C -6.20780623 6.20780623 9.75512408
107
+ C -8.86829462 5.32097677 10.64195354
108
+ C -7.98146516 6.20780623 11.52878301
109
+ C -1.77365892 7.09463570 5.32097677
110
+ C -9.75512408 7.98146516 15.07610085
111
+ C -3.54731785 7.09463570 7.09463570
112
+ C -2.66048839 7.98146516 7.98146516
113
+ C -5.32097677 7.09463570 8.86829462
114
+ C -4.43414731 7.98146516 9.75512408
115
+ C -7.09463570 7.09463570 10.64195354
116
+ C -6.20780623 7.98146516 11.52878301
117
+ C -8.86829462 7.09463570 12.41561247
118
+ C -7.98146516 7.98146516 13.30244193
119
+ C -1.77365892 8.86829462 7.09463570
120
+ C -9.75512408 9.75512408 16.84975978
121
+ C -3.54731785 8.86829462 8.86829462
122
+ C -2.66048839 9.75512408 9.75512408
123
+ C -5.32097677 8.86829462 10.64195354
124
+ C -4.43414731 9.75512408 11.52878301
125
+ C -7.09463570 8.86829462 12.41561247
126
+ C -6.20780623 9.75512408 13.30244193
127
+ C -8.86829462 8.86829462 14.18927139
128
+ C -7.98146516 9.75512408 15.07610085
129
+ C -3.54731785 3.54731785 0.00000000
130
+ C -11.52878301 4.43414731 9.75512408
131
+ C -5.32097677 3.54731785 1.77365892
132
+ C -4.43414731 4.43414731 2.66048839
133
+ C -7.09463570 3.54731785 3.54731785
134
+ C -6.20780623 4.43414731 4.43414731
135
+ C -8.86829462 3.54731785 5.32097677
136
+ C -7.98146516 4.43414731 6.20780623
137
+ C -10.64195354 3.54731785 7.09463570
138
+ C -9.75512408 4.43414731 7.98146516
139
+ C -3.54731785 5.32097677 1.77365892
140
+ C -11.52878301 6.20780623 11.52878301
141
+ C -5.32097677 5.32097677 3.54731785
142
+ C -4.43414731 6.20780623 4.43414731
143
+ C -7.09463570 5.32097677 5.32097677
144
+ C -6.20780623 6.20780623 6.20780623
145
+ C -8.86829462 5.32097677 7.09463570
146
+ C -7.98146516 6.20780623 7.98146516
147
+ C -10.64195354 5.32097677 8.86829462
148
+ C -9.75512408 6.20780623 9.75512408
149
+ C -3.54731785 7.09463570 3.54731785
150
+ C -11.52878301 7.98146516 13.30244193
151
+ C -5.32097677 7.09463570 5.32097677
152
+ C -4.43414731 7.98146516 6.20780623
153
+ C -7.09463570 7.09463570 7.09463570
154
+ C -6.20780623 7.98146516 7.98146516
155
+ C -8.86829462 7.09463570 8.86829462
156
+ C -7.98146516 7.98146516 9.75512408
157
+ C -10.64195354 7.09463570 10.64195354
158
+ C -9.75512408 7.98146516 11.52878301
159
+ C -3.54731785 8.86829462 5.32097677
160
+ C -11.52878301 9.75512408 15.07610085
161
+ C -5.32097677 8.86829462 7.09463570
162
+ C -4.43414731 9.75512408 7.98146516
163
+ C -7.09463570 8.86829462 8.86829462
164
+ C -6.20780623 9.75512408 9.75512408
165
+ C -8.86829462 8.86829462 10.64195354
166
+ C -7.98146516 9.75512408 11.52878301
167
+ C -10.64195354 8.86829462 12.41561247
168
+ C -9.75512408 9.75512408 13.30244193
169
+ C -3.54731785 10.64195354 7.09463570
170
+ C -11.52878301 11.52878301 16.84975978
171
+ C -5.32097677 10.64195354 8.86829462
172
+ C -4.43414731 11.52878301 9.75512408
173
+ C -7.09463570 10.64195354 10.64195354
174
+ C -6.20780623 11.52878301 11.52878301
175
+ C -8.86829462 10.64195354 12.41561247
176
+ C -7.98146516 11.52878301 13.30244193
177
+ C -10.64195354 10.64195354 14.18927139
178
+ C -9.75512408 11.52878301 15.07610085
179
+ C -5.32097677 5.32097677 0.00000000
180
+ C -13.30244193 6.20780623 9.75512408
181
+ C -7.09463570 5.32097677 1.77365892
182
+ C -6.20780623 6.20780623 2.66048839
183
+ C -8.86829462 5.32097677 3.54731785
184
+ C -7.98146516 6.20780623 4.43414731
185
+ C -10.64195354 5.32097677 5.32097677
186
+ C -9.75512408 6.20780623 6.20780623
187
+ C -12.41561247 5.32097677 7.09463570
188
+ C -11.52878301 6.20780623 7.98146516
189
+ C -5.32097677 7.09463570 1.77365892
190
+ C -13.30244193 7.98146516 11.52878301
191
+ C -7.09463570 7.09463570 3.54731785
192
+ C -6.20780623 7.98146516 4.43414731
193
+ C -8.86829462 7.09463570 5.32097677
194
+ C -7.98146516 7.98146516 6.20780623
195
+ C -10.64195354 7.09463570 7.09463570
196
+ C -9.75512408 7.98146516 7.98146516
197
+ C -12.41561247 7.09463570 8.86829462
198
+ C -11.52878301 7.98146516 9.75512408
199
+ C -5.32097677 8.86829462 3.54731785
200
+ C -13.30244193 9.75512408 13.30244193
201
+ C -7.09463570 8.86829462 5.32097677
202
+ C -6.20780623 9.75512408 6.20780623
203
+ C -8.86829462 8.86829462 7.09463570
204
+ C -7.98146516 9.75512408 7.98146516
205
+ C -10.64195354 8.86829462 8.86829462
206
+ C -9.75512408 9.75512408 9.75512408
207
+ C -12.41561247 8.86829462 10.64195354
208
+ C -11.52878301 9.75512408 11.52878301
209
+ C -5.32097677 10.64195354 5.32097677
210
+ C -13.30244193 11.52878301 15.07610085
211
+ C -7.09463570 10.64195354 7.09463570
212
+ C -6.20780623 11.52878301 7.98146516
213
+ C -8.86829462 10.64195354 8.86829462
214
+ C -7.98146516 11.52878301 9.75512408
215
+ C -10.64195354 10.64195354 10.64195354
216
+ C -9.75512408 11.52878301 11.52878301
217
+ C -12.41561247 10.64195354 12.41561247
218
+ C -11.52878301 11.52878301 13.30244193
219
+ C -5.32097677 12.41561247 7.09463570
220
+ C -13.30244193 13.30244193 16.84975978
221
+ C -7.09463570 12.41561247 8.86829462
222
+ C -6.20780623 13.30244193 9.75512408
223
+ C -8.86829462 12.41561247 10.64195354
224
+ C -7.98146516 13.30244193 11.52878301
225
+ C -10.64195354 12.41561247 12.41561247
226
+ C -9.75512408 13.30244193 13.30244193
227
+ C -12.41561247 12.41561247 14.18927139
228
+ C -11.52878301 13.30244193 15.07610085
229
+ C -7.09463570 7.09463570 0.00000000
230
+ C -15.07610085 7.98146516 9.75512408
231
+ C -8.86829462 7.09463570 1.77365892
232
+ C -7.98146516 7.98146516 2.66048839
233
+ C -10.64195354 7.09463570 3.54731785
234
+ C -9.75512408 7.98146516 4.43414731
235
+ C -12.41561247 7.09463570 5.32097677
236
+ C -11.52878301 7.98146516 6.20780623
237
+ C -14.18927139 7.09463570 7.09463570
238
+ C -13.30244193 7.98146516 7.98146516
239
+ C -7.09463570 8.86829462 1.77365892
240
+ C -15.07610085 9.75512408 11.52878301
241
+ C -8.86829462 8.86829462 3.54731785
242
+ C -7.98146516 9.75512408 4.43414731
243
+ C -10.64195354 8.86829462 5.32097677
244
+ C -9.75512408 9.75512408 6.20780623
245
+ C -12.41561247 8.86829462 7.09463570
246
+ C -11.52878301 9.75512408 7.98146516
247
+ C -14.18927139 8.86829462 8.86829462
248
+ C -13.30244193 9.75512408 9.75512408
249
+ C -7.09463570 10.64195354 3.54731785
250
+ C -15.07610085 11.52878301 13.30244193
251
+ C -8.86829462 10.64195354 5.32097677
252
+ C -7.98146516 11.52878301 6.20780623
253
+ C -10.64195354 10.64195354 7.09463570
254
+ C -9.75512408 11.52878301 7.98146516
255
+ C -12.41561247 10.64195354 8.86829462
256
+ C -11.52878301 11.52878301 9.75512408
257
+ C -14.18927139 10.64195354 10.64195354
258
+ C -13.30244193 11.52878301 11.52878301
259
+ C -7.09463570 12.41561247 5.32097677
260
+ C -15.07610085 13.30244193 15.07610085
261
+ C -8.86829462 12.41561247 7.09463570
262
+ C -7.98146516 13.30244193 7.98146516
263
+ C -10.64195354 12.41561247 8.86829462
264
+ C -9.75512408 13.30244193 9.75512408
265
+ C -12.41561247 12.41561247 10.64195354
266
+ C -11.52878301 13.30244193 11.52878301
267
+ C -14.18927139 12.41561247 12.41561247
268
+ C -13.30244193 13.30244193 13.30244193
269
+ C -7.09463570 14.18927139 7.09463570
270
+ C -15.07610085 15.07610085 16.84975978
271
+ C -8.86829462 14.18927139 8.86829462
272
+ C -7.98146516 15.07610085 9.75512408
273
+ C -10.64195354 14.18927139 10.64195354
274
+ C -9.75512408 15.07610085 11.52878301
275
+ C -12.41561247 14.18927139 12.41561247
276
+ C -11.52878301 15.07610085 13.30244193
277
+ C -14.18927139 14.18927139 14.18927139
278
+ C -13.30244193 15.07610085 15.07610085
279
+
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/calc.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from HPRO import PW2AOkernel
2
+
3
+ kernel = PW2AOkernel(
4
+ lcao_interface='siesta',
5
+ lcaodata_root='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/aobasis',
6
+ hrdata_interface='qe-bgw',
7
+ vscdir='./VSC',
8
+ upfdir='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/pseudos',
9
+ ecutwfn=30,
10
+ )
11
+ kernel.run_pw2ao_rs('./aohamiltonian')
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/meta.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "idx": 202,
3
+ "prefix": "diamond-zg-A7-sc3-202",
4
+ "cell": "sc3",
5
+ "center": "equil",
6
+ "direction": "zg_axis",
7
+ "delta_rms_ang": 0.01,
8
+ "actual_rms_from_center_ang": 0.01,
9
+ "zg_rms_ang": 0.0668588489279093,
10
+ "n_atoms": 54,
11
+ "sc_size": [
12
+ 3,
13
+ 3,
14
+ 3
15
+ ],
16
+ "clean_axis": "physical_fd_zg_axis"
17
+ }
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/meta.release.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "zg_train_a7_physical_fd",
3
+ "frame_id": "disp-202",
4
+ "has_aohamiltonian": true,
5
+ "has_ki_hamiltonian": false,
6
+ "has_overlap": true,
7
+ "source_path": "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg_A7_physical_fd/data/disp-202"
8
+ }
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/nscf.in ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &CONTROL
2
+ calculation = 'nscf'
3
+ prefix = 'diamond-zg-A7-sc3-202'
4
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
5
+ outdir = './tmp'
6
+ /
7
+
8
+ &SYSTEM
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ nbnd = 120
14
+ /
15
+
16
+ &ELECTRONS
17
+ diagonalization = 'david'
18
+ mixing_mode = 'plain'
19
+ mixing_beta = 0.70
20
+ conv_thr = 1.0d-14
21
+ /
22
+
23
+ CELL_PARAMETERS angstrom
24
+ -5.3209837466 0.0000000000 -5.3209837466
25
+ 0.0000000000 5.3209837466 5.3209837466
26
+ 5.3209837466 5.3209837466 0.0000000000
27
+
28
+ ATOMIC_SPECIES
29
+ C 12.011 C-PBE-NLCC.upf
30
+
31
+ ATOMIC_POSITIONS crystal
32
+ C 0.000044397513 0.999723350334 0.999652026405
33
+ C 0.915597543354 0.083304042018 0.083549789805
34
+ C 0.001005416882 0.334695692952 0.667221165382
35
+ C 0.916825238823 0.415812604908 0.751012502359
36
+ C 0.000884553315 0.665418205368 0.334953631437
37
+ C 0.916098205162 0.750855067301 0.416398139824
38
+ C 0.000791737292 0.333060309057 0.000397483427
39
+ C 0.915996495330 0.414992195526 0.084466167477
40
+ C 0.997988084148 0.666398811680 0.667596226047
41
+ C 0.915353858455 0.749712572261 0.749749873328
42
+ C 0.999790962176 0.000575746446 0.332766978035
43
+ C 0.915985495524 0.083181013100 0.416414818444
44
+ C 0.999286153736 0.668102581150 0.999074084036
45
+ C 0.915889666287 0.750390924883 0.083606023051
46
+ C 0.999223373988 0.998559252074 0.667662707361
47
+ C 0.917624285135 0.085915826283 0.748839576810
48
+ C 0.000718222623 0.332406666806 0.333782718232
49
+ C 0.916524083827 0.417313083825 0.415459150232
50
+ C 0.334413151028 0.334087915852 0.999888127334
51
+ C 0.251603879935 0.417041972130 0.083013222092
52
+ C 0.332188719645 0.667160037988 0.665338374177
53
+ C 0.249382325392 0.749631019894 0.748210996059
54
+ C 0.331722143854 0.998877233405 0.331064551905
55
+ C 0.249770965914 0.083405216228 0.416092828595
56
+ C 0.333429519740 0.667463011933 0.998663826100
57
+ C 0.249357556369 0.748744191784 0.082363954763
58
+ C 0.333908300284 0.000636728328 0.667531172260
59
+ C 0.249996046613 0.081695714721 0.751671002591
60
+ C 0.333919352277 0.333498057975 0.332719544247
61
+ C 0.250450713642 0.416502699930 0.418537771660
62
+ C 0.333054236872 0.998980932202 0.999938353213
63
+ C 0.249764979769 0.081770889662 0.083279835324
64
+ C 0.334515400794 0.334513428113 0.666447512117
65
+ C 0.251689155090 0.418876296392 0.749681107434
66
+ C 0.333269037880 0.666381809241 0.333743914544
67
+ C 0.251216730749 0.749966444978 0.417180401825
68
+ C 0.666289664863 0.667217508603 0.999771134409
69
+ C 0.583663910735 0.750265924944 0.083576823265
70
+ C 0.667969183083 0.999297855922 0.667035491173
71
+ C 0.583780163261 0.083233322577 0.751472711126
72
+ C 0.667308207974 0.333725698301 0.332642719293
73
+ C 0.583072853998 0.415648837358 0.417103534707
74
+ C 0.665518222250 0.998946951077 0.999823845848
75
+ C 0.584060430137 0.084128780787 0.084087395364
76
+ C 0.666841928313 0.332826686380 0.668613859401
77
+ C 0.584129079799 0.416971708014 0.750533288230
78
+ C 0.667128318788 0.666092827375 0.332427865580
79
+ C 0.583134756176 0.748844626255 0.416288571254
80
+ C 0.666704756184 0.334012712801 0.000764611944
81
+ C 0.581429389819 0.417361617528 0.081686237507
82
+ C 0.665689079374 0.667165456748 0.666876088005
83
+ C 0.583023643425 0.751102181713 0.749194648569
84
+ C 0.666397826847 0.000174566390 0.333602025403
85
+ C 0.584578585689 0.083331155256 0.416529600857
86
+
87
+ K_POINTS crystal
88
+ 2
89
+ 0.0000000000 0.0000000000 0.0000000000 1.0
90
+ 0.0000000000 1.0800000000 1.0800000000 1.0
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/pw2bgw.in ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ &input_pw2bgw
2
+ prefix = 'diamond-zg-A7-sc3-202'
3
+ outdir = './tmp'
4
+ real_or_complex = 2
5
+ vscg_flag = .true.
6
+ vscg_file = 'VSC'
7
+ /
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-202/scf.in ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &CONTROL
2
+ calculation = 'scf'
3
+ prefix = 'diamond-zg-A7-sc3-202'
4
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
5
+ outdir = './tmp'
6
+ /
7
+
8
+ &SYSTEM
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ /
14
+
15
+ &ELECTRONS
16
+ diagonalization = 'david'
17
+ mixing_mode = 'plain'
18
+ mixing_beta = 0.70
19
+ conv_thr = 1.0d-14
20
+ /
21
+
22
+ CELL_PARAMETERS angstrom
23
+ -5.3209837466 0.0000000000 -5.3209837466
24
+ 0.0000000000 5.3209837466 5.3209837466
25
+ 5.3209837466 5.3209837466 0.0000000000
26
+
27
+ ATOMIC_SPECIES
28
+ C 12.011 C-PBE-NLCC.upf
29
+
30
+ ATOMIC_POSITIONS crystal
31
+ C 0.000044397513 0.999723350334 0.999652026405
32
+ C 0.915597543354 0.083304042018 0.083549789805
33
+ C 0.001005416882 0.334695692952 0.667221165382
34
+ C 0.916825238823 0.415812604908 0.751012502359
35
+ C 0.000884553315 0.665418205368 0.334953631437
36
+ C 0.916098205162 0.750855067301 0.416398139824
37
+ C 0.000791737292 0.333060309057 0.000397483427
38
+ C 0.915996495330 0.414992195526 0.084466167477
39
+ C 0.997988084148 0.666398811680 0.667596226047
40
+ C 0.915353858455 0.749712572261 0.749749873328
41
+ C 0.999790962176 0.000575746446 0.332766978035
42
+ C 0.915985495524 0.083181013100 0.416414818444
43
+ C 0.999286153736 0.668102581150 0.999074084036
44
+ C 0.915889666287 0.750390924883 0.083606023051
45
+ C 0.999223373988 0.998559252074 0.667662707361
46
+ C 0.917624285135 0.085915826283 0.748839576810
47
+ C 0.000718222623 0.332406666806 0.333782718232
48
+ C 0.916524083827 0.417313083825 0.415459150232
49
+ C 0.334413151028 0.334087915852 0.999888127334
50
+ C 0.251603879935 0.417041972130 0.083013222092
51
+ C 0.332188719645 0.667160037988 0.665338374177
52
+ C 0.249382325392 0.749631019894 0.748210996059
53
+ C 0.331722143854 0.998877233405 0.331064551905
54
+ C 0.249770965914 0.083405216228 0.416092828595
55
+ C 0.333429519740 0.667463011933 0.998663826100
56
+ C 0.249357556369 0.748744191784 0.082363954763
57
+ C 0.333908300284 0.000636728328 0.667531172260
58
+ C 0.249996046613 0.081695714721 0.751671002591
59
+ C 0.333919352277 0.333498057975 0.332719544247
60
+ C 0.250450713642 0.416502699930 0.418537771660
61
+ C 0.333054236872 0.998980932202 0.999938353213
62
+ C 0.249764979769 0.081770889662 0.083279835324
63
+ C 0.334515400794 0.334513428113 0.666447512117
64
+ C 0.251689155090 0.418876296392 0.749681107434
65
+ C 0.333269037880 0.666381809241 0.333743914544
66
+ C 0.251216730749 0.749966444978 0.417180401825
67
+ C 0.666289664863 0.667217508603 0.999771134409
68
+ C 0.583663910735 0.750265924944 0.083576823265
69
+ C 0.667969183083 0.999297855922 0.667035491173
70
+ C 0.583780163261 0.083233322577 0.751472711126
71
+ C 0.667308207974 0.333725698301 0.332642719293
72
+ C 0.583072853998 0.415648837358 0.417103534707
73
+ C 0.665518222250 0.998946951077 0.999823845848
74
+ C 0.584060430137 0.084128780787 0.084087395364
75
+ C 0.666841928313 0.332826686380 0.668613859401
76
+ C 0.584129079799 0.416971708014 0.750533288230
77
+ C 0.667128318788 0.666092827375 0.332427865580
78
+ C 0.583134756176 0.748844626255 0.416288571254
79
+ C 0.666704756184 0.334012712801 0.000764611944
80
+ C 0.581429389819 0.417361617528 0.081686237507
81
+ C 0.665689079374 0.667165456748 0.666876088005
82
+ C 0.583023643425 0.751102181713 0.749194648569
83
+ C 0.666397826847 0.000174566390 0.333602025403
84
+ C 0.584578585689 0.083331155256 0.416529600857
85
+
86
+ K_POINTS automatic
87
+ 2 2 2 0 0 0
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/calc.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from HPRO import PW2AOkernel
2
+
3
+ kernel = PW2AOkernel(
4
+ lcao_interface='siesta',
5
+ lcaodata_root='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/aobasis',
6
+ hrdata_interface='qe-bgw',
7
+ vscdir='./VSC',
8
+ upfdir='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/pseudos',
9
+ ecutwfn=30,
10
+ )
11
+ kernel.run_pw2ao_rs('./aohamiltonian')
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/meta.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "idx": 203,
3
+ "prefix": "diamond-zg-A7-sc3-203",
4
+ "cell": "sc3",
5
+ "center": "equil",
6
+ "direction": "zg_axis",
7
+ "delta_rms_ang": -0.02,
8
+ "actual_rms_from_center_ang": 0.02,
9
+ "zg_rms_ang": 0.0668588489279093,
10
+ "n_atoms": 54,
11
+ "sc_size": [
12
+ 3,
13
+ 3,
14
+ 3
15
+ ],
16
+ "clean_axis": "physical_fd_zg_axis"
17
+ }
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/meta.release.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "zg_train_a7_physical_fd",
3
+ "frame_id": "disp-203",
4
+ "has_aohamiltonian": true,
5
+ "has_ki_hamiltonian": false,
6
+ "has_overlap": true,
7
+ "source_path": "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg_A7_physical_fd/data/disp-203"
8
+ }
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/nscf.in ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &CONTROL
2
+ calculation = 'nscf'
3
+ prefix = 'diamond-zg-A7-sc3-203'
4
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
5
+ outdir = './tmp'
6
+ /
7
+
8
+ &SYSTEM
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ nbnd = 120
14
+ /
15
+
16
+ &ELECTRONS
17
+ diagonalization = 'david'
18
+ mixing_mode = 'plain'
19
+ mixing_beta = 0.70
20
+ conv_thr = 1.0d-14
21
+ /
22
+
23
+ CELL_PARAMETERS angstrom
24
+ -5.3209837466 0.0000000000 -5.3209837466
25
+ 0.0000000000 5.3209837466 5.3209837466
26
+ 5.3209837466 5.3209837466 0.0000000000
27
+
28
+ ATOMIC_SPECIES
29
+ C 12.011 C-PBE-NLCC.upf
30
+
31
+ ATOMIC_POSITIONS crystal
32
+ C 0.999911204974 0.000553299333 0.000695947189
33
+ C 0.918804914702 0.083391914554 0.082900418980
34
+ C 0.997989166237 0.330608614097 0.665557669236
35
+ C 0.916349520945 0.418374785955 0.747974996691
36
+ C 0.998230893371 0.669163589263 0.330092737127
37
+ C 0.917803588267 0.748289861169 0.417203721762
38
+ C 0.998416525415 0.333879381886 0.999205033146
39
+ C 0.918007010749 0.420015607539 0.081067663636
40
+ C 0.004023831704 0.667202376640 0.664807547907
41
+ C 0.919292281680 0.750574851249 0.750500254754
42
+ C 0.000418075648 0.998848507108 0.334466043931
43
+ C 0.918029007542 0.083637969572 0.417170364522
44
+ C 0.001427692527 0.663794837699 0.001851831928
45
+ C 0.918220668835 0.749218148824 0.082787952488
46
+ C 0.001553252025 0.002881495851 0.664674585278
47
+ C 0.914751428320 0.078168343205 0.752320847790
48
+ C 0.998563554754 0.335186666388 0.332434563537
49
+ C 0.916951830937 0.415373828121 0.419081700945
50
+ C 0.331173697944 0.331824168295 0.000223745333
51
+ C 0.246792238721 0.415916051511 0.083973557226
52
+ C 0.335622560710 0.665679924024 0.669323251646
53
+ C 0.251235347806 0.750737955983 0.753578009292
54
+ C 0.336555712293 0.002245533191 0.337870896190
55
+ C 0.250458066762 0.083189563315 0.417814344220
56
+ C 0.333140960520 0.665073976133 0.002672347800
57
+ C 0.251284885852 0.752511612203 0.085272091883
58
+ C 0.332183399432 0.998726543345 0.664937655480
59
+ C 0.250007905364 0.086608566330 0.746657996229
60
+ C 0.332161295446 0.333003884051 0.334560911506
61
+ C 0.249098571307 0.416994595912 0.412924458090
62
+ C 0.333891526257 0.002038135596 0.000123293575
63
+ C 0.250470039052 0.086458216447 0.083440330762
64
+ C 0.330969198412 0.330973143773 0.667104975765
65
+ C 0.246621688410 0.412247402988 0.750637786541
66
+ C 0.333461924241 0.667236381517 0.332512170912
67
+ C 0.247566537093 0.750067105815 0.415639197759
68
+ C 0.667420670273 0.665564982793 0.000457731181
69
+ C 0.582672177121 0.749468145882 0.082846354880
70
+ C 0.664061633834 0.001404288156 0.665929017654
71
+ C 0.582439672068 0.083533350618 0.747054579158
72
+ C 0.665383584053 0.332548603397 0.334714561415
73
+ C 0.583854290595 0.418702321055 0.415792931995
74
+ C 0.668963555499 0.002106097846 0.000352308303
75
+ C 0.581879138316 0.081742434198 0.081825210681
76
+ C 0.666316143373 0.334346627240 0.662772281198
77
+ C 0.581741838993 0.416056579743 0.748933424949
78
+ C 0.665743362424 0.667814345249 0.335144268840
79
+ C 0.583730486239 0.752310743261 0.417422858902
80
+ C 0.666590487632 0.331974574397 0.998470776111
81
+ C 0.587141218952 0.415276760716 0.086627526396
82
+ C 0.668621841253 0.665669086504 0.666247823990
83
+ C 0.583952711741 0.747795632346 0.751610704271
84
+ C 0.667204346307 0.999650867219 0.332795949194
85
+ C 0.580842827212 0.083337685260 0.416940799696
86
+
87
+ K_POINTS crystal
88
+ 2
89
+ 0.0000000000 0.0000000000 0.0000000000 1.0
90
+ 0.0000000000 1.0800000000 1.0800000000 1.0
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/pw2bgw.in ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ &input_pw2bgw
2
+ prefix = 'diamond-zg-A7-sc3-203'
3
+ outdir = './tmp'
4
+ real_or_complex = 2
5
+ vscg_flag = .true.
6
+ vscg_file = 'VSC'
7
+ /
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-203/scf.in ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &CONTROL
2
+ calculation = 'scf'
3
+ prefix = 'diamond-zg-A7-sc3-203'
4
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
5
+ outdir = './tmp'
6
+ /
7
+
8
+ &SYSTEM
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ /
14
+
15
+ &ELECTRONS
16
+ diagonalization = 'david'
17
+ mixing_mode = 'plain'
18
+ mixing_beta = 0.70
19
+ conv_thr = 1.0d-14
20
+ /
21
+
22
+ CELL_PARAMETERS angstrom
23
+ -5.3209837466 0.0000000000 -5.3209837466
24
+ 0.0000000000 5.3209837466 5.3209837466
25
+ 5.3209837466 5.3209837466 0.0000000000
26
+
27
+ ATOMIC_SPECIES
28
+ C 12.011 C-PBE-NLCC.upf
29
+
30
+ ATOMIC_POSITIONS crystal
31
+ C 0.999911204974 0.000553299333 0.000695947189
32
+ C 0.918804914702 0.083391914554 0.082900418980
33
+ C 0.997989166237 0.330608614097 0.665557669236
34
+ C 0.916349520945 0.418374785955 0.747974996691
35
+ C 0.998230893371 0.669163589263 0.330092737127
36
+ C 0.917803588267 0.748289861169 0.417203721762
37
+ C 0.998416525415 0.333879381886 0.999205033146
38
+ C 0.918007010749 0.420015607539 0.081067663636
39
+ C 0.004023831704 0.667202376640 0.664807547907
40
+ C 0.919292281680 0.750574851249 0.750500254754
41
+ C 0.000418075648 0.998848507108 0.334466043931
42
+ C 0.918029007542 0.083637969572 0.417170364522
43
+ C 0.001427692527 0.663794837699 0.001851831928
44
+ C 0.918220668835 0.749218148824 0.082787952488
45
+ C 0.001553252025 0.002881495851 0.664674585278
46
+ C 0.914751428320 0.078168343205 0.752320847790
47
+ C 0.998563554754 0.335186666388 0.332434563537
48
+ C 0.916951830937 0.415373828121 0.419081700945
49
+ C 0.331173697944 0.331824168295 0.000223745333
50
+ C 0.246792238721 0.415916051511 0.083973557226
51
+ C 0.335622560710 0.665679924024 0.669323251646
52
+ C 0.251235347806 0.750737955983 0.753578009292
53
+ C 0.336555712293 0.002245533191 0.337870896190
54
+ C 0.250458066762 0.083189563315 0.417814344220
55
+ C 0.333140960520 0.665073976133 0.002672347800
56
+ C 0.251284885852 0.752511612203 0.085272091883
57
+ C 0.332183399432 0.998726543345 0.664937655480
58
+ C 0.250007905364 0.086608566330 0.746657996229
59
+ C 0.332161295446 0.333003884051 0.334560911506
60
+ C 0.249098571307 0.416994595912 0.412924458090
61
+ C 0.333891526257 0.002038135596 0.000123293575
62
+ C 0.250470039052 0.086458216447 0.083440330762
63
+ C 0.330969198412 0.330973143773 0.667104975765
64
+ C 0.246621688410 0.412247402988 0.750637786541
65
+ C 0.333461924241 0.667236381517 0.332512170912
66
+ C 0.247566537093 0.750067105815 0.415639197759
67
+ C 0.667420670273 0.665564982793 0.000457731181
68
+ C 0.582672177121 0.749468145882 0.082846354880
69
+ C 0.664061633834 0.001404288156 0.665929017654
70
+ C 0.582439672068 0.083533350618 0.747054579158
71
+ C 0.665383584053 0.332548603397 0.334714561415
72
+ C 0.583854290595 0.418702321055 0.415792931995
73
+ C 0.668963555499 0.002106097846 0.000352308303
74
+ C 0.581879138316 0.081742434198 0.081825210681
75
+ C 0.666316143373 0.334346627240 0.662772281198
76
+ C 0.581741838993 0.416056579743 0.748933424949
77
+ C 0.665743362424 0.667814345249 0.335144268840
78
+ C 0.583730486239 0.752310743261 0.417422858902
79
+ C 0.666590487632 0.331974574397 0.998470776111
80
+ C 0.587141218952 0.415276760716 0.086627526396
81
+ C 0.668621841253 0.665669086504 0.666247823990
82
+ C 0.583952711741 0.747795632346 0.751610704271
83
+ C 0.667204346307 0.999650867219 0.332795949194
84
+ C 0.580842827212 0.083337685260 0.416940799696
85
+
86
+ K_POINTS automatic
87
+ 2 2 2 0 0 0
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/calc.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from HPRO import PW2AOkernel
2
+
3
+ kernel = PW2AOkernel(
4
+ lcao_interface='siesta',
5
+ lcaodata_root='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/aobasis',
6
+ hrdata_interface='qe-bgw',
7
+ vscdir='./VSC',
8
+ upfdir='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/pseudos',
9
+ ecutwfn=30,
10
+ )
11
+ kernel.run_pw2ao_rs('./aohamiltonian')
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/meta.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "idx": 204,
3
+ "prefix": "diamond-zg-A7-sc3-204",
4
+ "cell": "sc3",
5
+ "center": "equil",
6
+ "direction": "zg_axis",
7
+ "delta_rms_ang": 0.02,
8
+ "actual_rms_from_center_ang": 0.02,
9
+ "zg_rms_ang": 0.0668588489279093,
10
+ "n_atoms": 54,
11
+ "sc_size": [
12
+ 3,
13
+ 3,
14
+ 3
15
+ ],
16
+ "clean_axis": "physical_fd_zg_axis"
17
+ }
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/meta.release.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "zg_train_a7_physical_fd",
3
+ "frame_id": "disp-204",
4
+ "has_aohamiltonian": true,
5
+ "has_ki_hamiltonian": false,
6
+ "has_overlap": true,
7
+ "source_path": "/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg_A7_physical_fd/data/disp-204"
8
+ }
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/nscf.in ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &CONTROL
2
+ calculation = 'nscf'
3
+ prefix = 'diamond-zg-A7-sc3-204'
4
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
5
+ outdir = './tmp'
6
+ /
7
+
8
+ &SYSTEM
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ nbnd = 120
14
+ /
15
+
16
+ &ELECTRONS
17
+ diagonalization = 'david'
18
+ mixing_mode = 'plain'
19
+ mixing_beta = 0.70
20
+ conv_thr = 1.0d-14
21
+ /
22
+
23
+ CELL_PARAMETERS angstrom
24
+ -5.3209837466 0.0000000000 -5.3209837466
25
+ 0.0000000000 5.3209837466 5.3209837466
26
+ 5.3209837466 5.3209837466 0.0000000000
27
+
28
+ ATOMIC_SPECIES
29
+ C 12.011 C-PBE-NLCC.upf
30
+
31
+ ATOMIC_POSITIONS crystal
32
+ C 0.000088795026 0.999446700667 0.999304052811
33
+ C 0.914528419571 0.083274751173 0.083766246747
34
+ C 0.002010833763 0.336058052570 0.667775664097
35
+ C 0.916983811449 0.414958544559 0.752025004249
36
+ C 0.001769106629 0.664169744070 0.336573929540
37
+ C 0.915529744127 0.751710136012 0.416129612511
38
+ C 0.001583474585 0.332787284780 0.000794966854
39
+ C 0.915326323524 0.413317724854 0.085599002091
40
+ C 0.995976168296 0.666130956694 0.668525785426
41
+ C 0.914041050713 0.749425145932 0.749499746186
42
+ C 0.999581924352 0.001151492892 0.332200622736
43
+ C 0.915304324852 0.083028694276 0.416162969751
44
+ C 0.998572307473 0.669538495634 0.998148168072
45
+ C 0.915112665438 0.750781850236 0.083878713239
46
+ C 0.998446747975 0.997118504149 0.668658748056
47
+ C 0.918581904074 0.088498320642 0.747679153150
48
+ C 0.001436445246 0.331480000278 0.334232103130
49
+ C 0.916381501457 0.417959502393 0.414251633328
50
+ C 0.335492968723 0.334842498371 0.999776254667
51
+ C 0.253207760339 0.417417279003 0.082693110380
52
+ C 0.331044105957 0.667653409310 0.664010081688
53
+ C 0.248764651254 0.749262041198 0.746421991647
54
+ C 0.330110954374 0.997754466809 0.328795770477
55
+ C 0.249541932298 0.083477100533 0.415518990053
56
+ C 0.333525706147 0.668259357200 0.997327652200
57
+ C 0.248715113208 0.747488384978 0.081394575724
58
+ C 0.334483267235 0.001273456655 0.668395677853
59
+ C 0.249992093696 0.080058097518 0.753342004711
60
+ C 0.334505371220 0.333662782616 0.332105755161
61
+ C 0.250901427753 0.416338734603 0.420408876183
62
+ C 0.332775140410 0.997961864404 0.999876706425
63
+ C 0.249529960008 0.080208447401 0.083226336844
64
+ C 0.335697468255 0.335693522893 0.666228357568
65
+ C 0.253378310650 0.421085927526 0.749362214399
66
+ C 0.333204742426 0.666096951816 0.334154495755
67
+ C 0.252433461968 0.749932891366 0.417694136514
68
+ C 0.665912663060 0.667768350540 0.999542268819
69
+ C 0.583994488606 0.750531851299 0.083820312726
70
+ C 0.669271699500 0.998595711844 0.667404315680
71
+ C 0.584226993659 0.083133313229 0.752945421782
72
+ C 0.667949749281 0.334118063269 0.331952105252
73
+ C 0.582812375132 0.414631009459 0.417540402278
74
+ C 0.664369777834 0.997893902154 0.999647691697
75
+ C 0.584787527411 0.084924229650 0.084841456925
76
+ C 0.667017189960 0.332320039427 0.670561052136
77
+ C 0.584924826734 0.417276750771 0.751066575991
78
+ C 0.667589970909 0.665518988084 0.331522397827
79
+ C 0.582936179488 0.747689253920 0.415910475371
80
+ C 0.666742845702 0.334692092269 0.001529223889
81
+ C 0.579525446775 0.418056569798 0.080039141211
82
+ C 0.664711492081 0.667664246829 0.667085509343
83
+ C 0.582713953986 0.752204364835 0.748389296668
84
+ C 0.666128987027 0.000349132781 0.333870717472
85
+ C 0.585823838515 0.083328978588 0.416392534577
86
+
87
+ K_POINTS crystal
88
+ 2
89
+ 0.0000000000 0.0000000000 0.0000000000 1.0
90
+ 0.0000000000 1.0800000000 1.0800000000 1.0
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/pw2bgw.in ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ &input_pw2bgw
2
+ prefix = 'diamond-zg-A7-sc3-204'
3
+ outdir = './tmp'
4
+ real_or_complex = 2
5
+ vscg_flag = .true.
6
+ vscg_file = 'VSC'
7
+ /
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-204/scf.in ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ &CONTROL
2
+ calculation = 'scf'
3
+ prefix = 'diamond-zg-A7-sc3-204'
4
+ pseudo_dir = '/capstor/scratch/cscs/apoliukh/qe-agent/studies/zg-test/pp'
5
+ outdir = './tmp'
6
+ /
7
+
8
+ &SYSTEM
9
+ ibrav = 0
10
+ nat = 54
11
+ ntyp = 1
12
+ ecutwfc = 80.0
13
+ /
14
+
15
+ &ELECTRONS
16
+ diagonalization = 'david'
17
+ mixing_mode = 'plain'
18
+ mixing_beta = 0.70
19
+ conv_thr = 1.0d-14
20
+ /
21
+
22
+ CELL_PARAMETERS angstrom
23
+ -5.3209837466 0.0000000000 -5.3209837466
24
+ 0.0000000000 5.3209837466 5.3209837466
25
+ 5.3209837466 5.3209837466 0.0000000000
26
+
27
+ ATOMIC_SPECIES
28
+ C 12.011 C-PBE-NLCC.upf
29
+
30
+ ATOMIC_POSITIONS crystal
31
+ C 0.000088795026 0.999446700667 0.999304052811
32
+ C 0.914528419571 0.083274751173 0.083766246747
33
+ C 0.002010833763 0.336058052570 0.667775664097
34
+ C 0.916983811449 0.414958544559 0.752025004249
35
+ C 0.001769106629 0.664169744070 0.336573929540
36
+ C 0.915529744127 0.751710136012 0.416129612511
37
+ C 0.001583474585 0.332787284780 0.000794966854
38
+ C 0.915326323524 0.413317724854 0.085599002091
39
+ C 0.995976168296 0.666130956694 0.668525785426
40
+ C 0.914041050713 0.749425145932 0.749499746186
41
+ C 0.999581924352 0.001151492892 0.332200622736
42
+ C 0.915304324852 0.083028694276 0.416162969751
43
+ C 0.998572307473 0.669538495634 0.998148168072
44
+ C 0.915112665438 0.750781850236 0.083878713239
45
+ C 0.998446747975 0.997118504149 0.668658748056
46
+ C 0.918581904074 0.088498320642 0.747679153150
47
+ C 0.001436445246 0.331480000278 0.334232103130
48
+ C 0.916381501457 0.417959502393 0.414251633328
49
+ C 0.335492968723 0.334842498371 0.999776254667
50
+ C 0.253207760339 0.417417279003 0.082693110380
51
+ C 0.331044105957 0.667653409310 0.664010081688
52
+ C 0.248764651254 0.749262041198 0.746421991647
53
+ C 0.330110954374 0.997754466809 0.328795770477
54
+ C 0.249541932298 0.083477100533 0.415518990053
55
+ C 0.333525706147 0.668259357200 0.997327652200
56
+ C 0.248715113208 0.747488384978 0.081394575724
57
+ C 0.334483267235 0.001273456655 0.668395677853
58
+ C 0.249992093696 0.080058097518 0.753342004711
59
+ C 0.334505371220 0.333662782616 0.332105755161
60
+ C 0.250901427753 0.416338734603 0.420408876183
61
+ C 0.332775140410 0.997961864404 0.999876706425
62
+ C 0.249529960008 0.080208447401 0.083226336844
63
+ C 0.335697468255 0.335693522893 0.666228357568
64
+ C 0.253378310650 0.421085927526 0.749362214399
65
+ C 0.333204742426 0.666096951816 0.334154495755
66
+ C 0.252433461968 0.749932891366 0.417694136514
67
+ C 0.665912663060 0.667768350540 0.999542268819
68
+ C 0.583994488606 0.750531851299 0.083820312726
69
+ C 0.669271699500 0.998595711844 0.667404315680
70
+ C 0.584226993659 0.083133313229 0.752945421782
71
+ C 0.667949749281 0.334118063269 0.331952105252
72
+ C 0.582812375132 0.414631009459 0.417540402278
73
+ C 0.664369777834 0.997893902154 0.999647691697
74
+ C 0.584787527411 0.084924229650 0.084841456925
75
+ C 0.667017189960 0.332320039427 0.670561052136
76
+ C 0.584924826734 0.417276750771 0.751066575991
77
+ C 0.667589970909 0.665518988084 0.331522397827
78
+ C 0.582936179488 0.747689253920 0.415910475371
79
+ C 0.666742845702 0.334692092269 0.001529223889
80
+ C 0.579525446775 0.418056569798 0.080039141211
81
+ C 0.664711492081 0.667664246829 0.667085509343
82
+ C 0.582713953986 0.752204364835 0.748389296668
83
+ C 0.666128987027 0.000349132781 0.333870717472
84
+ C 0.585823838515 0.083328978588 0.416392534577
85
+
86
+ K_POINTS automatic
87
+ 2 2 2 0 0 0
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-205/calc.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from HPRO import PW2AOkernel
2
+
3
+ kernel = PW2AOkernel(
4
+ lcao_interface='siesta',
5
+ lcaodata_root='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/aobasis',
6
+ hrdata_interface='qe-bgw',
7
+ vscdir='./VSC',
8
+ upfdir='/capstor/scratch/cscs/apoliukh/qe-agent/epc_ml_zg/pseudos',
9
+ ecutwfn=30,
10
+ )
11
+ kernel.run_pw2ao_rs('./aohamiltonian')
releases/diamond_hpro_deeph_v2/data/zg_train_a7_physical_fd/disp-205/meta.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "idx": 205,
3
+ "prefix": "diamond-zg-A7-sc3-205",
4
+ "cell": "sc3",
5
+ "center": "equil",
6
+ "direction": "transverse_00",
7
+ "delta_rms_ang": -0.015,
8
+ "actual_rms_from_center_ang": 0.015,
9
+ "zg_rms_ang": 0.0668588489279093,
10
+ "n_atoms": 54,
11
+ "sc_size": [
12
+ 3,
13
+ 3,
14
+ 3
15
+ ],
16
+ "clean_axis": "physical_fd_transverse_collective"
17
+ }