gpu4pyscf 1.2.0__tar.gz → 1.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. gpu4pyscf-1.3.0/CHANGELOG +98 -0
  2. gpu4pyscf-1.3.0/LICENSE +201 -0
  3. gpu4pyscf-1.3.0/PKG-INFO +7 -0
  4. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/README.md +4 -3
  5. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/__config__.py +14 -0
  6. gpu4pyscf-1.3.0/gpu4pyscf/__init__.py +17 -0
  7. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/cc/ccsd_incore.py +10 -11
  8. gpu4pyscf-1.3.0/gpu4pyscf/df/__init__.py +16 -0
  9. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/cderi.py +10 -11
  10. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/df.py +59 -46
  11. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/df_jk.py +18 -18
  12. gpu4pyscf-1.3.0/gpu4pyscf/df/grad/__init__.py +20 -0
  13. gpu4pyscf-1.3.0/gpu4pyscf/df/grad/jk.py +193 -0
  14. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/grad/rhf.py +21 -75
  15. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/grad/rks.py +10 -11
  16. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/grad/uhf.py +22 -97
  17. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/grad/uks.py +10 -11
  18. gpu4pyscf-1.3.0/gpu4pyscf/df/hessian/__init__.py +20 -0
  19. gpu4pyscf-1.3.0/gpu4pyscf/df/hessian/jk.py +443 -0
  20. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/hessian/rhf.py +246 -229
  21. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/hessian/rks.py +26 -26
  22. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/hessian/uhf.py +265 -260
  23. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/hessian/uks.py +37 -37
  24. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/df/int3c2e.py +330 -412
  25. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/gen_grid.py +1 -2
  26. gpu4pyscf-1.3.0/gpu4pyscf/dft/gks.py +30 -0
  27. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/libxc.py +16 -14
  28. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/libxc_structs.py +10 -11
  29. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/numint.py +213 -144
  30. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/radi.py +1 -2
  31. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/rks.py +18 -15
  32. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/roks.py +10 -13
  33. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/uks.py +10 -13
  34. gpu4pyscf-1.3.0/gpu4pyscf/dft/xc_alias.py +26 -0
  35. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/xc_deriv.py +10 -11
  36. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/drivers/dft_driver.py +10 -11
  37. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/drivers/opt_driver.py +10 -10
  38. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/fci/direct_spin1.py +10 -11
  39. gpu4pyscf-1.3.0/gpu4pyscf/grad/dispersion.py +29 -0
  40. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/grad/rhf.py +134 -88
  41. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/grad/rks.py +42 -24
  42. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/grad/uhf.py +13 -14
  43. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/grad/uks.py +31 -18
  44. gpu4pyscf-1.3.0/gpu4pyscf/gto/__init__.py +13 -0
  45. gpu4pyscf-1.2.0/gpu4pyscf/gto/moleintor.py → gpu4pyscf-1.3.0/gpu4pyscf/gto/int3c1e.py +117 -71
  46. gpu4pyscf-1.3.0/gpu4pyscf/gto/int3c1e_ip.py +381 -0
  47. gpu4pyscf-1.3.0/gpu4pyscf/gto/mole.py +259 -0
  48. gpu4pyscf-1.3.0/gpu4pyscf/gto/moleintor.py +58 -0
  49. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/hessian/__init__.py +1 -2
  50. gpu4pyscf-1.3.0/gpu4pyscf/hessian/dispersion.py +28 -0
  51. gpu4pyscf-1.3.0/gpu4pyscf/hessian/jk.py +305 -0
  52. gpu4pyscf-1.3.0/gpu4pyscf/hessian/rhf.py +994 -0
  53. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/hessian/rks.py +214 -30
  54. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/hessian/uhf.py +180 -122
  55. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/hessian/uks.py +99 -28
  56. gpu4pyscf-1.3.0/gpu4pyscf/lib/__init__.py +25 -0
  57. gpu4pyscf-1.3.0/gpu4pyscf/lib/cublas.py +25 -0
  58. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/lib/cupy_helper.py +59 -28
  59. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/lib/cusolver.py +10 -11
  60. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/lib/cutensor.py +13 -12
  61. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/lib/diis.py +2 -3
  62. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/lib/logger.py +10 -11
  63. gpu4pyscf-1.3.0/gpu4pyscf/lib/memcpy.py +95 -0
  64. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/lib/utils.py +10 -13
  65. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/mp/dfmp2.py +10 -11
  66. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/mp/mp2.py +11 -12
  67. gpu4pyscf-1.3.0/gpu4pyscf/pbc/__init__.py +16 -0
  68. gpu4pyscf-1.3.0/gpu4pyscf/pbc/df/__init__.py +20 -0
  69. gpu4pyscf-1.3.0/gpu4pyscf/pbc/df/aft.py +203 -0
  70. gpu4pyscf-1.3.0/gpu4pyscf/pbc/df/aft_jk.py +341 -0
  71. gpu4pyscf-1.3.0/gpu4pyscf/pbc/df/df.py +182 -0
  72. gpu4pyscf-1.3.0/gpu4pyscf/pbc/df/df_jk.py +326 -0
  73. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/pbc/df/fft.py +16 -22
  74. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/pbc/df/fft_jk.py +50 -21
  75. gpu4pyscf-1.3.0/gpu4pyscf/pbc/df/ft_ao.py +405 -0
  76. gpu4pyscf-1.3.0/gpu4pyscf/pbc/dft/__init__.py +28 -0
  77. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/pbc/dft/gen_grid.py +11 -17
  78. gpu4pyscf-1.3.0/gpu4pyscf/pbc/dft/krks.py +165 -0
  79. gpu4pyscf-1.3.0/gpu4pyscf/pbc/dft/kuks.py +164 -0
  80. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/pbc/dft/numint.py +237 -195
  81. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/pbc/dft/rks.py +35 -50
  82. gpu4pyscf-1.3.0/gpu4pyscf/pbc/dft/uks.py +150 -0
  83. gpu4pyscf-1.3.0/gpu4pyscf/pbc/lib/kpts_helper.py +44 -0
  84. gpu4pyscf-1.3.0/gpu4pyscf/pbc/scf/__init__.py +29 -0
  85. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/pbc/scf/hf.py +30 -29
  86. gpu4pyscf-1.3.0/gpu4pyscf/pbc/scf/khf.py +408 -0
  87. gpu4pyscf-1.3.0/gpu4pyscf/pbc/scf/kuhf.py +321 -0
  88. gpu4pyscf-1.3.0/gpu4pyscf/pbc/scf/uhf.py +133 -0
  89. gpu4pyscf-1.3.0/gpu4pyscf/pbc/tools/__init__.py +15 -0
  90. gpu4pyscf-1.3.0/gpu4pyscf/pbc/tools/k2gamma.py +56 -0
  91. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/pbc/tools/pbc.py +10 -13
  92. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/pop/esp.py +12 -13
  93. gpu4pyscf-1.3.0/gpu4pyscf/properties/__init__.py +15 -0
  94. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/properties/ir.py +23 -19
  95. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/properties/polarizability.py +13 -15
  96. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/properties/shielding.py +27 -21
  97. gpu4pyscf-1.3.0/gpu4pyscf/qmmm/__init__.py +15 -0
  98. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/qmmm/chelpg.py +16 -23
  99. gpu4pyscf-1.3.0/gpu4pyscf/qmmm/pbc/__init__.py +15 -0
  100. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/qmmm/pbc/itrf.py +16 -44
  101. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/qmmm/pbc/mm_mole.py +10 -11
  102. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/qmmm/pbc/tools.py +10 -11
  103. gpu4pyscf-1.3.0/gpu4pyscf/scf/__init__.py +26 -0
  104. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/_response_functions.py +10 -11
  105. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/cphf.py +3 -4
  106. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/diis.py +31 -16
  107. gpu4pyscf-1.3.0/gpu4pyscf/scf/dispersion.py +21 -0
  108. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/ghf.py +10 -13
  109. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/hf.py +14 -17
  110. gpu4pyscf-1.3.0/gpu4pyscf/scf/hf_symm.py +19 -0
  111. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/int2c2e.py +10 -11
  112. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/int4c2e.py +11 -83
  113. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/j_engine.py +33 -24
  114. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/jk.py +250 -308
  115. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/rohf.py +10 -13
  116. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/soscf.py +11 -14
  117. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/ucphf.py +10 -11
  118. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/scf/uhf.py +35 -66
  119. gpu4pyscf-1.3.0/gpu4pyscf/scf/uhf_symm.py +17 -0
  120. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/__init__.py +10 -11
  121. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/_attach_solvent.py +10 -11
  122. gpu4pyscf-1.3.0/gpu4pyscf/solvent/grad/__init__.py +13 -0
  123. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/grad/pcm.py +24 -32
  124. gpu4pyscf-1.3.0/gpu4pyscf/solvent/grad/smd.py +92 -0
  125. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/grad/smd_experiment.py +11 -12
  126. gpu4pyscf-1.3.0/gpu4pyscf/solvent/hessian/__init__.py +0 -0
  127. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/hessian/pcm.py +35 -11
  128. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/hessian/smd.py +36 -11
  129. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/hessian/smd_experiment.py +10 -11
  130. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/pcm.py +24 -26
  131. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/smd.py +15 -16
  132. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/solvent/smd_experiment.py +10 -11
  133. gpu4pyscf-1.3.0/gpu4pyscf/tdscf/__init__.py +19 -0
  134. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/tdscf/_lr_eig.py +79 -55
  135. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/tdscf/_uhf_resp_sf.py +10 -13
  136. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/tdscf/rhf.py +10 -13
  137. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/tdscf/rks.py +10 -13
  138. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/tdscf/uhf.py +10 -13
  139. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/tdscf/uks.py +10 -13
  140. gpu4pyscf-1.3.0/gpu4pyscf.egg-info/PKG-INFO +7 -0
  141. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf.egg-info/SOURCES.txt +20 -0
  142. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf.egg-info/requires.txt +1 -1
  143. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/setup.py +14 -18
  144. gpu4pyscf-1.2.0/LICENSE +0 -675
  145. gpu4pyscf-1.2.0/PKG-INFO +0 -13
  146. gpu4pyscf-1.2.0/gpu4pyscf/__init__.py +0 -7
  147. gpu4pyscf-1.2.0/gpu4pyscf/df/__init__.py +0 -17
  148. gpu4pyscf-1.2.0/gpu4pyscf/df/grad/__init__.py +0 -21
  149. gpu4pyscf-1.2.0/gpu4pyscf/df/grad/jk.py +0 -82
  150. gpu4pyscf-1.2.0/gpu4pyscf/df/hessian/__init__.py +0 -21
  151. gpu4pyscf-1.2.0/gpu4pyscf/dft/gks.py +0 -33
  152. gpu4pyscf-1.2.0/gpu4pyscf/dft/xc_alias.py +0 -27
  153. gpu4pyscf-1.2.0/gpu4pyscf/grad/dispersion.py +0 -30
  154. gpu4pyscf-1.2.0/gpu4pyscf/gto/__init__.py +0 -14
  155. gpu4pyscf-1.2.0/gpu4pyscf/gto/mole.py +0 -136
  156. gpu4pyscf-1.2.0/gpu4pyscf/hessian/dispersion.py +0 -29
  157. gpu4pyscf-1.2.0/gpu4pyscf/hessian/rhf.py +0 -804
  158. gpu4pyscf-1.2.0/gpu4pyscf/lib/__init__.py +0 -26
  159. gpu4pyscf-1.2.0/gpu4pyscf/lib/cublas.py +0 -26
  160. gpu4pyscf-1.2.0/gpu4pyscf/pbc/__init__.py +0 -19
  161. gpu4pyscf-1.2.0/gpu4pyscf/pbc/df/__init__.py +0 -25
  162. gpu4pyscf-1.2.0/gpu4pyscf/pbc/dft/__init__.py +0 -31
  163. gpu4pyscf-1.2.0/gpu4pyscf/pbc/scf/__init__.py +0 -32
  164. gpu4pyscf-1.2.0/gpu4pyscf/pbc/tools/__init__.py +0 -18
  165. gpu4pyscf-1.2.0/gpu4pyscf/properties/__init__.py +0 -16
  166. gpu4pyscf-1.2.0/gpu4pyscf/qmmm/__init__.py +0 -16
  167. gpu4pyscf-1.2.0/gpu4pyscf/qmmm/pbc/__init__.py +0 -16
  168. gpu4pyscf-1.2.0/gpu4pyscf/scf/__init__.py +0 -29
  169. gpu4pyscf-1.2.0/gpu4pyscf/scf/dispersion.py +0 -22
  170. gpu4pyscf-1.2.0/gpu4pyscf/scf/hf_symm.py +0 -22
  171. gpu4pyscf-1.2.0/gpu4pyscf/scf/uhf_symm.py +0 -20
  172. gpu4pyscf-1.2.0/gpu4pyscf/solvent/grad/__init__.py +0 -14
  173. gpu4pyscf-1.2.0/gpu4pyscf/solvent/grad/smd.py +0 -183
  174. gpu4pyscf-1.2.0/gpu4pyscf/tdscf/__init__.py +0 -22
  175. gpu4pyscf-1.2.0/gpu4pyscf.egg-info/PKG-INFO +0 -13
  176. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/MANIFEST.in +0 -0
  177. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/cc/__init__.py +0 -0
  178. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/dft/__init__.py +0 -0
  179. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/drivers/__init__.py +0 -0
  180. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/fci/__init__.py +0 -0
  181. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/grad/__init__.py +0 -0
  182. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf/mp/__init__.py +0 -0
  183. {gpu4pyscf-1.2.0/gpu4pyscf/pop → gpu4pyscf-1.3.0/gpu4pyscf/pbc/lib}/__init__.py +0 -0
  184. {gpu4pyscf-1.2.0/gpu4pyscf/solvent/hessian → gpu4pyscf-1.3.0/gpu4pyscf/pop}/__init__.py +0 -0
  185. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf.egg-info/dependency_links.txt +0 -0
  186. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/gpu4pyscf.egg-info/top_level.txt +0 -0
  187. {gpu4pyscf-1.2.0 → gpu4pyscf-1.3.0}/setup.cfg +0 -0
