Solving Schrodinger Equations Using Physically Constrained Neural Network
Solving Schrodinger Equations Using Physically Constrained Neural Network
Solving Schrodinger Equations Using Physically Constrained Neural Network
quantum many-body problems using variational optimization, various physical constraints have to
be injected into the neural network by construction, to increase the data and learning efficiency. We
build the unitary constraint to the variational wave function using
R x a monotonic neural network to
represent the Cumulative Distribution Function (CDF) F (x) = −∞ ψ ∗ ψdx0 . Using this constrained
neural network to represent the variational wave function, we solve Schrodinger equations using auto-
differentiation and stochastic gradient descent (SGD), by minimizing the violation of the trial wave
function ψ(x) to the Schrodinger equation. For several classical problems in quantum mechanics,
we obtain their ground state wave function and energy with very low errors. The method developed
in the present paper may pave a new way in solving nuclear many body problems in the future.
Keywords: Deep neural network; auto differentiation; variational problems; the Cumulative
Distribution Function; ground state wave function
PACS numbers:
III. Results
Nlayer
1 2 3 4
Nunit
4 0.9995717 0.9999767 0.9999705 0.9999618
8 0.9999416 0.9999797 0.9999910 0.9999932
16 0.9999861 0.9999923 0.9999936 0.9999967
32 0.9999789 0.9999909 0.9999896 0.9999922
64 0.9999744 0.9999746 0.9999903 0.9999941
proximation function for the grond state wave function. from zero to infinity at the boundary. We think that this
is due to the fact that the soft constraint cannot handle
the infinite potential energy at the boundary well, so the
probability density at the boundary is not 0.
IV. Conclusions
ciency. Third, the anti-symmetric constraints of the wave No.12075098), the Natural Science Foundation of Hubei
function should be considered for many fermion systems. Province (Grant No.2019CFB563), the Hubei Province
Although further efforts have to be done to improve the Department of Education (Grant No. D20201108), Hubei
current method, it shows good properties in solving clas- Province Department of Science and Technology (Grant
sical quantum mechanical problems. The next step is No. 2021BLB171). LG Pang and KF Pu also acknowl-
to solve the ground state energy and wave functions of edge the support provided by Huawei Technologies Co.,
Deuteron. It also paves a new way in solving many nu- Ltd. Computations are performed at the NSC3 super
cleon problems. cluster at CCNU and High-Performance Computing Cen-
ter of Wuhan University of Science and Technology.
Acknowledgments
[1] G. Cybenko, Mathematics of Control, Signals, and Sys- [17] S. Chen, O. V. Savchuk, S. Zheng, B. Chen, H. Stoecker,
tems (MCSS) 2, 303 (1989), ISSN 0932-4194, URL http: L. Wang, and K. Zhou, Physical Review D (2022).
//dx.doi.org/10.1007/BF02551274. [18] Y. Che, C. Gneiting, and F. Nori, ArXiv: 2202.02750
[2] A. Boehnlein, M. Diefenthaler, N. Sato, M. Schram, (2022).
V. Ziegler, C. Fanelli, M. Hjorth-Jensen, T. Horn, [19] M. Raissi, P. Perdikaris, and G. E. Karniadakis, ArXiv:
M. P. Kuchera, D. Lee, et al., Rev. Mod. Phys. 94, 1711.10561 (2017).
031003 (2022), URL https://link.aps.org/doi/10. [20] M. Raissi, P. Perdikaris, and G. E. Karniadakis, ArXiv:
1103/RevModPhys.94.031003. 1711.10566 (2017).
[3] D. J. MacKay and D. J. Mac Kay, Information theory, [21] M. Raissi, P. Perdikaris, and G. E. Karniadakis, Journal
inference and learning algorithms (Cambridge university of Computational Physics 378, 686 (2019).
press, 2003). [22] J. N. Hendriks, C. Jidling, A. G. Wills, and T. B. Schön,
[4] P. Mehta, M. Bukov, C.-H. Wang, A. G. R. Day, ArXiv: 2002.01600 (2020).
C. Richardson, C. K. Fisher, and D. J. Schwab, Physics [23] D. Pfau, J. S. Spencer, A. G. D. G. Matthews,
reports 810, 1 (2018). and W. M. C. Foulkes, Phys. Rev. Res. 2, 033429
[5] E. M. Nordhagen, J. M. Kim, B. Fore, A. Lovato, and (2020), URL https://link.aps.org/doi/10.1103/
M. Hjorth-Jensen arXiv:2210.00365 (2022). PhysRevResearch.2.033429.
[6] B. R. Barrett, P. Navratil, and J. P. Vary, Prog. Part. [24] J. Hermann, Z. Schätzle, and F. Noé, Nature Chemistry
Nucl. Phys. 69, 131 (2013). pp. 1–7 (2019).
[7] G. Torlai, G. Mazzola, J. Carrasquilla, M. Troyer, [25] P. Hohenberg and W. Kohn, Phys. Rev. 136,
R. Melko, and G. Carleo, Nature Physics 14, 447 (2018). B864 (1964), URL https://link.aps.org/doi/10.
[8] C. Adams, G. Carleo, A. Lovato, and N. Rocco, Phys. 1103/PhysRev.136.B864.
Rev. Lett. 127, 022502 (2021), URL https://link.aps. [26] W. Kohn and L. J. Sham, Phys. Rev. 140,
org/doi/10.1103/PhysRevLett.127.022502. A1133 (1965), URL https://link.aps.org/doi/10.
[9] G. Carleo, I. Cirac, K. Cranmer, L. Daudet, M. Schuld, 1103/PhysRev.140.A1133.
N. Tishby, L. Vogt-Maranto, and L. Zdeborová, Rev. [27] J. B. Condon, Surface area and porosity determinations
Mod. Phys. 91, 045002 (2019), URL https://link.aps. by physisorption: Measurement, classical theories and
org/doi/10.1103/RevModPhys.91.045002. quantum theory (Elsevier, 2019).
[10] M. Ruggeri, S. Moroni, and M. Holzmann, Phys. Rev. [28] M. Badar, S. Shamsi, J. Ahmed, and A. Alam, Molecular
Lett. 120, 205302 (2018), URL https://link.aps.org/ Dynamics Simulations: Concept, Methods, and Applica-
doi/10.1103/PhysRevLett.120.205302. tions (2020), ISBN 978-3-030-94650-0.
[11] J. Han, L. Zhang, and E. Weinan, J. Comput. Phys. 399 [29] D. Luo, G. Carleo, B. K. Clark, and J. Stokes, Phys. Rev.
(2018). Lett. 127, 276402 (2021), URL https://link.aps.org/
[12] S. Shi, K. Zhou, J. Zhao, S. Mukherjee, and P. Zhuang, doi/10.1103/PhysRevLett.127.276402.
Phys. Rev. D 105, 014017 (2022), URL https://link. [30] M. Creutz and K. J. M. Moriarty, Journal of Physics G:
aps.org/doi/10.1103/PhysRevD.105.014017. Nuclear Physics 9 (1983).
[13] K. Choo, A. Mezzacapo, and G. Carleo, Nature Commu- [31] R. Abbott, M. S. Albergo, A. Botev, D. Boyda, K. Cran-
nications 11 (2019). mer, D. C. Hackett, G. Kanwar, A. G. de G. Matthews,
[14] M. Scherbela, R. Reisenhofer, L. Gerard, P. Marque- S. Racanière, A. Razavi, et al., Proceedings of The 39th
tand, and P. Grohs, Nature Computational Science 2, International Symposium on Lattice Field Theory ???
331 (2021). PoS(LATTICE2022) (2022).
[15] Y. Yang, P. Zhao, arXiv:2211.13998,(2022). [32] J. Keeble and A. Rios, Physics Letters B 809, 135743
[16] R. P. Feynman, Rev. Mod. Phys. 20, 367 (1948), URL (2020).
https://link.aps.org/doi/10.1103/RevModPhys.20. [33] H. Saito, Journal of the Physical Society of Japan 87,
367. 074002 (2018).
7
[34] G. Carleo and M. Troyer, Science 355, 602 (2017). [38] M. Capak and B. Gönül, Modern Physics Letters A 31,
[35] A. Paszke, S. Gross, S. Chintala, G. Chanan, E. Yang, 1650134 (2016).
Z. DeVito, Z. Lin, A. Desmaison, L. Antiga, and A. Lerer [39] S. Marsland, Markov Chain Monte Carlo Methods (Ma-
(2017). chine Learning,2014).
[36] X. Glorot and Y. Bengio, in Proceedings of the thir- [40] M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen,
teenth international conference on artificial intelligence C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin,
and statistics (JMLR Workshop and Conference Pro- et al., arXiv preprint arXiv:1603.04467 (2016).
ceedings, 2010), pp. 249–256. [41] D. P. Kingma and J. Ba, arXiv preprint arXiv:1412.6980
[37] S. Garrett, The Simple Harmonic Oscillator (2020), pp. (2014).
59–131, ISBN 978-3-030-44786-1.