GPAW: An open Python package for electronic-structure calculations

Jens Jørgen Mortensen,Ask Hjorth Larsen,Mikael Kuisma,Aleksei V. Ivanov,Alireza Taghizadeh,Andrew Peterson,Anubhab Haldar,Asmus Ougaard Dohn,Christian Schäfer,Elvar Örn Jónsson,Eric D. Hermes,Fredrik Andreas Nilsson,Georg Kastlunger,Gianluca Levi,Hannes Jónsson,Hannu Häkkinen,Jakub Fojt,Jiban Kangsabanik,Joachim Sødequist,Jouko Lehtomäki,Julian Heske,Jussi Enkovaara,Kirsten Trøstrup Winther,Marcin Dulak,Marko M. Melander,Martin Ovesen,Martti Louhivuori,Michael Walter,Morten Gjerding,Olga Lopez-Acevedo,Paul Erhart,Robert Warmbier,Rolf Würdemann,Sami Kaappa,Simone Latini,Tara Maria Boland,Thomas Bligaard,Thorbjørn Skovhus,Toma Susi,Tristan Maxson,Tuomas Rossi,Xi Chen,Yorick Leonard A. Schmerwitz,Jakob Schiøtz,Thomas Olsen,Karsten Wedel Jacobsen,Kristian Sommer Thygesen
DOI: https://doi.org/10.1063/5.0182685
2024-04-16
Abstract:We review the GPAW open-source Python package for electronic structure calculations. GPAW is based on the projector-augmented wave method and can solve the self-consistent density functional theory (DFT) equations using three different wave-function representations, namely real-space grids, plane waves, and numerical atomic orbitals. The three representations are complementary and mutually independent and can be connected by transformations via the real-space grid. This multi-basis feature renders GPAW highly versatile and unique among similar codes. By virtue of its modular structure, the GPAW code constitutes an ideal platform for implementation of new features and methodologies. Moreover, it is well integrated with the Atomic Simulation Environment (ASE) providing a flexible and dynamic user interface. In addition to ground-state DFT calculations, GPAW supports many-body GW band structures, optical excitations from the Bethe-Salpeter Equation (BSE), variational calculations of excited states in molecules and solids via direct optimization, and real-time propagation of the Kohn-Sham equations within time-dependent DFT. A range of more advanced methods to describe magnetic excitations and non-collinear magnetism in solids are also now available. In addition, GPAW can calculate non-linear optical tensors of solids, charged crystal point defects, and much more. Recently, support of GPU acceleration has been achieved with minor modifications of the GPAW code thanks to the CuPy library. We end the review with an outlook describing some future plans for GPAW.
Materials Science,Computational Physics
What problem does this paper attempt to address?
The paper mainly introduces an open-source Python software package called GPAW, which is used for electronic structure calculations, particularly in solving the self-consistent density functional theory (DFT) equations using the projector-augmented wave (PAW) method. What sets GPAW apart is its support for three different wave function representations: real-space grid, plane waves, and numerical atomic orbitals, which can be interconverted through real-space grid. This multi-basis feature makes GPAW highly flexible and unique. GPAW is not limited to ground-state DFT calculations only. It also includes advanced functionalities such as GW band structure calculations, optical excitations under the Bethe-Salpeter equation (BSE), direct optimization of excited states for molecules and solids, and real-time propagation of the Kohn-Sham equation in time-dependent DFT. In addition, it can handle magnetic and spin-related issues such as spin-orbit coupling, non-collinear magnetism, and magnetic excitations. The paper also discusses the user-friendliness of GPAW, such as its integration with the Atomic Simulation Environment (ASE) and its developer-friendly modular structure for implementing new features and methods. The code supports GPU acceleration and continues to expand to cover more advanced methods, such as those for describing magnetic excitations, non-collinear magnetism, and nonlinear optical tensor calculations in solids. In summary, GPAW aims to provide a powerful and flexible tool for researchers in materials science and quantum chemistry for electronic structure calculations and studying material properties from first principles.