@@ -0,0 +1,98 @@
1
+ v1.3.0 (2025-01-07)
2
+ -------------------
3
+ * New Features
4
+ - PBC analytical Fourier transform on GPU
5
+ * Improvements
6
+ - Optimized computation efficiency and memory footprint for density fitting Hessian
7
+ - Support pickle serialization for most classes (SCF, DF, PCM, etc.)
8
+ - Efficiency of moving CuPy arrays between GPU cards
9
+
10
+
11
+ v1.2.1 (2024-12-20)
12
+ -------------------
13
+ * New Features
14
+ - Change the license from GPL v3.0 to Apache 2.0
15
+ - Multi-GPU support for SCF, Gradients, and Hessian computation using AO-direct algorithm
16
+ - Add PBC HF and DFT with k-points, UHF/UKS, and density fitting
17
+ * Improvements
18
+ - Change the default conv_tol_cpscf = 1e-3 / batch of atoms to conv_tol_cpscf = 1e-6 / atom
19
+ - Fix numerical instability in complex-valued TDHF diagonalization
20
+ - Improve PCM and QMMM with int1e_grids kernel
21
+ - Support non-symmetric int3c2e integral
22
+ - Optimize Hessian calculation with direct SCF
23
+ - Improve the numerical stability of int3c2e for point charge
24
+ - Add CI workflow for multi-GPU
25
+ * Fixes
26
+ - Fix non-contiguous array error in p2p transfer between GPUs.
27
+ - Fix bugs in NMR calculations
28
+
29
+
30
+ v1.2.0 (2024-12-09)
31
+ -------------------
32
+ * New Features
33
+ - Spin-conserved TDA and TDDFT methods
34
+ - Spin-flip TDA method.
35
+ - J-engine using McMuchie-Davidson integral algorithm
36
+ - Support multi-GPU density fitting energy, gradients and Hessian computation.
37
+ - Second order SCF solver
38
+ * Improvements
39
+ - Support non-hermitian density matrix in J/K builder
40
+ - Secondary grids for CPHF solver
41
+ - 3-center integral computation efficiency for gradients and hessian
42
+ - One-electron Coulomb integrals against point charges and Gaussian charge distributions on grids.
43
+ - Automatically apply SCF initial guess from existing wavefunction
44
+
45
+
46
+ v1.1.0 (2024-10-29)
47
+ -------------------
48
+ * New Features
49
+ - Add esp charge and resp charge by @wxj6000 in #208
50
+ - New Rys kernel by @sunqm in #221
51
+ - Optimize nuclear gradients using new Rys kernel by @sunqm in #224
52
+ - GPU kernel for analytical hessian by @sunqm in #227
53
+ - Add QM/MM by @MoleOrbitalHybridAnalyst in #218
54
+ * Improvements
55
+ - Improved compatiability with pyscf 2.7.0 by @wxj6000 in #216
56
+ - Add skipping SCF cycles by @kvkarandashev in #229
57
+ - Skip building gint, gvhf, ... when building libxc by @wxj6000 in #210
58
+ * Bugfix
59
+ - Typo in build_wheels.sh by @wxj6000 in #209
60
+ - Typo in dft_driver.py by @wxj6000 in #220
61
+ - Bugfix: cusolver error when specifying gpu by @wxj6000 in #213
62
+ - Bugfix: error in int2c2e by @wxj6000 in #212
63
+ - Bugfix: inconsistent gradient with CPU. Improved to_cpu, uks gradient, and grid_response by @wxj6000 in #230
64
+ - Bugfix: recompute int3c2e in DF UHF by @wxj6000 in #226
65
+ - New Contributors
66
+ - @MoleOrbitalHybridAnalyst made their first contribution in #218
67
+ - @kvkarandashev made their first contribution in #229
68
+
69
+
70
+ v1.0.2 (2024-09-03)
71
+ -------------------
72
+ * Bugfix: append data in h5 file by @wxj6000 in #200
73
+ * Support customized CHELPG radii by @wxj6000 in #202
74
+ * Add cupy installation guide for developer installation instructions by @henryw7 in #204
75
+ * Bugfix: save density when spin unrestricted by @wxj6000 in #205
76
+ * Add chkfile support for pysisyphus by @henryw7 in #203
77
+
78
+
79
+ v1.0.1 (2024-08-24)
80
+ -------------------
81
+ * Bugfix in rks.reset by @wxj6000 in #191. The bug leads to the failure of geometry optimization with direct SCF (#190)
82
+ * Bugfix when CUDA unified memory is disabled. Removed CUDA unified memory in libxc, and reduced the overhead in calling libxc @wxj6000 in #180, #189
83
+ * Bugfix and Improvement in opt_driver by @wxj6000 in #187 #197
84
+ * Support SMD in opt_driver and dft driver @liuyu-chem1996 in #196
85
+ * Support thermo calculation in dft_driver @liuyu-chem1996 in #192
86
+
87
+
88
+ v1.0.0 (2024-07-23)
89
+ -------------------
90
+ Released features:
91
+ * Density fitting scheme and direct SCF scheme
92
+ * SCF, analytical gradient, and analytical Hessian calculations for Hartree-Fock and DFT
93
+ * Spin-conserved and spin-flip TDA and TDDFT for excitated states
94
+ * Nonlocal functional correction (vv10) for SCF and gradient
95
+ * PCM models, SMD model, their analytical gradients, and semi-analytical Hessian matrix
96
+ * Unrestricted Hartree-Fock and unrestricted DFT, gradient, and Hessian
97
+ * MP2/DF-MP2 and CCSD (experimental)
98
+ * Polarizability, IR, and NMR shielding (experimental)
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.1
2
+ Name: gpu4pyscf
3
+ Version: 1.3.0
4
+ Summary: GPU extensions for PySCF
5
+ Author: PySCF developers
6
+ License: Apache-2.0
7
+ License-File: LICENSE
@@ -41,7 +41,7 @@ The package also provides multiple dockerfiles in ```dockerfiles```. One can use
41
41
  Features
