QMeCha: quantum Monte Carlo package for fermions in embedding environments
Matteo Barborini, Jorge Charry, Matej Ditte, Andronikos Leventis, Georgios Kafanas, Alexandre Tkatchenko
TL;DR
QMeCha introduces an open-access quantum Monte Carlo package designed to treat fermions embedded in semi-quantum environments comprising classical charges and quantum Drude oscillators, enabling explicit modeling of dispersion, polarization, and electrostatics in large, mixed systems. The framework combines flexible fermionic wavefunctions (Pfaffian, AGP, Slater) with comprehensive Jastrow factors and dedicated drudon wavefunctions, optimized via Variational Monte Carlo and Diffusion Monte Carlo with correlated sampling and size-consistent improvements. The paper details the Hamiltonian formalism, embedding strategies (El-QDO), and a wide range of basis sets and pseudopotentials, together with modular, scalable code structure implemented in Fortran 2008 and demonstrated on sizable benchmarks. Three primary applications—vdW-rich macromolecules, electron-positron systems, and quantum embedding—show QMeCha’s potential as a reference tool for benchmark studies and for developing advanced multi-scale methods, with future prospects for backflow and force evaluations to broaden its utility.
Abstract
We present the first open access version of the QMeCha (Quantum MeCha) code, a quantum Monte Carlo (QMC) package developed to study many-body interactions between different types of quantum particles, with a modular and easy-to-expand structure. The present code has been built to solve the Hamiltonian of a system that can include nuclei and fermions of different mass and charge, e.g. electrons and positrons, embedded in an environment of classical charges and quantum Drude oscillators. To approximate the ground state of this many-particle operator, the code features different wavefunctions. For the fermionic particles, beyond the traditional Slater determinant, QMeCha also includes Geminal functions such as the Pfaffian, and presents different types of explicit correlation terms in the Jastrow factors. The classical point charges and quantum Drude oscillators, described through different variational ansätze, are used to model a molecular environment capable of explicitly describing dispersion, polarization, and electrostatic effects experienced by the nuclear and fermionic subsystem. To integrate these wavefunctions, efficient variational Monte Carlo and diffusion Monte Carlo protocols have been developed, together with a robust wavefunction optimization procedure that features correlated sampling. In conclusion, QMeCha is a massively parallel code introduced here to explore quantum correlation effects in mixed systems with thousands of fermions and bosonic particles, beyond what was previously accessible to other reference methods.
