Newton-X
Newton-X is a general program for molecular dynamics simulations beyond the Born-Oppenheimer approximation. It has been primarily used for simulations of ultrafast processes in photoexcited molecules. It has also been used for simulation of band envelops of absorption and emission spectra.
Newton-X uses the trajectory surface hopping method, a semi-classical approximation in which the nuclei are treated classically by Newtonian dynamics, while the electrons are treated as a quantum subsystem via a local approximation of the Time-dependent Schrödinger Equation. Nonadiabatic effects are recovered by a stochastic algorithm, which allows individual trajectories to change between different potential energy states during the dynamics.
Capabilities
Newton-X is designed as a platform to perform all steps of the nonadiabatic dynamics simulations, from the initial conditions generation, through trajectories computation, to the statistical analysis of the results. It works interfaced to a number of electronic structure programs available for computational chemistry, including Gaussian, Turbomole, Gamess, and Columbus. Its modular development allows to create new interfaces and integrate new methods. Users’ new developments are encouraged and are in due course included into the main branch of the program.Nonadiabatic couplings, the central quantity in nonadiabatic simulations, can be either provided by a third-party program or computed by Newton-X. When computed by Newton-X, it is done with a numerical approximation based on overlap of electronic wavefunctions obtained in sequential time steps. A local diabatization method is also available to provide couplings in the case of weak nonadiabatic interactions.
Hybrid combination of methods is possible in Newton-X. Forces computed with different methods for different atomic subsets can be linearly combined to generate the final force driving the dynamics. These hybrid forces may, for instance, be combined into the popular electrostatic-embedding quantum-mechanical/molecular-mechanical method. Important options for QM/MM simulations, such as link atoms, boundaries, and thermostats are available as well.
As part of the initial conditions module, Newton-X can simulate absorption, emission, and photoelectron spectra, using the Nuclear Ensemble approach, which provides full spectral widths and absolute intensities.
Methods and Interfaces to Third-Party Programs
Newton-X can simulate surface-hopping dynamics with the following programs and quantum-chemical methods:Third-Party Program | Methods |
Columbus | MCSCF, MRCI |
Turbomole | TDDFT, CC2, ADC |
Gaussian | MCSCF, TDDFT, TDA, CIS |
Gamess | MCSCF |
Nonadiabatic Couplings
The surface hopping probability depends on the values of the nonadiabatic couplings between electronic states.Newton-X can either compute nonadiabatic couplings during the dynamics or read them from an interfaced third-party program. The computation of the couplings in Newton-X is done by finite differences, following the Hammes-Schiffer-Tully approach. In this approach, the key quantity for computation of the surface hopping probability, the inner product between the nonadiabatic couplings and the nuclear velocities at time t, is given by
where the terms are wavefunction overlaps between states L and M in different time steps.
This method can be generally used for any electronic-structure method, provided that a configuration interaction representation of the electronic wavefunction can be worked out. In Newton-X, it is used with a number of quantum-chemical methods, including MCSCF, MRCI, CC2, ADC, TDDFT, and TDA. In the case of MCSCF and MRCI, the configuration interaction coefficients are directly used for computation of couplings. For the other methods, the linear-response amplitudes are used as the coefficients of a configuration interaction wavefunction with single excitations.
Spectrum Simulations
Newton-X simulates absorption and emission spectra using the Nuclear Ensemble approach. In this approach, an ensemble of nuclear geometries is built in the initial state and the transition energies and transition moments to the other states are computed for each geometry in the ensemble. A convolution of the results provides spectral widths and absolute intensities.In the Nuclear Ensemble approach, the photoabsorption cross section for a molecule initially in the ground state and being excited with photoenergy E into Nfs final electronic states is given by
where e is the elementary charge, ħ is the reduced Planck constant, m is the electron mass, c is the speed of light, ε0 is the vacuum permittivity, and nr is the refractive index of the medium. The first summation runs over all target states and the second summation runs over all Np points in the nuclear ensemble. Each point in the ensemble has nuclear geometry Rp, transition energy ΔE0,n, and oscillator strength f0,n. g is a normalized Gaussian function with width δ given by
For emission, the differential emission rate is given by
In both absorption and emission, the nuclear ensemble can be sampled either from a dynamics simulation or from a Wigner distribution.
Starting from version 2.0, it is possible to use the nuclear ensemble approach to simulate steady and time-resolved photoelectron spectra.
Development and Credits
The development of Newton-X started in 2005 at the Institute for the Theoretical Chemistry of the University of Vienna. It was designed by Mario Barbatti in collaboration with Hans Lischka. The original code used and expanded routines written by Giovanni Granucci and Maurizio Persico from the University of Pisa.A modulus for computation of nonadiabatic couplings based on finite differences of either MCSCF or MRCI wavefunctions was implemented by Jiri Pittner and later adapted to work with TDDFT. A modulus for QM/MM dynamics was developed by Matthias Ruckenbauer. Felix Plasser implemented the local diabatization method and dynamics based on CC2 and ADC. Rachel Crespo-Otero extended the TDDFT and TDA capabilities. An interface to Gamess was added by Aaron West and Theresa Windus.
Mario Barbatti coordinates new program developments, their integration into the official version, and the Newton-X distribution.
Distribution and Training
Newton-X is distributed free of charges for academic usage and with open source. The original paper describing the program had been cited 190 times by December 22, 2014, according to Google Scholar.Newton-X counts with a and a . A is also available on line, showing how to use the main features of the program step-by-step. Examples of simulations are shown at a . The program itself is distributed with a collection of input and output files of several worked-out examples.
A number of workshops on nonadiabatic simulations using Newton-X have been organized in Vienna, Rio de Janeiro, Sao Carlos, Chiang Mai, and Jeddah.
Program Philosophy and Architecture
A main concept guiding the Newton-X development is that the program should be simple to use, but still providing as many options as possible to customize the jobs. This is achieved by a series of input tools that guide the user through the program options, providing context-dependent variable values always that possible.Newton-X is written as a combination of independent programs. The coordinated execution of these programs is done by drivers written in Perl, while the programs dealing with integration of the dynamics and other mathematical aspects are written in Fortran 90 and C. Memory is dynamically allocated and there are no formal limits for most of variables, such as number of atoms or states.
Newton-X works in a three-level parallelization: the first level is a trivial parallelization given by the Independent-Trajectories approach used by the program. Complete sets of input files are redundantly written to allow each trajectory to be executed independently. They can be easily merged for final analysis in a later step. In a second level, Newton-X takes advantage of the parallelization of the third-party programs with which it is interfaced. Thus, a Newton-X simulation using the interface with Gaussian program can be first distributed over a cluster in terms of independent trajectories and each trajectory runs parallelized version of Gaussian. In the third level, the coupling computations in Newton-X are parallelized.
Starting with version, Newton-X uses meta-codes to control the dynamics simulation behavior. Based on a series of initial instructions provided by the user, new codes are automatically written and executed on-the-fly. These codes allow, for instance, checking specific conditions to terminate the simulations.
Drawbacks
To keep a modular architecture for easy inclusion of new algorithms, Newton-X is organized as a series of independent programs connected by general program drivers. For this reason, a large amount of input/output is required during the program's execution, reducing its efficiency. When dynamics is based on ab initio methods, this is normally not a problem, as the time bottleneck is in the electronic structure calculation. Low efficiency due to input/output can, however, be relevant with semiempirical methods.Other problems with the current implementation are the lack of parallelization of the code, especially of the couplings computation, and the restriction of the program to Linux systems.