Claudio Genovese, Kousuke Nakano, Emanuele Coccia, Claudio Attaccalite, Mario Dagrada, Andrea Zen, Sandro Sorella, Guglielmo Mazzola, Matteo Barborini, Ye Luo, Michele Casula, Luca Capriotti, Centre National de la Recherche Scientifique (CNRS), Institut de minéralogie et de physique des milieux condensés (IMPMC), Université Pierre et Marie Curie - Paris 6 (UPMC)-IPG PARIS-Université Paris Diderot - Paris 7 (UPD7)-Centre National de la Recherche Scientifique (CNRS), Laboratoire de chimie théorique (LCT), Université Pierre et Marie Curie - Paris 6 (UPMC)-Institut de Chimie du CNRS (INC)-Centre National de la Recherche Scientifique (CNRS), Institut de minéralogie, de physique des matériaux et de cosmochimie (IMPMC), Université Pierre et Marie Curie - Paris 6 (UPMC)-Institut de recherche pour le développement [IRD] : UR206-Muséum national d'Histoire naturelle (MNHN)-Centre National de la Recherche Scientifique (CNRS), Nakano, K., Attaccalite, C., Barborini, M., Capriotti, L., Casula, M., Coccia, E., Dagrada, M., Genovese, C., Luo, Y., Mazzola, G., Zen, A., Sorella, S., Centre Interdisciplinaire de Nanoscience de Marseille (CINaM), Aix Marseille Université (AMU)-Centre National de la Recherche Scientifique (CNRS), Université Pierre et Marie Curie - Paris 6 (UPMC)-Université Paris Diderot - Paris 7 (UPD7)-Institut de Physique du Globe de Paris (IPG Paris)-Centre National de la Recherche Scientifique (CNRS), Dipartimento di Scienze Chimiche e Farmaceutiche, University of Trieste, via Giorgieri 1, 34127 Trieste, Italy, and Muséum national d'Histoire naturelle (MNHN)-Université Pierre et Marie Curie - Paris 6 (UPMC)-Institut de recherche pour le développement [IRD] : UR206-Centre National de la Recherche Scientifique (CNRS)
TurboRVB is a computational package for {\it ab initio} Quantum Monte Carlo (QMC) simulations of both molecular and bulk electronic systems. The code implements two types of well established QMC algorithms: Variational Monte Carlo (VMC), and Diffusion Monte Carlo in its robust and efficient lattice regularized variant. A key feature of the code is the possibility of using strongly correlated many-body wave functions. The electronic wave function (WF) is obtained by applying a Jastrow factor, which takes into account dynamical correlations, to the most general mean-field ground state, written either as an antisymmetrized geminal product with spin-singlet pairing, or as a Pfaffian, including both singlet and triplet correlations. This wave function can be viewed as an efficient implementation of the so-called resonating valence bond (RVB) ansatz, first proposed by L. Pauling and P. W. Anderson in quantum chemistry and condensed matter physics, respectively. The RVB ansatz implemented in TurboRVB has a large variational freedom, including the Jastrow correlated Slater determinant as its simplest, but nontrivial case. Moreover, it has the remarkable advantage of remaining with an affordable computational cost, proportional to the one spent for the evaluation of a single Slater determinant. The code implements the adjoint algorithmic differentiation that enables a very efficient evaluation of energy derivatives, comprising the ionic forces. Thus, one can perform structural optimizations and molecular dynamics in the canonical NVT ensemble at the VMC level. For the electronic part, a full WF optimization is made possible thanks to state-of-the-art stochastic algorithms for energy minimization. The code has been efficiently parallelized by using a hybrid MPI-OpenMP protocol, that is also an ideal environment for exploiting the computational power of modern GPU accelerators., 41 pages, 21 figures, 3 tables