Theory Overview
PyQED collects methods for molecular quantum dynamics, spectroscopy, light-matter interaction, open quantum systems, and quantum chemistry. The common starting point is a Hamiltonian model and a representation for the state, density matrix, or response function.
Hamiltonian Models
Most workflows start from a Hamiltonian split into a reference part and one or more interactions:
For molecular problems, H_0 may be an electronic Hamiltonian, a vibronic
Hamiltonian, a grid Hamiltonian, or an effective model Hamiltonian. The
time-dependent perturbation V(t) often represents a laser pulse, a cavity
mode, or a coupling to an external field.
The time-dependent Schrodinger equation is
and the corresponding density-matrix equation is
Atomic units are used in most quantum chemistry and molecular dynamics code paths unless a specific example states otherwise.
Quantum Chemistry
The nonrelativistic electronic Hamiltonian in a molecular orbital basis is
Here h contains one-electron kinetic and nuclear-attraction integrals,
(pq|rs) are electron-repulsion integrals, and E_nuc is the nuclear
repulsion energy.
Hartree-Fock approximates the wavefunction by a single determinant and solves self-consistent orbital equations:
Post-HF methods add correlation on top of this reference. PyQED includes CI, MP2, CASCI, and CASSCF-related workflows. In active-space methods, the orbital space is partitioned into inactive, active, and external orbitals. CASCI solves the active-space CI problem for fixed orbitals, while CASSCF optimizes both the CI coefficients and orbital rotations.
For larger calculations, electron-repulsion integrals may be represented by factors rather than a dense four-index tensor:
This reduces memory pressure and enables direct factorized contractions in RHF, CASCI, and CASSCF workflows.
Related pages:
Discrete Variable Representation
Discrete variable representation methods represent wavefunctions on a grid while keeping derivative operators as matrices. A typical one-dimensional grid Hamiltonian is
The potential is diagonal in the DVR grid, while the kinetic-energy matrix depends on the selected DVR basis. DVR methods are useful for wavepacket dynamics, model potentials, and grid-based quantum chemistry prototypes.
For tensor-product grids, multidimensional Hamiltonians are assembled from one-dimensional kinetic terms and a multidimensional potential:
Related page:
Nonlinear Spectroscopy
Spectroscopy observables are response functions of dipole or current operators. Linear absorption is determined by a two-point dipole correlation function:
The frequency-domain spectrum is obtained from a Fourier transform, with appropriate damping or windowing:
Nonlinear spectroscopy uses higher-order response functions. For example, a third-order signal depends on nested commutators of dipole operators evaluated at multiple time delays. In practice, PyQED supports both sum-over-states and time-domain propagation viewpoints.
Related page:
Open Quantum Systems
Open-system dynamics describe a system coupled to an environment. A common Markovian model is the Lindblad master equation:
For structured baths, the environment is often characterized by a spectral density:
The bath correlation function determines memory effects and dissipative rates. HEOM and related methods approximate the bath correlation function as a sum of exponentials and propagate auxiliary density operators.
Related pages:
Floquet Theory
For a periodic Hamiltonian,
solutions can be written in Floquet form:
The quasienergies epsilon are eigenvalues of the Floquet operator in an
extended time-periodic Hilbert space. This representation is useful for driven
two-level systems, periodically driven lattices, and light-dressed matter.
Related page:
Light-Matter Coupling
Light-matter models couple electronic, vibrational, or model-system degrees of freedom to quantized or classical fields. A minimal cavity-QED Hamiltonian has the form
where omega_c is the cavity frequency, g is the coupling strength, and
mu is the molecular dipole operator. Depending on gauge and approximation,
additional self-polarization terms may be required.
Related page:
Nonadiabatic and Ehrenfest Dynamics
Nonadiabatic dynamics couple nuclear motion to multiple electronic states. In an adiabatic basis, nuclear motion feels state-dependent energies and derivative couplings:
Ehrenfest dynamics propagates classical nuclei on the mean field generated by a coherent electronic state:
In a locally diabatic overlap formulation, short-time electronic propagation can use state overlaps between neighboring geometries instead of explicit nonadiabatic coupling vectors. This is useful when analytic NACs are unavailable or expensive.
Related page:
Method Selection
Use these rough guidelines:
Use RHF as the starting point for closed-shell mean-field calculations.
Use MP2 for inexpensive dynamic correlation near a single-reference state.
Use CASCI when active orbitals are fixed and static correlation matters.
Use CASSCF when active orbitals need to relax with the CI wavefunction.
Use TDDFT or TDHF for linear-response excited states and spectra.
Use DVR methods for low-dimensional grid dynamics.
Use MPS/DMRG when an active space or lattice model is too large for exact diagonalization but has manageable entanglement.
Use HEOM or master equations when environmental dissipation is essential.
Use Floquet theory when the Hamiltonian is periodic in time.
Related tensor-network page: