-
Conical intersections (CI) [1–5], where two or more adiabatic potential energy surfaces (APESs) become degenerate in nuclear configuration space, are ubiquitous features of molecular potential energy landscapes [2] that play an essential role in mediating ultrafast nonradiative transitions between electronic states. Conical intersections play mechanistic roles in a wide range of photophysical, photochemical, and photobiological processes, such as photoisomerization, singlet fission, vision, the photostability of biomolecules, polaritonic chemistry, and molecular collisions [1, 4, 6–15]. In the presence of a CI, the Born–Oppenheimer approximation breaks down due to the strong coupling between electronic and nuclear degrees of freedom, and the dynamics must be treated using a fully nonadiabatic quantum mechanical description.
However, conventional quantum dynamics simulations in the adiabatic representation face severe challenges near conical intersections due to the divergence of the nonadiabatic couplings [16, 17]. Such divergences are present in all non-Born–Oppenheimer corrections, including the first-order and second-order nonadiabatic couplings, vector potentials, and diagonal Born–Oppenheimer corrections [17], and therefore limit the applicability of the Born–Huang framework for conical intersection dynamics.
The geometric quantum dynamics circumvents these difficulties by switching to a global perspective. It is based on the so-called local diabatic representation (LDR) [14, 18–20], which is a diabatic-like framework that still uses adiabatic electronic states at predetermined nuclear geometries. In the LDR, it is the overlap matrix between adiabatic electronic states at different nuclear geometries that accounts for all non-Born–Oppenheimer effects, including nonradiative electronic transitions and geometric phase effects. This representation does not even require the adiabatic states to be smooth in nuclear coordinate space [21]. It has been shown to converge exponentially with both the number of adiabatic states and the number of nuclear grid points for eigenvalue problems using coupled oscillator models [22].
We present PyQED, an open-source, Python-based software package for nonadiabatic quantum molecular dynamics that, in particular, implements the method of geometric quantum dynamics. While there have been several packages such as SHARC [23] implementing mixed quantum-classical methods, particularly the surface-hopping method [24], the focus of PyQED is on fully quantum wavepacket dynamics that take into account all nuclear quantum effects such as zero-point energy, tunneling, and quantum interference.
This paper is structured as follows. In Section II, we briefly describe the conventional Born–Huang representation and provide an illustrative example. In Section III, we discuss the theoretical background of the geometric quantum dynamics and demonstrate the code design and workflow for ab initio nonadiabatic dynamics modeling, using the
${{\rm{H}} _3}^+$ conical intersection dynamics as an example. Section IV briefly describes the mixed quantum-classical Ehrenfest dynamics. In Section V, we describe in detail the computational steps of the geometric quantum dynamics and Ehrenfest dynamics. An example of${{\rm{H}} _3}^+$ conical intersection dynamics and an example of Ehrenfest dynamics simulation are presented in Section VI. Section VII introduces ongoing developments in PyQED. Finally, Section VIII concludes.PyQED primarily uses atomic units
$ \hbar = e = m_\text{e} = 1 $ unless otherwise specified. -
PyQED contains modules for conventional wave packet dynamics on a single potential energy surface and nonadiabatic wave packet dynamics based on the Born–Huang representation. The required inputs for nonadiabatic computations are the adiabatic potential energy surfaces and the nonadiabatic couplings (with the second-order derivative couplings neglected).
The conventional methods are based on the Born–Huang expansion of the total molecular wave function [25]
where
$ {\bf{r}} $ and$ {\bf{R}} $ denote the coordinates of electron and nuclear, respectively.$\left| \phi_\alpha({\bf{r}}; {\bf{R}})\right\rangle$ is the$ \alpha $ th adiabatic electronic state (i.e., eigenstates of the electronic Hamiltonian that parametrically depend on the nuclear geometry), and$ \chi_\alpha({\bf{R}}, t) $ is the associated nuclear wavepacket. Inserting Eq.(1) into the time-dependent Schrödinger equation,$ i \partial_t \left| {{\Psi(t)}} \right\rangle = \hat{H} \left| {{\Psi(t)}} \right\rangle $ ($\hat{H} = \hat{T}_{\text{N}} + \hat{H}_{\text{el}}$ is the molecular Hamiltonian,$ \hat{T}_\mathrm{N} $ is the nuclear kinetic energy operator, and$\hat{H}_\mathrm{el}$ is the electronic Hamiltonian) and neglecting the second-order derivative coupling yield the equation of motion in the gauge-fixing choice$\left\langle {{\phi_\alpha({\bf{R}}) | \partial_\mu \phi_\alpha({\bf{R}})}} \right\rangle = 0$ :where
which is the nonadiabatic coupling. With a nuclear basis set or grid, Eq.(2) is transformed into a matrix equation, which can then be integrated. The default integrator for nonadiabatic dynamics in PyQED is the fourth-order Runge−Kutta method, whereas for adiabatic wave packet dynamics the split-operator method is used. FIG. 1 shows an example code for the nonadiabatic wave packet dynamics for one-dimensional model systems.
Although often used for modeling nonadiabatic dynamics and ultrafast spectroscopy, Eq.(2) is inappropriate for conical intersection dynamics. First, the parallel transport gauge cannot be globally defined in the presence of conical intersections. Moreover, the nonadiabatic coupling diverges at conical intersections as it is inversely proportional to the energy gap,
Furthermore, the neglected second-order nonadiabatic coupling and diagonal Born–Oppenheimer corrections diverge even more severely than the nonadiabatic coupling. The common strategy to remove the singularity in the nonadiabatic coupling is to transform to a diabatic representation. However, a strict diabatization does not exist for a finite number of electronic states [26]. Instead, many approximate quasi-diabatization schemes have been proposed [27–29].
-
In the geometric quantum dynamics, the equaiton of motion is an integro-differential equation [30]. One strategy to solve it is to discretize the total molecular wavefunction by a local diabatic ansatz [14, 18, 30]
where
$ {\bf{R}}_{{\bf{n}}} $ denotes the reference geometry obtained by discretizing the molecular configuration space using the discrete variable representation (DVR),$ {\bf{n}} = $ $\{n_1, n_2, \dots, n_d\}$ represents a multi-index composed of$ d $ -dimensional discrete nuclear configuration indices, and$ {\chi_{{\bf{n}}}}({\bf{R}}) $ denotes a highly localized DVR basis function centered at the reference configuration$ {\bf{R}}_{{\bf{n}}} $ . The index$ \alpha $ runs over the adiabatic electronic states relevant to the chemical process,$ \phi_\alpha({\bf{r}}; {\bf{R}}_{{\bf{n}}}) $ denotes the adiabatic electronic wavefunction at the reference geometry$ {\bf{R}}_{{\bf{n}}} $ , and$ C_{{\bf{n}}\alpha}(t) $ is the expansion coefficient. For later convenience, we introduce the shorthand notation$ \left\langle {{{\bf{r}}, {\bf{R}}|{\bf{n}} \alpha}} \right\rangle \equiv \phi_\alpha({\bf{r}}; {\bf{R}}_{{\bf{n}}}) \chi_{{\bf{n}}}({\bf{R}}) $ .It is important to emphasize that the LDR is not a quasi-diabatization scheme but employs the adiabatic electronic states directly. In contrast to the conventional adiabatic representation, in which derivative couplings account for nonadiabatic effects, they do not appear in the geometric quantum dynamics because the electronic states
$ \phi_\alpha({\bf{r}}; {\bf{R}}_{{\bf{n}}}) $ are independent of$ {\bf{R}} $ . Instead, the electronic overlap matrixencodes the electronic nonadiabatic transitions between adiabatic states. This matrix is always finite, even near degeneracies. The notation
$ \langle \cdots \rangle_{\bf{r}} $ denotes integration over the electronic degrees of freedom.By substituting Eq.(5) into the time-dependent molecular Schrödinger equation and left-multiplying by
$ \left\langle {{{\bf{m}} \beta} } \right|$ , we obtain the equation of motionwhere
$ V_{{\bf{m}} \beta} = V_\beta({{{\bf{R}}_{\bf{m}}}}) $ is the adiabatic electronic energy at nuclear geometry$ {\bf{R}}_{{\bf{m}}} $ , and$ T_{{\bf{m}}{\bf{n}}} $ is the kinetic energy matrix in the DVR set, which can usually be calculated analytically.Realizing that the overlap matrix is a generating function for all quantum geometric measures (the first order is the gauge (or Berry) connection and the second-order term is the quantum geometric tensor), our method provides a quantum geometric picture for understanding ground-state and excited-state chemistry, see Ref.[20].
From a practical perspective, it also has a number of advantages: (i) it is free of singular nonadiabatic couplings, such that it can describe conical intersection dynamics. Even for avoided crossings where the nonadiabatic couplings are well-defined, their magnitude is much larger than that of the overlap matrix, hence requiring a much smaller time step; (ii) it is compatible with standard quantum chemistry packages, as it only requires adiabatic states.
-
Eq.(7) is based on the variational principle and can be directly solved with, e.g., Runge–Kutta integrators. An alternative and more efficient approach is proposed to propagate the full wavefunction
$ \Psi({\bf{r}}, {\bf{R}}, t) $ by applying a second-order Strang splitting [31, 32] to the molecular propagatorIn the LDR, the electronic Hamiltonian propagation is simply given by [18]
where
${\cal{P}} = \displaystyle\sum_{{\bf{n}} \alpha} \left| {{{{\bf{n}} \alpha}}} \right\rangle \left\langle {{{{\bf{n}} \alpha}}} \right|$ is the projection operator onto the computational space. The exponential kinetic energy operator can be analytically calculated in the DVR basis set. This Strang splitting is time-reversible, norm-preserving, and often more efficient than the Runge–Kutta method. -
The continuous nuclear configuration space is discretized using a DVR basis set [33]. It can be simply considered as the eigenstates of coordinate operators in a finite basis representation. This basis set is widely used for vibrational structure calculations.
In the LDR, this choice of basis set is important to simplify the electronic Hamiltonian matrix elements. We have implemented a number of widely used DVR basis sets for vibrational structure calculations, such as the Hermite DVR, sinc DVR, and sine DVR. The proper choice is problem-dependent; in particular, the boundary conditions and anharmonicity should be considered. The default option is the sine DVR with open boundary conditions.
Upon discretization, each DVR grid point
$ {\bf{R}}_{{\bf{n}}} $ defines a reference nuclear geometry, at which the adiabatic electronic energies and states$ \left| {{\phi_\alpha({\bf{r}}; {\bf{R}}_{{\bf{n}}})}} \right\rangle $ are computed. -
The electronic energies are standard outputs of any quantum chemistry calculation. Here we describe how the electronic overlap matrix is evaluated in PyQED. For multiconfigurational quantum chemistry methods, the many-electron wavefunction overlap is given by
where
$ \left| {{\Phi_I} } \right\rangle$ refers to Slater determinants built from canonical molecular orbitals (other orthonormal orbitals, such as natural orbitals, can also be used). The overlap between two Slater determinants equals the determinant of the occupied molecular orbital overlap matrix [34]For complete active space configuration interaction (CASCI), as the molecular orbitals (MOs) are partitioned into frozen core, active, and virtual orbitals, the orbital overlap matrix
$ {\bf{S}} $ has a block structure with core (c) and active (a) orbitals (the unoccupied virtual orbitals are irrelevant) [35]If the overlap between two sets of core orbitals at different geometries
$ S^\text{cc}_{ii'} = \left\langle {{\phi_i({\bf{R}}) | \phi_{i'}({\bf{R}}') } } \right\rangle$ is invertible, the determinant can be computed as [36]For atom-centered Gaussian-type orbitals, the molecular orbitals are given by
$ \left| {{\phi_p({\bf{R}})}} \right\rangle= $ $\displaystyle \sum_\mu C_{\mu p}({\bf{R}}) \left| {{\chi_\mu({\bf{R}})}} \right\rangle$ . The MO overlap matrix is thuswhere
$ S^\text{AO}_{\mu \nu} = \left\langle {{ \chi_\mu({\bf{R}}) | \chi_\nu({\bf{R}}') }} \right\rangle $ is the overlap between two sets of atomic orbitals. Note that one can use a different number of core electrons and active spaces for different configurations. -
The global electronic overlap matrix can be computed directly from quantum chemistry. This is nevertheless computationally demanding. A more efficient (and recommended) approach is the linked product approximation [20]. This approximation expresses long-range overlaps as products of nearest-neighbor overlaps along a discretized path in nuclear coordinate space. Specifically, for two distant nuclear geometries
$ {\bf{R}}_{\bf{m}} $ and$ {\bf{R}}_{\bf{n}} $ , the overlap can be approximated bywhere
$ \gamma = \{{{\gamma}_0}, \cdots, {{\gamma}_L}\} $ defines a path connecting$ {\bf{R}}_{\bf{m}} $ and$ {\bf{R}}_{\bf{n}} $ (i.e.,$ {\gamma}_0 = {\bf{n}} $ ,$ {\gamma}_L = {\bf{m}} $ ).$ {\bf{A}}_{{\gamma}_{k+1}, {\gamma}_k} = \left\langle {{\phi({\bf{R}}_{{\boldsymbol{\gamma}}_{k+1}})| \phi({\bf{R}}_{{\boldsymbol{\gamma}}_k})}} \right\rangle _{{\bf{r}}} $ is the nearest-neighbor overlap matrix of shape$ \mathrm{nstates} \times \mathrm{nstates} $ (link). The linked product approximation has been demonstrated to be highly accurate even for conical intersection dynamics. -
Besides fully quantum wavepacket dynamics, PyQED implements the mixed quantum−classical Ehrenfest dynamics method [37]. This method couples the quantum and classical subsystems through mean-field forces. The electronic wavefunction evolves according to the time-dependent Schrödinger equation, parametrically dependent on the instantaneous classical nuclear positions
$ {\bf{R}}(t $ )Expanding the electronic states
$ \left| {{\Psi(t)}} \right\rangle $ in the adiabatic basis$ \left| {{\phi_\alpha({\bf{R}}(t))}} \right\rangle $ of the electronic Hamiltonian,where
$ \hat{H}_\text{el}({\bf{r}}; {\bf{R}})\phi_\alpha({\bf{R}}) = V_\alpha({\bf{R}})\phi_\alpha({\bf{R}}) $ . Substituting Eq.(17) into the time-dependent Schrödinger equation yieldswhere
$ {\bf{F}}_{\beta \alpha} $ are the nonadiabatic couplings. Taking the time derivative of the momentum$ {\bf{P}} $ yields the mean-field nuclear forceEhrenfest dynamics require the forces and nonadiabatic couplings [37]. An example code is provided in Section VI.B.
-
The PyQED package implements the geometric quantum dynamics for exact conical intersection wave packet dynamics. The main steps for an ab initio geometric quantum dynamics modeling, schematically shown in FIG. 2, include setting up the nuclear DVR basis set discretizing the configuration space, performing electronic structure calculations, building the overlap matrix, followed by time propagation and data analysis. Table I lists the corresponding modules required for the dynamical simulation.
Below, we demonstrate the computational workflow and code structure using an illustrative example of the internal conversion dynamics in
${{\rm{H}} _3}^+$ . The simulation proceeds in the following steps:Step 1: Define the molecule
The first step is to define the molecular system under study, including the number of nuclear degrees of freedom (
$ \mathrm{ndim}$ ), the number of electronic states ($ \mathrm{nstates}$ ), the nuclear masses ($ \mathrm{mass}$ ), as well as the total$ \mathrm{charge}$ and$ \mathrm{spin}$ . FIG. 3 shows an example of code defining the${{\rm{H}} _3}^+ $ molecule.Step 2: Discretize the configuration space
Define the domain and discretization level of the reaction coordinate space. The reaction coordinates (e.g., normal coordinates or Jacobi coordinates) are often not Cartesian coordinates used for quantum chemistry calculations, so we need to transform the reaction coordinates to Cartesian coordinates using, e.g., a
$ \mathrm{coord}\_\mathrm{transform}$ function. Note that the grids are usually not uniform unless sine or sinc DVRs are used. The choice of reaction coordinates is molecule-dependent or even process-dependent. Therefore, the coordinate transform function needs to be provided for each process under study. In other words, the user should provide the transformation before performing subsequent adiabatic electronic structure calculations.Here, for
${{\rm{H}}_3}^+$ , the reaction coordinate is simply the Cartesian coordinates of the movable proton, so the transformation is straightforward:
We define a two-dimensional nuclear coordinate space representing the coordinate. The coordinate ranges are chosen as
$ X \in [-5.5, 5.5] $ and$Y \in [0, 11]$ a0, discretized with 65 grid points each (specified by$ \mathrm{levels}$ ). We consider the internal conversion from S2 to S1, hence with three electronic states including S0 ($ \mathrm{nstates = 3}$ ). The nuclear mass is simply the proton mass. The code is shown below:
Step 3: Electronic structure computations
The most expensive part of ab initio simulations is typically the electronic structure computations. The
$ \mathrm{qchem}$ module in PyQED provides a limited number of quantum chemistry methods written purely in Python, including HF (Hartree-Fock), CISD (configuration interaction singles and doubles), CASCI (complete active space configuration interaction), and FCI (full configuration interaction) [38]. Critical for LDR, we also implemented the many-electron wave function overlap for configuration interaction-based methods (CISD, CASCI, and FCI). The code structure of$ \mathrm{qchem}$ is largely inspired by the PySCF program [39]. The GBASIS is used to build the atomic basis functions and integrals [40]. The configuration interaction methods are based on the Slater determinants instead of configuration state functions. FIG. 4 illustrates how to apply both quantum dynamics and electronic structure for a molecular dimer LiF (including electronic energies and many-electron wave function overlap) completely in PyQED. It is straightforward to adapt it for other dimers.Alternatively, it is straightforward to use external quantum chemistry programs like PySCF [39] so that electronic structure methods currently not available in PyQED (e.g., CASSCF) can be used. For this purpose, a helper class
$ \mathrm{QChemDriver}$ (see FIG. 5) is implemented to perform electronic structure calculations using PySCF. The adiabatic potential energies and the configuration interaction coefficients at all reference geometries are stored, which subsequently serve as the input for computing the electronic overlap matrices. The electronic structure calculations are independent for each reference geometry, and thus can be easily distributed into multiple cores if needed.Step 4: Build the electronic overlap matrix
Once the electronic structure computations are finished, we first compute the nearest-neighbor overlap matrices (links),
$ L_{{\bf{n}} \mu} \equiv A_{{\bf{n}}, {\bf{n}} + {\bf{e}}_\mu} $ . The molecular orbitals and configuration interaction coefficients saved during the electronic calculations are used for this calculation. We can now apply the linked product approximation to construct the full global electronic overlap matrix [20]:
Step 5: Initial condition and time evolution
With the adiabatic energies and global electronic overlap matrix, we are ready to perform nonadiabatic geometric quantum dynamics simulations. For this, we need to specify the initial state of the molecule and the time step. If the initial state is not given in the LDR, it can be projected into the computational space using the overlap matrix. For example, if the initial state is in the crude adiabatic representation
where
$ {{\bf{R}}_{\bf{0}}} $ is a reference geometry defining the adiabatic electronic states and$ \alpha $ (not summed over) indicates the initial electronic state, the initial coefficients are given bywhere
$ {{\bf{n}}_{\bf{0}}} $ is the index corresponding to$ {{\bf{R}}_{\bf{0}}} $ . If the vibronic ground state is needed, one can directly diagonalize the molecular Hamiltonian ($ \mathrm{ldr.H}$ ) or use imaginary time propagation. FIG. 6 shows an example of setting up the initial wave packet and dynamical propagation.Step 6: Observables
With the vibronic wavefunctions stored in
$ \mathrm{ldr.psilist}$ , we are ready to compute observables of interest, typically including the electronic population dynamics, nuclear configuration probability distribution, and average positions, bywhere
$ O_{{\bf{m}} \beta, {\bf{n}} \alpha} = \left\langle {{{\bf{m}} \beta | \hat{O}({\bf{r}}, {\bf{R}}) | {\bf{n}} \alpha }} \right\rangle $ . Eq.(22) provides the general expression for any observable. For purely nuclear observables$ \hat{O}_\text{N}({\bf{R}}) $ ,$ O_{{\bf{m}} \beta, {\bf{n}} \alpha} = \delta_{{\bf{m}} {\bf{n}}} \delta_{\beta \alpha} O({\bf{R}}_{{\bf{n}}}) $ , hence Eq.(22) can be simplified toFor instance, the expectation value for the proton position
$\left\langle {{X(t)}} \right\rangle $ can be computed as follows:
-
To demonstrate the capability of PyQED in simulating nonadiabatic dynamics at conical intersections, we performed the ultrafast nonadiabatic transitions between the first and second excited states of the
${\rm{{H}} _3}^+ $ molecular system. In this case, two protons are fixed at$(\pm 1, 0)$ a0, while the third proton and the two electrons are allowed to move freely in a two-dimensional plane. The$ X $ and$ Y $ coordinates span the ranges$[-5.5, 5.5]$ a0 and$[0, 11]$ a0, respectively, each discretized with 65 grid points. The first and second excited-state adiabatic potential energy surfaces intersect at$(0,\ 1.7188)$ a0 (see FIG. 7(a)). Since the ground-state surface does not intersect with the excited-state surfaces within the relevant configuration space, the present study focuses solely on the nonadiabatic dynamics between the two excited states.The initial nuclear wavepacket for the movable proton is set as a Gaussian wave packet
centered at the conical intersectio (X0, Y0) =(0, 1.7188) a0, thereby facilitating nonadiabatic transitions. The width of initial wavepacket is
$\sigma_X = \sigma_Y = 0.1826$ a0. Here we consider a more interesting scenario where the initial state is a superposition of the two excited electronic states with electronic coherences. This choice allows us to explore ultrafast coherent dynamics beyond simple population transfer. The simulations are propagated with a time step of$\Delta t = 0.0039$ fs.As the nuclear wave packet locates at the conical intersection region, there is population transfer from the first excited state (
$ P_1 $ ) to the second excited state ($ P_2 $ ) at 0 fs (see FIG. 7(b)). FIG. 7(c) presents the position of the proton. The shaded regions indicate the corresponding variances ($ \sigma_O(t) = \sqrt{\langle O^2(t) \rangle - \langle O(t) \rangle^2}, O = X, Y $ ), which quantify the spatial delocalization of the proton along each direction.FIG. 7(d) shows the nuclear wavepacket distribution on the first excited electronic state (S1) at time
$ t = 4 $ fs. The probability density exhibits a symmetric distribution with respect to$ X = 0 $ . A nodal line is clearly observed along$ X = 0 $ (indicated by the dotted line in FIG. 7(d)), where the nuclear density vanishes due to destructive quantum interference. This nodal structure arises as the wavepacket encircles the conical intersection point, and is a direct manifestation of the geometric phase effect, a topological feature intrinsic to conical intersections.The total simulation time is
$ \sim $ 11.61 h, including about 0.33 h for the quantum chemistry calculations, 9.06 h for the electronic overlap matrices, and 2.21 h for the quantum dynamics simulations. Both the quantum chemistry and overlap-matrix calculations can be parallelized over multiple cores to further reduce the computational cost when necessary.No explicit symmetry constraints are applied here; the molecular symmetry is automatically reflected in both the electronic energies and the electronic overlap matrices. For example, in the
${{\rm{H}} _3}^+ $ molecule, the adiabatic potential energy surfaces (FIG. 7(a)) and the electronic overlap matrices (including both intra- and interstate overlaps, see FIG. 7(e)) are symmetric with respect to the$ X = 0 $ axis. -
The Ehrenfest dynamics [41] only requires a driver that provides the required force and nonadiabatic couplings. An example for the two-dimensional Shin-Metiu model [21] is shown in FIG. 8. This model is introduced to study proton-coupled electron transfer [42–44], which consists of three protons and one electron. Two protons are fixed at the positions
$(\pm 2\sqrt{3}/5,\ 0)$ a0, while the third proton and the electron are free to move in a two-dimensional space.The Hamiltonian for this model is [21]
where
$ {\hat{\bf{p}}} = -i{\boldsymbol{\nabla }}_{{\bf{r}}} $ and$ {\hat{\bf{P}}} = -i {\boldsymbol{\nabla }}_{{\bf{R}}} $ represent the electronic and nuclear momentum operators, respectively, and$ M $ denotes the proton mass. The interaction potential$ V({\bf{r}}, {\bf{R}}) = V_\text{eN} + V_\text{NN} + ({{R/R_0}})^4 $ is composed of the electron-nuclear soft-Coulomb term Eq.(26) and the nuclear repulsion Eq.(27)where
$ {\bf{R}}_i $ specifies each fixed ionic center. A quartic confining term is additionally included to ensure that the system remains spatially bound [45].The initial nuclear coordinates are sampled from a two-dimensional Gaussian distribution centered at
$(X_0, Y_0) = (0,\ 1.875)$ a0, with widths$\sigma_X = \sigma_Y = 1/ \sqrt{2}$ a0. The Ehrenfest dynamics are propagated with a time step of$ \Delta t = 0.01 $ a.u., using an ensemble of 1000 independent trajectories.FIG. 9 shows the Ehrenfest dynamics results of the Shin-Metiu in the presence of a S2−S1 conical intersection. Around 2 fs, the nuclear trajectory encounters the conical intersection and undergoes a nonadiabatic transition to the first excited state. FIG. 9(b) displays the mean values of the X and Y positions: X remains at 0 throughout while Y moves continuously from its initial position in the negative Y direction. FIG. 9(c) shows the trajectory density on the second excited state (S2) at t=4 fs, which exhibits a Gaussian profile.
-
One ongoing direction is to implement the non-direct-product DVR basis set, which has been under active development for vibrational spectra problems such as sparse grids and simultaneous diagonalization [46, 47]. Such basis sets can be directly used for geometric quantum dynamics [19]. Nevertheless, its implementation and usage is not as straightforward as the direct-product DVR, requiring fine tuning of the parameters.
For the electronic structure, more efficient methods for the computation of the configuration interaction many-electron wavefunction overlap are under development. It is intriguing to integrate time-dependent density functional theory into the geometric quantum dynamics framework [48, 49]. However, whether the auxiliary wave functions in time-dependent density functional theory can describe electronic quantum geometry needs to be tested.
The geometric quantum dynamics method has been applied to systems of up to four dimensions [19]. For larger systems, further development is required to alleviate the exponential scaling of the computational cost, such as employing a more efficient non-direct-product basis set or a more compact representation of the electronic overlap matrix and expansion coefficients.
-
We have presented PyQED, a Python-based framework for nonadiabatic quantum molecular dynamics. The unique feature is the implementation of the local diabatic representation for numerically exact ab initio modeling of nonadiabatic conical intersection dynamics. We have demonstrated the utility of geometric quantum dynamics by an ab initio modeling of the conical intersection dynamics in the
${{\rm{H}} _3}^+ $ molecule. It is straightforward to adapt the example code for other molecular processes that can be described by a few reaction coordinates ($ d \lt 5 $ is feasible with direct-product discrete variable representation), provided that the electronic structure method is adequate to describe conical intersections, which can be challenging due to electron correlation. This usually requires trial and error (e.g., finding the right active space in CASSCF). As a numerically exact method accounting for all non-Born–Oppenheimer effects, the method of geometric quantum dynamics can also be used to benchmark approximate nonadiabatic molecular dynamics methods and quasi-diabatization methods.Future developments will focus on extending PyQED to larger molecular systems and interfacing with multi-reference ab initio codes for broader applicability in photochemistry and quantum control.
PyQED: A Python Framework for Ab Initio Geometric Quantum Dynamics†
- Received Date: 15/10/2025
- Available Online: 27/04/2026
-
Key words:
- Ab initio geometric quantum dynamics /
- Electronic overlap matrix /
- Local diabatic representation /
- Nonadiabatic molecular dynamics /
- Conical intersection
Abstract: PyQED is an open-source Python package designed for the numerical simulation of strongly coupled electron-nuclear quantum dynamics, in particular, conical intersection dynamics. Besides conventional nonadiabatic wavepacket dynamics methods based on the Born–Huang representation and mixed quantum-classical Ehrenfest dynamics, PyQED implements the geometric quantum dynamics based on the local diabatic representation, which provides a numerically exact framework for nonadiabatic quantum molecular dynamics. It differs from the conventional Born–Huang representation in that all non-Born–Oppenheimer effects are accounted for by a single electronic overlap matrix between adiabatic states, therefore removing the singular derivative couplings. The complete workflow for ab initio modeling of conical intersection dynamics is illustrated through the internal conversion dynamics in the H3+ cation. PyQED provides a powerful and user-friendly computational platform for first-principles quantum dynamics, with applications to photochemical and photophysical processes.
首页
登录
注册


DownLoad: