<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Nuclear gradient expressions for molecular cavity quantum electrodynamics simulations using mixed quantum-classical methods</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>09/14/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10376856</idno>
					<idno type="doi">10.1063/5.0109395</idno>
					<title level='j'>The Journal of Chemical Physics</title>
<idno>0021-9606</idno>
<biblScope unit="volume">157</biblScope>
<biblScope unit="issue">10</biblScope>					

					<author>Wanghuai Zhou</author><author>Deping Hu</author><author>Arkajit Mandal</author><author>Pengfei Huo</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We derive a rigorous nuclear gradient for a molecule-cavity hybrid system using the quantum electrodynamics Hamiltonian. We treat the electronic–photonic degrees of freedom (DOFs) as the quantum subsystem and the nuclei as the classical subsystem. Using the adiabatic basis for the electronic DOF and the Fock basis for the photonic DOF and requiring the total energy conservation of this mixed quantum–classical (MQC) system, we derived the rigorous nuclear gradient for the molecule–cavity hybrid system, which is naturally connected to the approximate gradient under the Jaynes–Cummings approximation. The nuclear gradient expression can be readily used in any MQC simulations and will allow one to perform the non-adiabatic on-the-fly simulation of polariton quantum dynamics. The theoretical developments in this work could significantly benefit the polariton quantum dynamics community with a rigorous nuclear gradient of the molecule–cavity hybrid system and have a broad impact on the future non-adiabatic simulations of polariton quantum dynamics.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Coupling molecules to the quantized radiation field inside an optical cavity creates a set of new photon-matter hybrid states, which are commonly referred to as polaritons. <ref type="bibr">[1]</ref><ref type="bibr">[2]</ref><ref type="bibr">[3]</ref><ref type="bibr">[4]</ref><ref type="bibr">[5]</ref><ref type="bibr">[6]</ref> These polariton states have hybridized potential energy surfaces (PESs) (and their curvatures) from both the ground and the excited electronic states, <ref type="bibr">5,</ref><ref type="bibr">6</ref> which have been shown to facilitate new chemical reactivities. <ref type="bibr">1,</ref><ref type="bibr">[6]</ref><ref type="bibr">[7]</ref><ref type="bibr">[8]</ref><ref type="bibr">[9]</ref> Thus, polariton chemistry provides a new paradigm for chemical transformations. Theoretical investigations play a crucial role in understanding the basic principles in this emerging field, <ref type="bibr">5,</ref><ref type="bibr">6,</ref><ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref><ref type="bibr">[13]</ref> as these polariton chemical reactions often involve a rich dynamical interplay among the electronic, nuclear, and photonic degrees of freedom (DOFs). Accurately simulating polaritonic quantum dynamics remains a challenging task and is beyond the scope of photochemistry that does not include quantized photons or quantum optics that does not have a well-defined theory to include the influence of nuclear vibrations. <ref type="bibr">2</ref> Historically, the mixed quantum-classical (MQC) approaches <ref type="bibr">[14]</ref><ref type="bibr">[15]</ref><ref type="bibr">[16]</ref> have played an important role in simulating the non-adiabatic dynamics of the coupled electronic-nuclear DOFs. Two of the most commonly used MQC methods are Ehrenfest dynamics and fewest switches surface hopping (FSSH) approaches. <ref type="bibr">17,</ref><ref type="bibr">18</ref> Both methods describe the electronic subsystem quantum mechanically and treat the nuclear DOF classically. It is thus a natural idea for the theoretical chemistry community to extend these MQC approaches to investigate polariton chemistry by treating the electronic-photonic DOF (or the so-called polariton subsystem) quantum mechanically and describing the nuclear DOF classically. Indeed, incorporating the description of the photon field into the MQC methods has become a basic problem of crucial importance to study polariton chemistry. <ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref><ref type="bibr">[13]</ref><ref type="bibr">[19]</ref><ref type="bibr">[20]</ref><ref type="bibr">[21]</ref><ref type="bibr">[22]</ref> The Journal of Chemical Physics</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ARTICLE scitation.org/journal/jcp</head><p>There has been enormous progress during the past few years in developing MQC approaches to simulate polariton dynamics. Kowalewski et al. <ref type="bibr">23</ref> derived the expression of the derivative couplings using the Jaynes-Cummings (JC) model Hamiltonian <ref type="bibr">24</ref> where the rotating wave approximation (RWA) is assumed for the molecule-cavity coupling term. Groenhof and co-workers developed a multi-scale simulation approach combining Tavis-Cummings (TC) model <ref type="bibr">25</ref> using FSSH approach <ref type="bibr">10,</ref><ref type="bibr">11</ref> or Ehrenfest dynamics <ref type="bibr">12,</ref><ref type="bibr">13</ref> to simulate an ensemble of molecules coupled to a cavity. Zhang et al. extended the JC and TC models to include multiple molecular excited states, <ref type="bibr">22</ref> derived the corresponding nuclear gradient, and performed MQC simulations for polariton dynamics. Fregoni et al. developed the MQC simulations with the JC-type model (that excludes the permanent dipole moment) to perform FSSH simulations of azobenzene photoisomerization in cavity. <ref type="bibr">[19]</ref><ref type="bibr">[20]</ref><ref type="bibr">[21]</ref> Foley and co-workers have incorporated cavity loss through non-Hermitian approach <ref type="bibr">26</ref> and performed FSSH simulations of a model photoisomerization reaction coupled to an optical cavity. <ref type="bibr">27</ref> Furthermore, Li and Hammes-Schiffer <ref type="bibr">28</ref> have recently developed a semi-classical approach for molecular polaritons by self-consistently propagating the real-time dynamics of classical cavity modes and a quantum molecular subsystem described by the nuclear-electronic orbital (NEO) method.</p><p>The key ingredient in the MQC simulations of polariton dynamics is the expression of the nuclear gradient, which is a necessary component for propagating the motion of nuclei. However, previous MQC simulations often use the rotating wave approximation, exclude the dipole self-energy (DSE) terms, <ref type="bibr">29</ref> or neglect the permanent dipole moment, <ref type="bibr">20</ref> all of which could change the fundamental polariton quantum dynamics in the strong and ultrastrong coupling regimes. <ref type="bibr">[30]</ref><ref type="bibr">[31]</ref><ref type="bibr">[32]</ref><ref type="bibr">[33]</ref><ref type="bibr">[34]</ref> Nuclear gradient expressions beyond the JC models have been derived under the full Configuration-Interaction (CI) expansion framework. <ref type="bibr">20</ref> Rigorous nuclear gradient expressions under the quantum electrodynamics Linear-Response time-dependent Density Functional Theory (QED-LR-TDDFT) <ref type="bibr">35</ref> framework using Pauli-Fierz (PF) type QED Hamiltonian. <ref type="bibr">3,</ref><ref type="bibr">33</ref> However, these gradient expressions lack a clear physical picture of light-matter interactions, as well as a clear connection to the more intuitive (but less accurate) gradient of the JC-type Hamiltonian.</p><p>In this paper, we derive a rigorous expression of the nuclear gradient using the PF QED Hamiltonian without making unnecessary approximations. We treat the molecule-cavity hybrid system as a MQC system, where the electronic-photonic DOFs are treated quantum mechanically, and the nuclear DOFs are treated classically. In this work, the electronic DOFs are described using the electronic adiabatic states, and the photonic DOFs are described with the Fock states. Requiring the total energy conservation of this MQC system, we derive the rigorous nuclear gradient expression [Eq. (29)], which is intuitively connected to those approximate gradient expressions under the JC approximation. <ref type="bibr">23</ref> Our gradient expressions, and the corresponding MQC simulation approaches, can in principle include any number of electronic states and photon states, which is a desired property for investigating the dynamical process of polariton chemistry. The nuclear gradient expression derived here can be readily used in any MQC simulations, such as Ehrenfest and FSSH approaches, as demonstrated in the Result section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. THEORY AND METHODS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. The Pauli-Fierz QED Hamiltonian</head><p>The Pauli-Fierz (PF) QED Hamiltonian in the dipole gauge describing one molecule coupled to quantized radiation field inside a cavity can be written as</p><p>where Tn represents the nuclear kinetic energy operator, and &#292;en is the electronic Hamiltonian that describes electron-nucleus interactions. Furthermore, &#292;p, &#292;enp, and &#292;d represent the photonic Hamiltonian, electronic-nuclear-photonic interactions, and the DSE, respectively. A full derivation of this Hamiltonian, as well as its connection with the various atomic cavity QED models can be found in the Appendix of Ref. 36. A detailed discussion of Hamiltonian under different gauges can be found in Ref. 33.</p><p>The electronic-nuclear potential, &#292;en, is expressed as follows:</p><p>which describes the molecular Hamiltonian (without the nuclear kinetic energy). The above expression in Eq. ( <ref type="formula">2</ref>) includes electronic kinetic energy Te, electron-electron interaction Vee, electronic-nuclear interaction Ven, and nuclei-nuclei interaction Vnn. The expressions of these four terms can be found in standard textbooks. <ref type="bibr">[37]</ref><ref type="bibr">[38]</ref><ref type="bibr">[39]</ref> Modern electronic structure theory is focused on solving the eigenvalue problem of &#292;en, providing the following adiabatic energy and corresponding adiabatic states as follows:</p><p>Here, &#981; &#957; (R) represents the &#957; th many-electron adiabatic state for a given molecular system, with the adiabatic energy E&#957;(R).</p><p>The photonic Hamiltonian is written as</p><p>where &#226; &#8224; and &#226; are the photonic creation and annihilation operator, respectively, qc = h2&#969;c(&#226; &#8224; + &#226;) and pc = -i h&#969;c2(&#226;&#226; &#8224; ), and &#969;c is the photon frequency inside the cavity. For clarity, we restrict our discussions to the cavity with only one photonic mode, and all of the theoretical expressions presented here can be easily generalized into a cavity with many modes. <ref type="bibr">13,</ref><ref type="bibr">40,</ref><ref type="bibr">41</ref> The light-matter coupling term (electronic-nuclear-photonic interactions) under the dipole gauge is expressed as</p><p>where &#955;c = &#955;c &#8901; characterizes the photon-matter coupling strength, and is the direction of the field polarization. Furthermore, the total dipole operator of both electrons and nuclei is defined as</p><p>The Journal of Chemical Physics</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ARTICLE scitation.org/journal/jcp</head><p>where -e is the charge of the electron and Z&#945;e is the charge of the &#945; th nucleus. The coupling light-matter strength is determined by the volume of the cavity as &#955;c = 1 0 V 0 , where 0 is the permittivity inside the cavity and V 0 is the effective quantization volume inside the cavity. Another way to define the light-matter coupling strength is using gc = h&#969;c2&#955;c. Note that the g c used in this work differs from the common notation used in the literature based on the quantum optics models, <ref type="bibr">6,</ref><ref type="bibr">42</ref> which often include the magnitude of the dipole inside the definition of g c . This is because, in the quantum optics models, the magnitude of the dipole is treated as a constant, whereas in molecular cavity QED, the dipole matrix elements explicitly depend on R.</p><p>Finally, the dipole self-energy is expressed as</p><p>This is a necessary term of the PF Hamiltonian, in order to make sure gauge invariance of the PF Hamiltonian 9,33 and a bounded ground polariton state. <ref type="bibr">9,</ref><ref type="bibr">43,</ref><ref type="bibr">44</ref> Recent investigations of polariton photochemistry have been mainly focused on using the JC model <ref type="bibr">22,</ref><ref type="bibr">29</ref> or TC model <ref type="bibr">12</ref> to describe the quantum light-matter interactions. These models usually only consider two electronic states {g, e} and the transition dipole ge (R) = ge among them, where the permanent dipole is often ignored. In this context, one can further define the creation and annihilation operators for molecular excitation as &#963; &#8224; &#8801; eg and &#963; &#8801; ge, and thus = eg (R) &#8901; (&#963; &#8224; + &#963;). The molecule-cavity interaction term in Eq. ( <ref type="formula">5</ref>) can now be expressed as</p><p>Assuming the RWA by ignoring the counter-rotating terms (CRTs) &#226; &#8224; &#963; &#8224; and &#226;&#963;, and explicitly dropping the DSE term &#292;d in Eq. (7), one arrives at the following JC model:</p><p>The Rabi model, on the other hand, ignores the DSE and the permanent dipole. <ref type="bibr">[45]</ref><ref type="bibr">[46]</ref><ref type="bibr">[47]</ref> In this work, we do not consider the cavity loss due to the interactions of the cavity mode and non-cavity modes. Modeling such an effect can be accomplished by incorporating Lindblad type decay dynamics with MQC simulations. <ref type="bibr">48</ref> </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Nuclear gradient in the mixed-quantum classical simulations of polariton dynamics</head><p>For the molecule-cavity hybrid system, a convenient basis for quantum dynamics simulations could be the dressed states</p><p>where the quantum number i &#8801; {&#957;, n} indicates both the adiabatic electronic state of the molecule and the Fock states. Note that we have introduced a shorthand notation in Eq. ( <ref type="formula">10</ref>), which will be used throughout the rest of this paper. This is one of the most straightforward choices of the basis for the hybrid system because of the readily available adiabatic electronic states from the electronic structure calculations, as well as the dipole moments we need to construct the elements of Hamiltonian.</p><p>Here, we provide a rigorous derivation of general nuclear gradient expression used in MQC simulations in a real orthogonal basis, following the similar procedure of Tully. <ref type="bibr">49</ref> In the MQC simulation, such as the Ehrenfest dynamics or the FSSH approach, the total molecular Hamiltonian is expressed as</p><p>where Tn represents the nuclear kinetic energy operator, and V represents the rest of the Hamiltonian. For a bare molecular system, V = &#292;en is expressed in Eq. (2). For a molecule-cavity hybrid system,</p><p>which is commonly referred to as the polariton Hamiltonian, 3,50 also denoted as &#292;pl . For the molecule-cavity hybrid system, we define the polaritonic state <ref type="bibr">3,</ref><ref type="bibr">50</ref> as the eigenstate of V = &#292;pl [see definition in Eq. ( <ref type="formula">12</ref>)] through the following eigenequation:</p><p>where EI(R) is the polariton state with polariton energy EI(R).</p><p>In MQC dynamics simulations, one treats the nuclear DOF classically, such that the Hamiltonian in Eq. ( <ref type="formula">11</ref>) becomes</p><p>The electronic-photonic wave function is expanded in the basis &#968; i (r; R(t)),</p><p>where N b is the number of basis we use and ci is the expansion coefficients. The wave function satisfies the time-dependent Sch&#246;dinger equation (TDSE),</p><p>Plugging Eq. ( <ref type="formula">15</ref>) into (16), we obtain the equations of motion for ci as follows:</p><p>where Vij = &#968;i(R) V&#968;j(R). The time derivative coupling (or nonadiabatic coupling, NAC) between two basis states is</p><p>where d &#945; ij is the NAC associated with the &#945; th atom, defined as follows:</p><p>The Journal of Chemical Physics</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ARTICLE scitation.org/journal/jcp</head><p>Using the above notations, Eq. ( <ref type="formula">17</ref>) can be rewritten as</p><p>The total energy for the MQC system expressed in Eq. ( <ref type="formula">14</ref>) can be expressed as</p><p>where M&#945; is the nuclear mass of &#945; th atom and P&#945; is the corresponding momentum. In order to get the equation of motion for the classical nuclei, we resort to the conservation of the above total energy. <ref type="bibr">49</ref> Setting the time derivative of the above total energy in Eq. ( <ref type="formula">21</ref>) to zero, i.e. dEdt = 0, we obtain</p><p>where we have used the chain rule with respect to Hamiltonian matrix elements. As shown in Appendix A, using Eq. ( <ref type="formula">20</ref>), we can prove the following identity:</p><p>where the derivative coupling is defined as Eq. ( <ref type="formula">19</ref>). Inserting Eq. ( <ref type="formula">23</ref>) into Eq. ( <ref type="formula">22</ref>), we have</p><p>These results are reduced to the familiar expression for an isolated molecule, as shown in Appendix B. Defining c &#8224; as the transpose of the coefficient column vector c expressed as follows:</p><p>Equation ( <ref type="formula">24</ref>) can then be written as a more compact form</p><p>where we have used [&#8901;&#8901;&#8901;] to denote a matrix, and the gradient of potential matrix is defined as</p><p>where [V] and [d &#945; ] are the matrix of V and derivative coupling operator, respectively, and we have defined the matrix</p><p>We can write the matrix elements of the nuclear gradient as follows:</p><p>This is the most general expression of the nuclear gradient with a real orthogonal basis that explicitly depends upon R. Note that although we introduced the short-hand notation [&#8711;&#945;V] in Eq. ( <ref type="formula">27</ref>), it can be justified as the matrix of the operator &#8711;&#945; V using the chain rule as follows:</p><p>which is indeed equivalent to Eq. ( <ref type="formula">29</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Nuclear gradient of molecule-cavity hybrid systems</head><p>In this section, we provide the detailed expression of the nuclear gradient for molecule-cavity hybrid systems. With the adiabatic-Fock basis &#981; &#957; n and &#981; &#947; m introduced in Eq. ( <ref type="formula">10</ref>), the matrix elements of every term in V [Eq. (12)] can be explicitly expressed as follows (using the properties of creation and annihilation operators of photonic DOF):</p><p>where E&#957;(R) and &#947;&#957; (R) explicitly depend on nuclear position R. In Eq. (31d), D 2 &#947;&#957; denotes the matrix elements of DSE, and the sum &#8721; &#958; in the matrix element of &#292;d runs over the adiabatic states &#981; &#958; (R) considered in the calculation (as opposed to including all possible adiabatic states of the molecule). Note that this effectively projects inside the DSE term within the matter subspace, with the projection operator P = &#8721; &#958; &#981; &#958; &#981; &#958; . This matter state truncation scheme <ref type="bibr">33,</ref><ref type="bibr">51</ref> makes sure that all operators are properly confined in the same truncated electronic subspace <ref type="bibr">33</ref> in order to generate consistent and meaningful results. Indeed, if the electronic Hilbert space identity is &#206; = P + Q, where Q contains the adiabatic electronic states outside the subspace defined by P, P P is properly confined in the subspace P, whereas P 2 P = P( P + Q) P contains the terms outside the subspace P. More details of this discussion can be found in Refs. 52 and 33, and a numerical example that demonstrates the validity of the truncation scheme can be found in Fig. <ref type="figure">S2</ref> of Ref. 33. Note that if solving the entire polariton eigenvalue problem [Eq. ( <ref type="formula">13</ref>)] using QED-electronic structure theory, the DSE can be expressed in a compact form that explicitly contains quadruple contributions. <ref type="bibr">26</ref> Furthermore, in Eq. ( <ref type="formula">31</ref>), we have used the matrix element of the dipole operator [Eq. ( <ref type="formula">6</ref>)] under the adiabatic representation</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The Journal of Chemical Physics</head><p>which parametrically depends on R.</p><p>To express the nuclear gradients in Eq. ( <ref type="formula">29</ref>), we need the gradients &#8711;&#945;Vij and derivative coupling matrix [d &#945; ] that often can be directly obtained from the ab initio electronic structure calculations or numerical differential techniques. <ref type="bibr">22</ref> To calculate &#8711;&#945;Vij, we need to take the derivative on each term of Vij(R) expressed in Eq. ( <ref type="formula">31</ref>), including &#8711;&#945;E&#957;(R) and &#8711;&#945;( &#8901; &#947;&#957; (R)). To construct the derivative coupling matrix [d &#945; ], one can simply use</p><p>because the Fock states do not explicitly depend upon R and are orthonormal to each other. In the above equation, d &#945; &#947;&#957; is the regular derivative couplings among adiabatic states of the molecule. Using the above information, we can explicitly write down all matrix elements of the PF Hamiltonian and the nuclear gradients [using Eq. ( <ref type="formula">29</ref>)].</p><p>To summarize, the most general results of the nuclear gradient [&#8711;&#945;V]ij for a molecule-cavity hybrid system is presented in Eq. ( <ref type="formula">29</ref>), with the matrix elements of Vij expressed in Eq. ( <ref type="formula">31</ref>) and the matrix elements of d &#945; in Eq. (33). This is the central results of this paper.</p><p>Below, we give more detailed expressions of these gradient expressions in two specific subspaces. For clarity and concreteness, we will only consider two adiabatic electronic states g and e, which are the electronic ground and first excited states of the molecule, respectively. The eigenvalues corresponding to these two states g and e are Eg and Ee, respectively. The photon Fock basis considered here is from vacuum state 0 to some finite number that assures the convergence of the properties we calculate. Unless explicitly stated, we always assume that the photon number in the basis is in the ascending order. For the state with the same photon number, the electronic states are also in the ascending order. Under the above settings, the two simplest basis one can choose are {e0, g1} and {g0, e0, g1, e1}, which are referenced hereafter as two-state and four-state basis, respectively.</p><p>Under the two-state subspace {e0, g1}, the potential matrix for the molecule-cavity hybrid system under this two-state basis is</p><p>The derivative coupling between g1 and e0 states is</p><p>due to the fact that 10 = 0, even though that g(R)&#8711;&#945;e(R) &#8800; 0. Thus, in the {e,0, g,1} subspace, the derivative coupling among these two states is 0, making them effectively "diabatic" even though e and g themselves are adiabatic states. Furthermore, using the general results in Eqs. ( <ref type="formula">31</ref>)-( <ref type="formula">33</ref>), we have [d &#945; ] = 0 because of g1&#8711;&#945;g1 = 0, g1&#8711;&#945;e0 = 0, and e0&#8711;&#945;e0 = 0.</p><p>The corresponding nuclear gradient thus only comes from &#8711;&#945;[V], which is explicitly expressed as</p><p>The above formula (without the DSE related terms) can be directly derived <ref type="bibr">23</ref> using the JC model [Eq. ( <ref type="formula">9</ref>)] and has been used to compute the nuclear force of two-level molecules coupled to a cavity. <ref type="bibr">10</ref> In the four-state basis {g0, e0, g1, e1}, the potential matrix is</p><p>The above matrix is Hermitian because eg = ge and D 2 eg = D 2 ge . The derivative coupling matrix</p><p>where d &#945; ge = g&#8711;&#945;e = -d &#945; eg . The elements are non-zero only when the corresponding basis (ket and bra) have the same photon number, according to Eq. (33). The nuclear gradients can be decomposed into two matrices as indicated by Eq. ( <ref type="formula">29</ref>), with the &#8711;&#945;[V] expressed as </p><p>as well as the [X &#945; ] matrix as follows:</p><p>All of the quantities appear in [V] and the gradient matrix [Eqs. ( <ref type="formula">37</ref>)-( <ref type="formula">40</ref>)] can be obtained when solving the electronic structure problem [Eq. ( <ref type="formula">3</ref>)] by calculating the adiabatic states of the molecular Hamiltonian &#292;en [Eq. ( <ref type="formula">2</ref>)]. Furthermore, one can clearly see that the DSE term is a necessary component in &#292;PF [Eq. ( <ref type="formula">7</ref>)], which is originated from the Power-Zienau-Woolley (PZW) gauge transformation on the minimum coupling Hamiltonian. These DSE terms also explicitly show up in the matrix elements of V [Eq. (31d)] as well as the nuclear gradient terms [Eqs. (39) and (40)]. Without DSE, the gauge invariance will explicitly break down. <ref type="bibr">30,</ref><ref type="bibr">43,</ref><ref type="bibr">52,</ref><ref type="bibr">53</ref> This is a well-known result in QED as well as revisited in the current literature. <ref type="bibr">9,</ref><ref type="bibr">30,</ref><ref type="bibr">[51]</ref><ref type="bibr">[52]</ref><ref type="bibr">[53]</ref> The importance of including the DSE terms in the PF Hamiltonian as well as in the nuclear gradient expression is discussed in Appendix C, with numerical examples.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Gradient expression in the polaritonic basis</head><p>Until now, the nuclear gradient expressions were formulated in the adiabatic-Fock basis (i.e., photon-dressed electronic states), which is not the eigenbasis of V [defined in Eq. ( <ref type="formula">12</ref>)]. Some MQC methods, such as FSSH, <ref type="bibr">17</ref> are formulated specifically in the eigenstates of V and require the calculation of the nuclear gradients on the eigenstates of V. This means that one needs to obtain the polariton eigenstates {EI(R)} by solving Eq. ( <ref type="formula">13</ref>). The transformation between {&#968; i (R)} = {&#981; &#957; (R) &#8855; n} and {EI(R)} basis can be accomplished by applying the transformation matrix U that diagonalizes the matrix [V] as</p><p>where the diagonal elements EI(R) are the eigenvalues of the polariton states EI(R). The adiabatic gradient (diagonal terms) and NAC between polaritonic states can thus be obtained by transforming the gradient matrix [&#8711;&#945;V] using U.</p><p>To connect with the nuclear gradient expressions in the previous literature, we derive the gradient explicitly in polaritonic basis. The nuclear gradient associated with the EI(R) polaritonic state is</p><p>where we have used the Hellman-Feynman theorem. Assuming the completeness relation &#8721; i &#968;i&#968;i = &#206; (where</p><p>and inserting it into Eq. ( <ref type="formula">42</ref>), we have</p><p>where the transformation matrix element is U kI = &#968; k EI. The gradient term &#968; j &#8711;&#945;V&#968; k can be evaluated using Eq. ( <ref type="formula">29</ref>).</p><p>The non-adiabatic coupling (derivative coupling) between two polaritonic states (when I J) can be expressed as 18</p><p>Note that this should not be confused with the molecular derivative coupling d &#945; ij defined in Eq. (33). One can further express Eq. ( <ref type="formula">44</ref>) by inserting the completeness relation as</p><p>where U lJ = &#968; l EJ and &#968; k &#8711;&#945;V&#968; l can be evaluated using Eq. (30).</p><p>To give a more concrete example, for the two-state basis {e0, g1}, we have</p><p>where &#8711;&#945;E 1 and &#8711;&#945;E 2 are gradients of two adiabatic (polaritonic) states and d &#945; 12 is the NAC between them. Since one can obtain the analytical formula of the transformation matrix U to diagonalize a 2 &#215; 2 matrix, we can explicitly write down the analytical formula for the NAC for this special case. To diagonalize the [V] matrix in Eq. ( <ref type="formula">34</ref>), we have the following U matrix:</p><p>The Journal of Chemical Physics</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ARTICLE scitation.org/journal/jcp</head><p>where the mixing angle &#952; satisfies the condition 54</p><p>with ge = gc &#8901; ge and V = Ve + D 2 ee -Vg -D 2 gg -h&#969;c, which is the difference between diagonal elements in Eq. (34).</p><p>The two polaritonic states can be expressed as</p><p>which are commonly referred to as the upper polariton state (for +) and lower polariton state (for -).</p><p>The NAC between these two states is d &#945; 12 = E 1 &#8711;&#945;E 2 . Using Eq. ( <ref type="formula">49</ref>), one can find that</p><p>Using the expression of the mixing angle &#952; in Eq. ( <ref type="formula">48</ref>), we have</p><p>The above d &#945; 12 expression is identical to the derivative couplings derived by Kowalewski and Mukamel <ref type="bibr">23</ref> for a JC light-matter interaction model [Eq. ( <ref type="formula">9</ref>)], subject to a difference with the presence of DSE terms in the expression of V. This is not surprising because, within the {e0, g1} subspace, the light-matter interaction Hamiltonian reduces to a JC type Hamiltonian [see Eq. ( <ref type="formula">34</ref>)].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. DETAILS OF MODEL CALCULATIONS A. Shin-Metiu model for the molecule</head><p>In this work, we use the Shin-Metiu (SM) model <ref type="bibr">55</ref> as the "ab initio" model molecular system to investigate strong and ultrastrong light-matter interactions between a molecule and an optical cavity. This simple and idealized model allows us to solve the polariton dynamics exactly, thus providing an ideal test case for assessing the validity of the nuclear gradient expressions. This model, on the other hand, also contains realistic electron-nuclear interactions and goes beyond the simple diabatic system-bath type models. We choose two different parameter sets of the SM model, and hereafter we refer to them as SM1 and SM2, respectively. The SM1 is the model-I documented in Ref. 55. The electronic-nuclear potential reads as</p><p>where the r and R are the position of the electron and the nucleus, respectively. The distance between two fixed ions is L = 18.897 a.u., and the cut-off for the modified Coulomb interaction Rc = 2.8345 a.u.</p><p>To calculate the electronic properties of the SM model, we use the Sinc discrete variable representation (DVR) basis <ref type="bibr">56</ref> to represent the electronic adiabatic wavefunction and solve Eq. ( <ref type="formula">3</ref>). The grid of DVR is uniform with spacing r = 0.147 in the range [-22, 22]  a.u. for the electronic DOF. The matrix elements of the electronic Hamiltonian &#292;el in this grid basis {ri} are given by ri &#292;el rj = ri Tr + VeN (r, R) + VNN (R)rj</p><p>where the ri Trrj is given analytically <ref type="bibr">56</ref> as follows:</p><p>Directly diagonalizing the matrix of &#292;el [in Eq. ( <ref type="formula">53</ref>)] at a given nuclear (proton) position R in this grid basis gives the accurate adiabatic electronic states</p><p>where c &#945; i (R) is the expansion coefficient, which is purely real for the adiabatic electronic states considered here.</p><p>Furthermore, the matrix elements for dipole moment operator [Eq. (32)] are calculated as</p><p>Figure <ref type="figure">1</ref>(a) presents the two lowest adiabatic electronic states [defined in Eq. ( <ref type="formula">3</ref>)] of SM1 model (red and blue curves), and Fig. <ref type="figure">1(c</ref>) presents the NAC between them (green curve). The energy gap at R = 0 a.u. between these two states is about 1.281 eV. The NAC is in the order of 0.2 a.u. and has a peak at R = 0 a.u. as well. The matrix elements of the dipole moment under the adiabatic representation [Eq. (32)] of SM1 are presented in Fig. <ref type="figure">1(e)</ref>. Note that, in some nuclear configurations, the magnitude of the permanent dipoles ( gg and ee ) could be even larger than the transition dipole eg , making the atomic JC model invalid. This can significantly change the polaritonic potential energy surfaces (PESs) when the light-matter coupling is strong enough and cause some strange dynamical behaviors as we will discuss later.</p><p>The SM2 model, which is an asymmetrical proton-coupled electron transfer model, is directly adapted from Ref. 40. The electron-nucleus interaction potential operator is</p><p>We choose the same parameters used in Ref. mode is chosen as h&#969;c = 2.721 eV (&#8776; 0.1 a.u.). Figure <ref type="figure">1</ref>(b) presents the two lowest adiabatic electronic states of SM2 (red and blue curves). Figure <ref type="figure">1</ref>(d) presents the NAC between them (green curve).</p><p>The matrix elements of the dipole moment under the adiabatic representation [Eq. (32)] of SM2 are presented in Fig. <ref type="figure">1(f)</ref>. We assume that the cavity field polarization direction is always aligned with the direction of the dipole operator , such that &#8901; &#947;&#957; = &#947;&#957; (for {&#957;, &#947;} = {e, g}), where &#947;&#957; is the magnitude of . Explicitly considering the angle between and will generate a polariton induced conical intersection (even for a diatomic molecule), which will cause geometric phase effects. <ref type="bibr">57</ref> We consider three different light-matter coupling strengths g c = 0.001 a.u., g c = 0.005 a.u., and g c = 0.01 a.u. in this work. The normalized coupling strength is often defined as 30 &#951; &#8801; g c &#8901; &#8901; eg &#969;c, where &#8901; eg is the typical magnitude of the transition dipole projected along the field polarization direction. For the coupling strength considered above (and taking h&#969;c &#8776; 2.7 eV for the model calculation), the normalized coupling strength is &#951; = 0.06 (for g c = 0.001 a.u.), &#951; = 0.3 (for g c = 0.005 a.u.), and &#951; = 0.6 (for g c = 0.01 a.u.). When 0.1 &lt; &#951; &lt; 1, the light and matter interaction achieves the ultra-strong coupling regime, <ref type="bibr">30,</ref><ref type="bibr">52</ref> which is difficult to achieve but within the reach of the current experimental setup. <ref type="bibr">58,</ref><ref type="bibr">59</ref> Thus, besides the pure theoretical value to derive the exact nuclear gradient expression, our computational results are also within the reach of the near future experimental setup.</p><p>For both models, the initial states (for t = 0) of the moleculecavity hybrid system is</p><p>which corresponds to a Franck-Condon excitation of the hybrid system to the e,0 state, with &#967; as the initial nuclear wavefunction. For both two models in this work, we use</p><p>where M is the mass of the proton (nucleus in the SM model), and R 0 is the position with a minimum potential energy of the ground electronic state. Here, &#967;(R) is the vibrational ground state wavefunction on the ground electronic states, centered at R 0 under the harmonic approximation, with the harmonic oscillation frequency is &#969;. For SM1, R 0 = -4.156 and &#969; = 0.002 70 a.u.; for SM2, we use 40 R 0 = -4 and &#969; = 0.000 382 a.u.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Details of MQC simulations</head><p>For the MQC simulations, all of the electronic properties of SM model are calculated on-the-fly using the Sinc DVR method, <ref type="bibr">56</ref> including the adiabatic electronic eigenstate, dipole moments, and derivative coupling. In particular, using &#981; &#945; (R) in the grid basis, we can directly evaluate the adiabatic nuclear gradient &#981; &#955; &#8711; &#292;en&#981;&#957; as follows:</p><p>where the &#8711; &#292;en(R) is evaluated analytically using the expression of Ven(R) in Eqs. ( <ref type="formula">52</ref>) and ( <ref type="formula">57</ref>). This gives the adiabatic gradient &#8711;E&#947; (when &#947; = &#957;) and derivative coupling (for &#947; &#8800; &#957;) as</p><p>Furthermore, the nuclear gradient expression [Eq. (39)] for a polariton system requires the derivative on the dipole matrix [Eq. (56)]. This requires the evaluation of the derivative of the expansion coefficients &#8711;c &#947; i (R) in Eq. (56). Instead of evaluating these derivatives, as been commonly done in electronic structure calculations, <ref type="bibr">22</ref> here, we evaluate this derivative on dipole numerically as follows:</p><p>To perform the Ehrenfest dynamics simulation, we use the TDSE in Eq. ( <ref type="formula">20</ref>) for quantum subsystem (electronic-photonic DOFs), and equation of motion in Eq. ( <ref type="formula">24</ref>) for the classical subsystem (nuclear DOF). We use the fourth-order Runge-Kutta method to integrate the TDSE and the velocity Verlet algorithm to integrate Newton's equation of motion. The time step for the nuclear motion is 0.1 a.u., and the sub-step for solving the TDSE of the electronic-photonic subsystem is 0.001 a.u. The total energy is well conserved for all the trajectories.</p><p>We use Tully's FSSH <ref type="bibr">17,</ref><ref type="bibr">18</ref> algorithm to perform surface hopping simulations for polariton dynamics. Note that a similar simulation has been performed recently, <ref type="bibr">19,</ref><ref type="bibr">21,</ref><ref type="bibr">22</ref> and our focus here is to test the importance of the new gradient expressions. The equation of motion</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The Journal of Chemical Physics</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ARTICLE scitation.org/journal/jcp</head><p>for electronic wavefunction in FSSH is described in Eq. ( <ref type="formula">20</ref>), which is the same as Ehrenfest dynamics. The main difference is how the nuclear force is treated. In FSSH, the nuclear force is contributed from only one specific eigenstate of V, the so-called active state as follows:</p><p>where EI is the active adiabatic polariton state (which is the eigenstate of V). The active state index will be determined at every single nuclear propagation step. According to the "fewest switches" algorithm, <ref type="bibr">17</ref> the probability of switching (probability flux) from the active polariton state I to any other polariton state J during the time interval between t and t + &#948;t is</p><p>where &#961;IJ = c * I cJ is the electronic density matrix element. Since the probability should not be negative, we set fIJ to 0 if fIJ &lt; 0. Then, the non-adiabatic transition, i.e., stochastic switch from the current occupied state I to another state K, occurs if the following expression is met:</p><p>where &#958; is a randomly generated number between 0 and 1 at each nuclear time step. If the transition is accepted, the active state is set to the new adiabatic state K, while the velocities of the nuclei are rescaled along the direction of the non-adiabatic coupling vector dIK(R) in order to conserve the total energy</p><p>where the universal scaling constant &#964;IK is calculated with the smallest magnitude obtained from the following expression: 18</p><p>When the nuclear kinetic energy is not large enough to compensate the polariton potential difference, a frustrated hop occurs, <ref type="bibr">60</ref> meaning that the hop is rejected and the active state is set to the original adiabatic state I. In addition, we do not modify the nuclear velocity in this case. In the Result section, we compare population dynamics in the basis of &#968; i (R) = &#981; &#945; (R) &#8855; n, instead of in the adiabatic polariton basis EI(R). When computing the population in a representation that is rather than the adiabatic states of V, there is no unique way calculate them in FSSH. Here, we choose the simplest possible choice of using the electronic expansion coefficients [in Eqs. ( <ref type="formula">15</ref>) and ( <ref type="formula">17</ref>)] to compute the population dynamics. Other choices as suggested in Ref. 61 might provide more accurate results for FSSH. These approaches will be explored in future studies.</p><p>The initial nuclear distribution of MQC simulations are generated by sampling the Wigner density [R&#967;]w = 1 h&#960; e -M(P 2 +&#969; 2 (R-R ) 2 )&#969; h , which is the Wigner transformation of the nuclear wavefunction &#967;(R) = R&#967; in the initial state [see Eq. ( <ref type="formula">58</ref>)]. Here, R and P are the nuclear coordinate and momentum, respectively. The initial state for the electronic-photonic subsystem is set to be e0. The population dynamics were averaged over 2000 trajectories, although 500 trajectories was good enough to produce the basic trend of the polariton dynamics. The light-matter coupling strength g c was chosen to be 0.001, 0.005, and 0.01. For FSSH simulation, we need to choose an initial active state, and the initial state for the polariton subsystem e(R),0 is not one of the eigenstate E(R). We follow the previous work <ref type="bibr">62</ref> and use the canonical Monte Carlo scheme to randomly choose the initial active state EI(R) for each trajectory, based on the magnitude of EI(R)e(R),0 2 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Exact polariton quantum dynamics</head><p>To benchmark the performance of the MQC polariton dynamics simulations, we also solve the exact quantum dynamics for the molecule-cavity hybrid system. We express the total wavefunction of the hybrid system through the Born-Huang expansion as follows:</p><p>where &#967; &#957;n (R) is the nuclear wavefunction. In our cases, electronic &#981; &#957; (R) and photonic n basis states are truncated to some finite number of states. For example, in the four-level basis, &#957; = g, e, and n = 0, 1, and the total wavefunction can be written out explicitly as</p><p>To simplify our notation, we omit R-dependence of the adiabatic electronic states. Plugging the above expansion to time-independent Sch&#246;dinger equation (TISE) &#292;&#936; = &#949;&#936;, we can obtain the eigenvalue equation for the nuclear wavefunction [see Eq. ( <ref type="formula">70</ref>)]. The main obstacle is how to write the nuclear kinetic energy operator correctly in the dressed states. We discard the nuclear index &#945; because we only have one nucleus in our model system (i.e., &#8711;&#945; = &#8711;). The nuclear gradient operator is applied to the total wavefunction [Eq. ( <ref type="formula">67</ref>)], and we arrive at the following two equations:</p><p>Multiply g0, e0, g1, and e1 to the above equation, respectively, we can rewrite the above equation in matrix form </p><p>The matrix in right hand side can be seen as the nuclear kinetic operator in the adiabatic-Fock states basis except a constant -h 2 2M.</p><p>Since we already derived the formula of V in the same basis in Eq. ( <ref type="formula">37</ref>), we can directly plug these expressions into the TISE and obtain the following eigenequation:</p><p>We use the Sinc DVR basis <ref type="bibr">56</ref> to represent the nuclear wavefunction {&#967;} and solve the above eigenvalue problem to obtain all the eigenvalues and eigenstates. We use finer grid points for nucleus x = 0.016 in the range [-8, 8]. To test the convergence of grid points, we doubled the number of grid points and the results were identical.</p><p>The time-evolution dynamics is obtained by unitary evolution</p><p>where &#949;j is the j th eigenvalue and cj is the projection of initial total wavefunction onto the j th eigenstate &#949;j,</p><p>where &#936;(t = 0) = &#934; defined in Eq. ( <ref type="formula">58</ref>).</p><p>The potential technical challenge is to obtain the second order derivative coupling, e.g., g&#8711; 2 g and g&#8711; 2 e, terms in Eq. ( <ref type="formula">69</ref>), which are not always available in electronic structure methods. However, for a two-electronic-state problem, they can be calculated explicitly using dge as g&#8711; 2 g = e&#8711; 2 e = -dge 2 , (73a) g&#8711; 2 e = -e&#8711; 2 g = &#8711;&#8901;dge.</p><p>(</p><p>The above strategy to solve the exact polariton dynamics can also be found in many other previous studies, such as Refs. 63 and 64. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The Journal of Chemical Physics</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ARTICLE scitation.org/journal/jcp</head><p>For more than two electronic states, these quantities are evaluated numerically.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. RESULTS AND DISCUSSIONS</head><p>Figure <ref type="figure">2</ref>(a) presents the first four polaritonic surfaces of the SM1 model coupled to a resonant optical cavity, where the potential is color coded based on the expectation value of &#226; &#8224; &#226; indicated on top of this panel. Note that this should not be viewed as a "photon number" operator under the dipole gauge used in the PF Hamiltonian <ref type="bibr">34,</ref><ref type="bibr">53</ref> because the rigorous photon number operator should be obtained by applying the Power-Zienau-Woolley (PZW) Gauge transformation <ref type="bibr">33,</ref><ref type="bibr">65,</ref><ref type="bibr">66</ref> on the photon number operator &#226; &#8224; &#226;. Nevertheless, it can be viewed as an approximate estimation of the photon number when the light-matter couplings are not in the ultrastrong coupling regime. <ref type="bibr">67</ref> We use a light-matter coupling strength of g c = 0.005 a.u., and the photon energy of the cavity mode is chosen as h&#969;c = 1.281 eV (&#8776;0.047 a.u.).</p><p>Figure <ref type="figure">2</ref>(b) presents the exact quantum dynamics within the JC subspace {e0, g1} (dashed lines) or in the larger {g0, e0, g1, e1} (solid lines) sub-space, under which the polaritonic eigenstates and dynamics are converged. The initial condition is described in Eq. (58). Clearly, additional states beyond the JC subspace will be explored by the quantum dynamics of the hybrid system due to the NACs among these states. The population of the e1 state is mainly contributed from the population transfer from the e0 state due to the light-matter coupling originated from the permanent dipole ee . In addition, the population transition between e0 and g1 is mediated by the cavity-induced coupling near R = 0, where the PES exhibits a strong mixing between these two states as shown in Fig. <ref type="figure">2</ref>(a) at R = 0.</p><p>Figure <ref type="figure">2</ref>(c) presents several components of the Xij matrix in the general gradient expression [Eq. (40)] in the subspace of {g0, e0, g1, e1}. Comparing the gradient expression in the two-state [Eq. (36)] and four-state subspaces [Eqs. (39) and ( <ref type="formula">40</ref>)], the [X] terms [Eq. (40)] do not show up in the two-level JC case [Eq. (36)]. The JC gradient component &#8711;[V] e0,g1 = gc &#8901;&#8711; ge and the regular gradient from the electronic derivative couplings X g0,e0 = dge(Ve -Vg + D 2 ee -D 2 gg ) are compared with the rest of the non-JC type of gradients, such as X g0,g0 = 2dgeD 2 eg (where The Journal of Chemical Physics ARTICLE scitation.org/journal/jcp the matrix of the DSE operator), X g0,e1 = dgegc &#8901; eegg , and X g0,g1 = 2dge g c &#8901; ge . As we show in Fig. <ref type="figure">2(c</ref>), all of the gradients we discussed above have a similar magnitude in this Shin-Metiucavity model with a coupling strength g c = 0.005 a.u. Some elements can be even larger than &#8711;[V] e0,g1 , such as X g0,e0 and X g0,g1 . All of these non-JC type of gradient terms, unfortunately, are not included in the previous MQC studies of polariton quantum dynamics based upon the JC models. <ref type="bibr">22,</ref><ref type="bibr">23,</ref><ref type="bibr">42</ref> When the system starts to explore all of the states and generate sizable population and coherences [&#961;ij = c * i cj, where ci is the expansion coefficients in Eq. ( <ref type="formula">17</ref>)], the nuclear forces [for example, in Eq. ( <ref type="formula">24</ref>)] from these new gradient terms will have a non-negligible contribution that is required to be explicitly and correctly included.</p><p>Figure <ref type="figure">2</ref>(d) presents the polariton dynamics obtained from the Ehrenfest MQC simulations (dotted lines) in the four-level subspace, compared to the numerically exact results (solid lines). It shows that the population dynamics of MQC agrees reasonably well with the exact results. For the two-level case, the Ehrenfest MQC simulation results are also consistent with the exact quantum simulation shown in Fig. <ref type="figure">2</ref>(b) (dashed line), which are not presented here.</p><p>Figure <ref type="figure">3</ref>  As can be seen from Fig. <ref type="figure">3</ref>(b) (g c = 0.005) and Fig. <ref type="figure">3</ref>(c) (g c = 0.01), the gap between the 2nd and the 3rd polariton PES becomes larger and the state e1 starts to mix with the states within the JC subspace. The g0 state, on the other hand, only slightly mixes with the other photon dressed states, even with the largest light-matter couplings we considered.</p><p>The population dynamics for g c = 0.005 are presented in Figs. <ref type="figure">3(e</ref>) and 3(h). The main transitions occur between the e0 and g1 states, and the e1 state also shows a finite oscillating population, which is mainly caused by the light-matter interaction carried by the permanent dipole ee . When increasing the coupling strength to g c = 0.01, the main population transition now happens between e0 and e1 states, due to the permanent dipole ee that dominates the light-matter coupling. For all cases, both Ehrenfest and FSSH approaches generate reasonably accurate polariton population dynamics, with FSSH slightly outperforming the Ehrenfest dynamics.</p><p>Figure <ref type="figure">4</ref> presents the polariton dynamics of the SM2 model coupled to a cavity. <ref type="bibr">40</ref> This model has been used to investigate how cavity can influence proton-coupled electron transfer reaction with the exact factorization approach. <ref type="bibr">40,</ref><ref type="bibr">68,</ref><ref type="bibr">69</ref> The PES of SM2 is asymmetric and there is an avoided crossing near R = 2.0 a.u. The photon energy is h&#969;c = 0.1 a.u., causing a light-induced avoid crossing near R = -4.0 a.u. [see Fig. <ref type="figure">4</ref> When the coupling is g c = 0.001, the polaritonic PESs [Fig. <ref type="figure">4(a)</ref>] have nearly identical curvatures of the photon dressed states g1 and e0 (which is indicated by the color coding of the surfaces), except at R &#8776; -4 a.u., where the e,0 and g,1 states mix. In Figs. <ref type="figure">4(d</ref>) and 4(g), even for a relatively small light-matter coupling strength g c = 0.001, the system will have a finite population for g0 state. This is different compared to the case of SM1 [Figs. 3(d) and 3(g)], where the dynamics is largely confined with in the JC subspace {g1, e0} under the same coupling strength. Although SM2 has a large permanent dipole, the population of g0 only starts to grow later in time (20 fs) after the initial excitation. Thus, the population transfer to g0 and e1 states are mainly due to the electronic NAC deg that directly couples the g1 state to e1 state, as well as the e0 state to g0 state. Note that the e1 state does not have a significant population (see solid lines for the exact results); however, both Ehrenfest dynamics [open circles in Fig. <ref type="figure">4(d)</ref>] and FSSH approach [dots in Fig. <ref type="figure">4(g)</ref>] incorrectly predict a larger e1 population due to their less accurate MQC approximation.</p><p>When the light-matter coupling strength increases, the polaritonic PES starts to change its curvatures and characters, which can be clearly seen from the color coding of the polariton PES. The population of e1 starts to grow at an earlier time, due to the permanent dipole ee that couples e0 state to the e1 state, whereas the electronic NAC deg still contribute to the later time population transfer to the g0 state. Through out all coupling strengths investigated here, both Ehrenfest and FSSH approaches provide a reasonable accuracy for the population dynamics for the g1 and e0 states at a short time, with a less satisfied accuracy at a longer time compared to the case of SM1 coupled to the cavity in Fig. <ref type="figure">3</ref>.</p><p>The canonical picture of the JC model for cavity QED has provided invaluable insights into the field of polariton physics and chemistry. In this model, the cavity photons dress the molecular energy level by the energy of one photon, providing the photondressed ground state g1 state, which can be resonant with the e0 state and then hybridize with it. The transition dipole eg causes the superposition between e0 and g1 states [through the light-matter coupling term in Eq. ( <ref type="formula">9</ref>)]. The NAC between polaritonic PES d 12 [Eq. (51)] will be large due to the near degeneracy of the polariton states. When the NAC from other states are smaller than d 12 [Eq. ( <ref type="formula">51</ref>)], the polariton dynamics is largely confined within the Hilbert subspace {e0, g1} states. However, this approximation will breakdown under several scenarios, and we just enumerate two commonly encountered ones that we have already explored in our numerical results. First, the electronic NAC deg [Eq. (19)] between e0 and g0 could play an important role in the dynamics (as shown in Fig. <ref type="figure">4</ref>) and could have a large contribution in the [X] expression [Eq. ( <ref type="formula">40</ref>)]. Note that the effect of electronic NAC deg is not included in the JC subspace [see Eq. ( <ref type="formula">35</ref>)]. Correctly including the intrinsic NAC is essential to investigate molecular cavity QED. The second scenario is when molecules have large permanent dipole moments. In our case, both SM1 and SM2 have a large permanent dipole ee that causes the coupling between e0 and e1 through the light-matter coupling in Eq. ( <ref type="formula">5</ref>), and this coupling is proportional to the light-matter coupling strength g c . Thus, with an increasing g c , the e1 state could get a larger population (as shown in Fig. <ref type="figure">3</ref>). Unlike the atomic cavity QED, the dynamical interplay among the electronic, photonic, and nuclear DOFs are often more complicated; thus, the truncation to any Hilbert subspace (including the JC subspace) must be done with caution. <ref type="bibr">33,</ref><ref type="bibr">34,</ref><ref type="bibr">41</ref> V. CONCLUSIONS In this paper, we derive a rigorous expression of the nuclear gradient using the QED Hamiltonian without making unnecessary approximations. Under the adiabatic-Fock representation, and requiring the total energy conservation of this MQC system, we derived the rigorous nuclear gradient, and it is intuitively connected to those approximate gradients under the JC approximation. <ref type="bibr">23</ref> This rigorous expression has additional terms that go beyond the expression of the JC Hamiltonian. <ref type="bibr">23</ref> We have numerically demonstrated the importance of these terms in the MQC simulations of polariton dynamics.</p><p>The nuclear gradient expression can be readily used in any MQC simulations, such as Ehrenfest and FSSH approaches demonstrated in this work, as well as nuclear wavepacket approaches that require a nuclear gradient. <ref type="bibr">70,</ref><ref type="bibr">71</ref> The theoretical developments in this work could significantly benefit the polariton quantum dynamics community with a rigorous nuclear gradient of the molecule-cavity hybrid system and could have a broad impact on the future non-adiabatic simulations of polariton quantum dynamics.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The Journal of Chemical Physics</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ARTICLE scitation.org/journal/jcp</head><p>Combine the above two equations together, we have</p><p>Using the above result, the left-hand side of Eq. ( <ref type="formula">23</ref>) becomes</p><p>The order of summation over the index i, j, k does not affect the final result. By relabeling the index i &#8594; l, k &#8594; j, and j &#8594; i, we can see that</p><p>Thus, the second term of the right-hand side of Eq. ( <ref type="formula">A3</ref>) is equal to zero. Similarly, by relabeling the index l &#8594; i, j &#8594; k, and i &#8594; j, one can show that</p><p>Plugging the above equation into Eq. (A3), we have</p><p>which is Eq. ( <ref type="formula">23</ref>) of the main text. In the last step, we have used the property d &#945; ij = -d &#945; ji .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX B: NUCLEAR GRADIENTS OF MOLECULES</head><p>For the case of an isolated molecular system, it is easy to check that the nuclear forces in Eq. ( <ref type="formula">24</ref>) reduce to the familiar expressions. For a diabatic basis, the derivative coupling between states is strictly zero, i.e., dij = 0, and Eq. ( <ref type="formula">24</ref>) becomes the Ehrenfest equation of motion</p><p>For the adiabatic basis, the electronic potential matrix [V] now is diagonal, i.e., Vij = Ei(R)&#948;ij, where Ei is i th eigenvalue satisfying V&#981;i = Ei&#981;i. Under this case, Eq. ( <ref type="formula">24</ref>) becomes</p><p>where we have used the chain rule &#981;i&#8711;&#945; V&#981;j = &#8711;&#945;&#981;i V&#981;j -&#8711;&#945;&#981;i V&#981;j&#981;i V&#8711;&#945;&#981;j as well as the following well-known equality: <ref type="bibr">18</ref> &#981;i&#8711;&#945; V&#981;j = &#8711;&#945;Ei, (i = j),</p><p>The Journal of Chemical Physics ARTICLE scitation.org/journal/jcp APPENDIX C: ADDITIONAL NUMERICAL RESULTS</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Convergence of the Fock states</head><p>All simulations presented in the main text are restricted in the Fock state basis 0 and 1. Under the strong light-matter interactions, more Fock states are required to reach convergence. <ref type="bibr">9,</ref><ref type="bibr">34</ref> In Fig. <ref type="figure">5</ref>, we provide the convergence test of the Fock states with the intermediate coupling case (g c = 0.005) for SM1.</p><p>Figure <ref type="figure">5</ref>(a) presents the population dynamics of the e0 state with the exact quantum dynamics. The results obtained using n = 6 and n = 8 Fock states are nearly identical and only display a small difference after 30 fs, and the n = 10 Fock state results are identical to the n = 8 result (which is on top of the n = 10 result). Figure <ref type="figure">5</ref>(b) presents the same calculations using the Ehrenfest dynamics, with the general nuclear gradient expression in Eqs. ( <ref type="formula">29</ref>) and (31). As we already presented in the main text, the Ehrenfest simulation results (or FSSH results) are very close to the exact simulation results for the SM1-cavity coupling model investigated here, the Ehrenfest dynamics thus presents almost identical trend of the convergence for the population dynamics.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Importance of the dipole self-energy</head><p>We demonstrate the importance of the DSE terms in polariton quantum dynamics simulations, especially in the strong and ultrastrong light-matter coupling regimes.  ge along the nuclear coordinate (proton coordinate) for the SM1 model coupled to a cavity with different light-matter coupling strengths. For comparison, we also present other off-diagonal light-matter coupling terms, such as g c &#8901; gg (red), g c &#8901; ge (green), and g c &#8901; ee (blue), which are the matrix elements of the light-matter coupling operator [see Eq. ( <ref type="formula">37</ref>  <ref type="formula">37</ref>) are also presented for comparison, such as g c &#8901; gg (red), g c &#8901; ge (green), and g c &#8901; ee (blue).  The results obtained from the Ehrenfest dynamics simulations are in a good agreement with the numerically exact simulations (panels a, c, e). This demonstrates the accuracy of the Ehrenfest simulations for this particular model system, as well as the importance of the DSE terms for an accurate description of the light-matter interactions. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The Journal of Chemical Physics</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The Journal of Chemical Physics</head></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Published under an exclusive license by AIP Publishing</p></note>
		</body>
		</text>
</TEI>