42
42
  --------
43
43
  - Density fitting scheme and direct SCF scheme;
44
- - SCF, analytical Gradient, and analytical Hessian calculations for Hartree-Fock and DFT;
44
+ - SCF, analytical gradient, and analytical Hessian calculations for Hartree-Fock and DFT;
45
45
  - LDA, GGA, mGGA, hybrid, and range-separated functionals via [libXC](https://gitlab.com/libxc/libxc/-/tree/master/);
46
46
  - Spin-conserved and spin-flip TDA and TDDFT for excitated states
47
47
  - Geometry optimization and transition state search via [geomeTRIC](https://geometric.readthedocs.io/en/latest/);
@@ -49,12 +49,13 @@ Features
49
49
  - Nonlocal functional correction (vv10) for SCF and gradient;
50
50
  - ECP is supported and calculated on CPU;
51
51
  - PCM models, SMD model, their analytical gradients, and semi-analytical Hessian matrix;
52
- - Unrestricted Hartree-Fock and Unrestricted DFT, gradient, and Hessian;
52
+ - Unrestricted Hartree-Fock and unrestricted DFT, gradient, and Hessian;
53
53
  - MP2/DF-MP2 and CCSD (experimental);
54
54
  - Polarizability, IR, and NMR shielding (experimental);
55
55
  - QM/MM with PBC;
56
56
  - CHELPG, ESP, and RESP atomic charge;
57
- - Multi-GPU for density fitting (experimental)
57
+ - Multi-GPU for both direct SCF and density fitting (experimental)
58
+ - SCF and DFT with periodic boundary condition (experimental)
58
59
 
59
60
  Limitations
60
61
  --------
@@ -1,3 +1,17 @@
1
+ # Copyright 2021-2024 The PySCF Developers. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
  import cupy
2
16
 
3
17
  _num_devices = cupy.cuda.runtime.getDeviceCount()
@@ -0,0 +1,17 @@
1
+ # Copyright 2021-2024 The PySCF Developers. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ __version__ = '1.3.0'
16
+
17
+ from . import lib, grad, hessian, solvent, scf, dft
@@ -1,17 +1,16 @@
1
- # Copyright 2024 The GPU4PySCF Authors. All Rights Reserved.
1
+ # Copyright 2021-2024 The PySCF Developers. All Rights Reserved.
2
2
  #
3
- # This program is free software: you can redistribute it and/or modify
4
- # it under the terms of the GNU General Public License as published by
5
- # the Free Software Foundation, either version 3 of the License, or
6
- # (at your option) any later version.
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
7
6
  #
8
- # This program is distributed in the hope that it will be useful,
9
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- # GNU General Public License for more details.
7
+ # http://www.apache.org/licenses/LICENSE-2.0
12
8
  #
13
- # You should have received a copy of the GNU General Public License
14
- # along with this program. If not, see <http://www.gnu.org/licenses/>.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
15
14
 
16
15
 
17
16
  '''
@@ -0,0 +1,16 @@
1
+ # Copyright 2021-2024 The PySCF Developers. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ from pyscf.df.addons import load, aug_etb, DEFAULT_AUXBASIS, make_auxbasis, make_auxmol
16
+ from .df import DF
@@ -1,17 +1,16 @@
1
- # Copyright 2023 The GPU4PySCF Authors. All Rights Reserved.
1
+ # Copyright 2021-2024 The PySCF Developers. All Rights Reserved.
2
2
  #
3
- # This program is free software: you can redistribute it and/or modify
4
- # it under the terms of the GNU General Public License as published by
5
- # the Free Software Foundation, either version 3 of the License, or
6
- # (at your option) any later version.
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
7
6
  #
8
- # This program is distributed in the hope that it will be useful,
9
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- # GNU General Public License for more details.
7
+ # http://www.apache.org/licenses/LICENSE-2.0
12
8
  #
13
- # You should have received a copy of the GNU General Public License
14
- # along with this program. If not, see <http://www.gnu.org/licenses/>.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
15
14
 
16
15
  import numpy as np
17
16
  import cupy