compute electronic excitation spectra
ExcitationSpectra(molecule, method, options)
list of lists; each list has 4 elements, the string of an atom's symbol and atom's x, y, and z coordinates
(optional) method = name/procedure where name is one of 'HartreeFock' (default), 'DensityFunctional'
(optional) nstates = integer/list where the integer specifies the number of excited states computed
(optional) showtable = true or false (default) displays a fancy table when set to true
(optional) equation(s) of the form option = value where option is any valid option of the chosen method
ExcitationSpectra computes the excitation spectra from exciting a molecule from its ground state to its excited states.
The procedure returns a (n+1)x5 Matrix containing the state indices, excitation energies (eV), wavelengths (nm), spin states, and oscillator strengths in columns 1 through 5.
Methods, set by the method keyword, include 'HartreeFock' (default) and 'DensityFunctional'.
The number n of excited states is determined by the optional keyword nstates. If nstates = n, then n singlet and n triplet states are computed. If nstates=[n,m], then n singlet and m triplet states are computed. By default, nstates = 6.
The data can be displayed in a fancy table by setting the optional keyword showtable to true (the default is false).
When the HartreeFock method is selected, the excitation spectrum can be computed by either the time-dependent Hartree-Fock (TDHF) or the configuration interaction singles (CIS) method. By default TDHF is performed. TDHF and CIS can be directly selected by setting the optional keyword excited_states to the string "TDHF" or "CIS".
When the DensityFunctional method is selected, the excitation spectrum can be computed by either the time-dependent density functional theory (TDDFT) or the Tamm-Dancoff approximation (TDA) method. By default TDDFT is performed. TDDFT and TDA can be directly selected by setting the optional keyword excited_states to the string "TDDFT" or "TDA".
The result depends upon the chosen molecule, method, and basis set among other options such as charge, spin, and symmetry. The ground-state molecule must be in a singlet state, that is spin = 0.
The command only works with methods that return excitation energies.
Because the methods employ Maple remember tables, the procedure only computes the results if they have not been previously computed by calling the method directly or indirectly through another property.
The excitation spectrum of the uracil molecule can be computed with the Hartree-Fock (TDHF) method.
First, we define the molecule's geometry with the MolecularGeometry command
molecule ≔ MolecularGeometryuracil;
Second, we plot uracil with the PlotMolecule command
Finally, we compute the excitation spectrum
spectra_hf ≔ ExcitationSpectramolecule;
By double clicking the output matrix above, the result can be viewed in a Matrix Browser with options to export the data.
The excitation spectrum can also be displayed in a fancy table by setting the optional keyword showtable to true
spectra_hf ≔ ExcitationSpectramolecule,showtable=true:
The number of states computed can be controlled with the keyword nstates; i.e., nstates=1 computes 1 singlet and 1 triplet state
spectra_hf ≔ ExcitationSpectramolecule,nstates=1, showtable=true:
Download Help Document
What kind of issue would you like to report? (Optional)