<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ech17</id>
	<title>ChemWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ech17"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Ech17"/>
	<updated>2026-04-29T08:36:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Mod:Hunt_Research_Group:_ES_alpha&amp;diff=630616</id>
		<title>Mod:Hunt Research Group: ES alpha</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Mod:Hunt_Research_Group:_ES_alpha&amp;diff=630616"/>
		<updated>2017-09-05T14:25:12Z</updated>

		<summary type="html">&lt;p&gt;Ech17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==introduction==&lt;br /&gt;
*we are using g09&lt;br /&gt;
*apparently Dalton can also calculate excited state polarizabilities http://www.daltonprogram.org&lt;br /&gt;
&lt;br /&gt;
* useful [https://joaquinbarroso.com/2012/07/27/polarizability-and-hyperpolarizability-in-gaussian/ blog]&lt;br /&gt;
*data below relates to information in this paper [https://pubs.acs.org/doi/abs/10.1021/jp5057623 link] we have used molecule VI from Scheme1&lt;br /&gt;
&lt;br /&gt;
==process==&lt;br /&gt;
*optimise the ground state use int=ultrafine and scf=(conver=9)&lt;br /&gt;
*make sure to &amp;quot;turn on&amp;quot; relevant symmetry&lt;br /&gt;
*confirm with a frequency analysis (using the optimised geometry)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) guess=read int=ultrafine freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:we turn on extra printing with #p&lt;br /&gt;
SCF Done:  E(RB3LYP) =  -391.474123816&lt;br /&gt;
:you are looking for something like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            593.6542&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=              0.0000    Y=              0.0000    Z=              2.7398  Tot=              2.7398&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -35.4903   YY=            -50.1334   ZZ=            -37.0641&lt;br /&gt;
   XY=              0.0000   XZ=              0.0000   YZ=              0.0000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:the dipole moment is in the standard orientation, and the zero is therefore the CoM&lt;br /&gt;
:then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:the polarizability is in lower-triangular format with xx, xy, yy, xz, yz and zz values&lt;br /&gt;
:the approximate value is a cruder estimate evaluated using sum-over-states perturbation theory&lt;br /&gt;
:the polarizability is the mean(traceX)=1/3(xx+yy+zz) ie one third of the sum of the diagonal terms&lt;br /&gt;
:if you do this 1/3(19.474+65.813+36.738)=40.67&lt;br /&gt;
:note that this tensor is given relative to the standard orientation&lt;br /&gt;
&lt;br /&gt;
*then you can use the checkpoint file of the freq job and run a job with polar&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you will see something like this&lt;br /&gt;
:were clearly the tensor is symmetric and 1=y, 2=z and 3=x&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SCF Polarizability for W=    0.000000:&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.658125D+02&lt;br /&gt;
      2 -0.119999D-03  0.367380D+02&lt;br /&gt;
      3  0.227376D-02  0.472986D-03  0.194741D+02&lt;br /&gt;
 Isotropic polarizability for W=    0.000000       40.67 Bohr**3.&lt;br /&gt;
SCF Static Hyperpolarizability:&lt;br /&gt;
 K=  1 block:&lt;br /&gt;
                1&lt;br /&gt;
      1  0.000000D+00&lt;br /&gt;
 K=  2 block:&lt;br /&gt;
                1             2&lt;br /&gt;
      1  0.000000D+00&lt;br /&gt;
      2  0.000000D+00  0.000000D+00&lt;br /&gt;
 K=  3 block:&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1 -0.304281D+01&lt;br /&gt;
      2  0.000000D+00 -0.718146D+02&lt;br /&gt;
      3  0.000000D+00  0.000000D+00  0.451401D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and a bit later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            593.6543&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=              0.0000    Y=             -2.7398    Z=             -0.0010  Tot=              2.7398&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -50.1333   YY=            -37.0642   ZZ=            -35.4903&lt;br /&gt;
   XY=              0.0000   XZ=              0.0010   YZ=              0.0013&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and a bit later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*or you can do both! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) guess=read int=ultrafine polar freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you will see this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Isotropic polarizability for W=    0.000000       40.67 Bohr**3.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: and even later you will see this, and the dipole at least doesn&#039;t match that given above!&lt;br /&gt;
:this happens just before the frequencies are given&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 (Enter /Applications/g09/l716.exe)&lt;br /&gt;
 Dipole        = 3.54385899D-17-1.22258974D-14 1.07791236D+00&lt;br /&gt;
 Polarizability= 1.94740869D+01 2.40399932D-13 6.58126199D+01&lt;br /&gt;
                 2.26775166D-13 4.95235677D-08 3.67380378D+01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*now optimise on the first excited state, use the time-dependent options, the root=1 is the first excited state&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# opt td(root=1) b3lyp/6-31g(d,p) geom=connectivity scf=(conver=9) guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you should see something like this in the output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Excitation energies and oscillator strengths:&lt;br /&gt;
&lt;br /&gt;
 Excited State   1:      Singlet-A      1.6713 eV  741.84 nm  f=0.0003  &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26         0.70603&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.233828069&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* carry out a frequency analysis on the optimised excited state geometry&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# freq b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) td(read,root=1) guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:this will print out excited state dipole moments and so on ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            592.2331&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=             -0.0001    Y=             -2.0915    Z=              0.0004  Tot=              2.0915&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -49.3534   YY=            -35.5628   ZZ=            -36.5632&lt;br /&gt;
   XY=              0.0002   XZ=              0.0008   YZ=              0.0009&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*use the polar keyword on the excited state molecule&lt;br /&gt;
: use just polar to get the default analytic derivatives, in this case you might want to specify freq keyword as well&lt;br /&gt;
: you want to use the excited state density&lt;br /&gt;
: in this case polar=numerical computes the numerical derivative of the dipole moment&lt;br /&gt;
: you can change the step size of the electric field  0.0001N au with step=N&lt;br /&gt;
: you can restart a numerical calculation used polar=(numerical,restart) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar=numerical td(read,root=1) &lt;br /&gt;
  density=current guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you are looking for something like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Excited State   1:      Singlet-A      1.6129 eV  768.69 nm  f=0.0007  &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26        -0.70872&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.407446678&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            592.2331&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=             -0.0001    Y=             -2.0915    Z=              0.0158  Tot=              2.0915&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -49.3534   YY=            -35.5628   ZZ=            -36.5632&lt;br /&gt;
   XY=              0.0002   XZ=              0.0002   YZ=              0.0008&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Isotropic polarizability=       49.78 Bohr**3.&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.796564D+02&lt;br /&gt;
      2 -0.303870D-03  0.508599D+02&lt;br /&gt;
      3  0.349968D-03  0.169881D-03  0.188218D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*of course we can also do it analytically, the default&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar=numerical td(read,root=1) &lt;br /&gt;
  density=current guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and you should see&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Isotropic polarizability=       49.78 Bohr**3.&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.796564D+02&lt;br /&gt;
      2 -0.292909D-03  0.508599D+02&lt;br /&gt;
      3  0.360142D-03  0.138905D-03  0.188218D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 (Enter /Applications/g09/l716.exe)&lt;br /&gt;
 Dipole        =-4.88131552D-05-8.22840998D-01-4.04220282D-05&lt;br /&gt;
 Polarizability= 7.96563849D+01-2.92908823D-04 5.08598561D+01&lt;br /&gt;
                 3.60141967D-04 1.38905076D-04 1.88217717D+01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*so what are the results?&lt;br /&gt;
:for our system the&lt;br /&gt;
::ground state dipole 2.74 D and  isotropic polarizability 41 Bohr**3&lt;br /&gt;
::excited state dipole 2.09 D and  isotropic polarizability 50 Bohr**3.&lt;br /&gt;
:according to the paper (M06-2X with Sadlej&#039;s basis set&lt;br /&gt;
::ground state dipole 1.02 D and polarizability 50 Bohr**3&lt;br /&gt;
::excited state dipole 0.66 D and polarizability 57 Bohr**3.&lt;br /&gt;
:so these differences are quite large!&lt;br /&gt;
:they could be due to&lt;br /&gt;
::basis set&lt;br /&gt;
::functional&lt;br /&gt;
::larger finite field&lt;br /&gt;
::convergence on energy&lt;br /&gt;
::convergence on the geometry&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reproduction of the exact results==&lt;br /&gt;
Let us know try to reproduce the exact same results as described by Jacquemin and coworkers by applying the same procedure. First, optimise on the M06-2X/6-31G(d) level of theory using an improved energy threshold, a tight geometry optimisation criterion and a high level DFT integration grid.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight int=ultrafine scf=(conver=10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The optimised geometry is&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.142626     0.000000     0.028260&lt;br /&gt;
  N    -0.072667     0.000000     1.258841&lt;br /&gt;
  C     1.363634     0.000000     1.690124&lt;br /&gt;
  N     2.090317     0.000000     0.518596&lt;br /&gt;
  C     1.235531     0.000000    -0.563026&lt;br /&gt;
  O     1.468028     0.000000    -1.729522&lt;br /&gt;
  H     3.098469     0.000000     0.461269&lt;br /&gt;
  O     1.726826     0.000000     2.822758&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with an energy of -391.3255482 Ha. Check that the geometry is a true minimum on the potential energy surface by conducting a frequency calculation&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) geom=checkpoint  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(check for NImag=0).&lt;br /&gt;
The dipole moment and polarizability was calculated using the M06-2X functional and Sadlej&#039;s pVTZ basis set obtained from the EMSL Bais Set Exchange on the optimized geometry via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen int=ultrafine scf=(conver=10) guess=read polar &lt;br /&gt;
geom=checkpoint&lt;br /&gt;
&lt;br /&gt;
H     0&lt;br /&gt;
S   4   1.00&lt;br /&gt;
     33.8650140              0.0060680&lt;br /&gt;
      5.0947880              0.0453160&lt;br /&gt;
      1.1587860              0.2028460&lt;br /&gt;
      0.3258400              0.5037090&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.1027410              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0324000              1.0000000&lt;br /&gt;
P   2   1.00&lt;br /&gt;
      1.1588000              0.1884400&lt;br /&gt;
      0.3258000              0.8824200&lt;br /&gt;
P   2   1.00&lt;br /&gt;
      0.1027000              0.1178000&lt;br /&gt;
      0.0324000              0.0042000&lt;br /&gt;
****&lt;br /&gt;
C     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
   5240.6353000              0.0009370&lt;br /&gt;
    782.2048000              0.0072280&lt;br /&gt;
    178.3508300              0.0363440&lt;br /&gt;
     50.8159420              0.1306000&lt;br /&gt;
     16.8235620              0.3189310&lt;br /&gt;
S   2   1.00&lt;br /&gt;
      6.1757760              0.4387420&lt;br /&gt;
      2.4180490              0.2149740&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.5119000              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.1565900              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0479000              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     18.8418000              0.0138870&lt;br /&gt;
      4.1592400              0.0862790&lt;br /&gt;
      1.2067100              0.2887440&lt;br /&gt;
      0.3855400              0.4994110&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.1219400              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0385680              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      1.2067000              0.2628500&lt;br /&gt;
      0.3855000              0.8043000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.1219000              0.6535000&lt;br /&gt;
      0.0386000              0.8636000&lt;br /&gt;
****&lt;br /&gt;
N     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
   8104.0716000              0.0008020&lt;br /&gt;
   1216.0215000              0.0061740&lt;br /&gt;
    277.2342800              0.0312330&lt;br /&gt;
     76.9040230              0.1151980&lt;br /&gt;
     25.8744190              0.2969510&lt;br /&gt;
S   2   1.00&lt;br /&gt;
      9.3467670              0.4473490&lt;br /&gt;
      3.5797940              0.2450030&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.7396100              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.2226170              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0670060              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     26.8689870              0.0144780&lt;br /&gt;
      5.9912270              0.0911560&lt;br /&gt;
      1.7508420              0.2974200&lt;br /&gt;
      0.5605110              0.4937960&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.1759480              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0552310              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      1.7508000              0.2247700&lt;br /&gt;
      0.5605000              0.6595600&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.1795900              0.8713600&lt;br /&gt;
      0.0552000              0.7042200&lt;br /&gt;
****&lt;br /&gt;
O     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
  10662.2850000              0.0007990&lt;br /&gt;
   1599.7097000              0.0061530&lt;br /&gt;
    364.7252600              0.0311570&lt;br /&gt;
    103.6517900              0.1155960&lt;br /&gt;
     33.9058050              0.3015520&lt;br /&gt;
S   2   1.00&lt;br /&gt;
     12.2874690              0.4448700&lt;br /&gt;
      4.7568050              0.2431720&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      1.0042710              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.3006860              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0900300              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     34.8564630              0.0156480&lt;br /&gt;
      7.8431310              0.0981970&lt;br /&gt;
      2.3062490              0.3077680&lt;br /&gt;
      0.7231640              0.4924700&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.2148820              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0638500              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      2.3062000              0.2027000&lt;br /&gt;
      0.7232000              0.5791000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.2149000              0.7854500&lt;br /&gt;
      0.0639000              0.5338700&lt;br /&gt;
****&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
yielding an energy of  -391.4434344 Ha, a dipole moment of 1.02 au. and a polarizability of 50 au. (trace of the polarizability tensor)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=1.0190643,0.,-0.0579513&lt;br /&gt;
  Polar=45.7964203,0.,30.0056759,1.6195023,0.,74.1929892&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which corresponds exactly to the ground state gas phase results listed in the reference. Now optimise the excited state and check for imaginary frequencies via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight td(root=1)  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read geom=connectivity freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where the optimised geometry is &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.099617     0.000000     0.023379&lt;br /&gt;
  N    -0.029402     0.000000     1.258821&lt;br /&gt;
  C     1.333978     0.000000     1.722300&lt;br /&gt;
  N     2.044096     0.000000     0.521225&lt;br /&gt;
  C     1.202401     0.000000    -0.591640&lt;br /&gt;
  O     1.500232     0.000000    -1.747732&lt;br /&gt;
  H     3.054940     0.000000     0.463750&lt;br /&gt;
  O     1.760884     0.000000     2.837197&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Dipole moment and polarizabilities can then again be calculated at the M06-2X/Sadlej level of theory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen td(root=1)  int=ultrafine scf=(conver=10) guess=read &lt;br /&gt;
 polar=numerical density=current geom=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
yielding&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=0.6557277,0.,-0.03725&lt;br /&gt;
  Polar=54.0435904,0.,29.7590519,1.8414148,0.,86.3255147&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which is a total dipole moment of 0.66 au. and a polarizability of 57 au., which corresponds perfectly to the reference. An alternative approach to calculate the excited state polarizability is via the use of Stark&#039;s relation, which links the energy of a state to the strength of an applied electric field. &lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; E(F)=E^0-\sum_a \mu_a F_a - \frac{1}{2}\sum_{a,b} \alpha_{ab} F_a F_b &amp;lt;/math&amp;gt;&lt;br /&gt;
The dipole moment is then the first derivative of the energy with respect to the field at zero field strength. Make sure to take into account all directions, as  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_x=\big( \frac{\mathrm{d}E}{\mathrm{d}F_x} \big) _{F_x=0} &amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_y=\big( \frac{\mathrm{d}E}{\mathrm{d}F_y} \big) _{F_y=0} &amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_z=\big( \frac{\mathrm{d}E}{\mathrm{d}F_z} \big) _{F_z=0} &amp;lt;/math&amp;gt; and the total dipole moment is then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu=\sqrt{\mu_x^2+\mu_y^2+\mu_z^2}&amp;lt;/math&amp;gt;. Analogously, the polarizability is obtained via &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_x^2} \big) _{F_x=0} &amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_y^2} \big) _{F_y=0} &amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_z^2} \big) _{F_z=0} &amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha=\frac{\alpha_{xx}+\alpha_{yy}+\alpha_{zz}}{3}&amp;lt;/math&amp;gt;. The electric fields are chosen such that the Romberg differentiation procedure [http://dx.doi.org/10.1016/j.theochem.2007.08.028 link] can be applied.&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; F_a=2^k \cdot 0.0004 \; \mathrm{au.}  \;\;\;\;\;\;     \mathrm{with} \;k=1,2,...5 \;\;\; \mathrm{for} \; a=x,y,z&amp;lt;/math&amp;gt;&lt;br /&gt;
To apply for example a field of 0.0008 au. in the x-direction, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen td(root=1)  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read  density=current field=x+8 geometry=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Search the output for the energy of the first excited state&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Excited State   1:      Singlet-A&#039;&#039;    1.6794 eV  738.27 nm  f=0.0008&lt;br /&gt;
 &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26         0.70425&lt;br /&gt;
      25 &amp;lt;- 26        -0.10327&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.373283614&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here, we get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(F_x=0.0008)=&amp;lt;/math&amp;gt;-391.373283614 Ha. Repeat the calculation for all field strengths, which finally yields&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 F [au.]          E(Fx=F) [au.]        E(Fy=F) [au.]        E(Fz=F) [au.]&lt;br /&gt;
-0.0128         -391.380340688        -391.386106671        -391.375696126&lt;br /&gt;
-0.0064         -391.375024593        -391.378566574        -391.373865503&lt;br /&gt;
-0.0032         -391.373697934        -391.375634101        -391.373408310&lt;br /&gt;
-0.0016         -391.373366469        -391.374375865        -391.373294027&lt;br /&gt;
-0.0008         -391.373283571        -391.373798627        -391.373265458&lt;br /&gt;
0.0000          -391.373255935        -391.373255935        -391.373255935&lt;br /&gt;
0.0008          -391.373283614        -391.372747763        -391.373265458&lt;br /&gt;
0.0016          -391.373366555        -391.372274081        -391.373294027&lt;br /&gt;
0.0032          -391.373698106        -391.371430018        -391.373408310&lt;br /&gt;
0.0064          -391.375024938        -391.370154501        -391.373865503&lt;br /&gt;
0.0128          -391.380341380        -391.369251683        -391.375696126&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Romberg differentiation then uses&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; \big( \frac{\mathrm{d}^2f}{\mathrm{d}x^2} \big)_{x=0}= \frac{f(-2^kh)+f(2^kh)-2f(0)}{(2^kh)^2} &amp;lt;/math&amp;gt;&lt;br /&gt;
where h is the minimum step size (here 0.0004 au.) to evaluate the second derivative and then uses the iterative formula&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; P^{p,k} = \frac{4^pP^{p-1,k}-P^{p-1,k+1}}{4^p-1} &amp;lt;/math&amp;gt; &lt;br /&gt;
where p is the number of Romberg iteration and P is the required differentiation, to improve the obtained value. The value at p=0 corresponds to the initially obtained uncorrected differentiation value. The iterative procedure&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  k     2^k h   d^2E/dFx^2   p=1      p=2      p=3      p=4&lt;br /&gt;
  1    0.0008    -86.4      -86.4    -86.4    -86.4    -86.4&lt;br /&gt;
  2    0.0016    -86.4      -86.4    -86.4    -86.4&lt;br /&gt;
  3    0.0032    -86.3      -86.3    -86.3&lt;br /&gt;
  4    0.0064    -86.4      -86.3&lt;br /&gt;
  5    0.0128    -86.5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}&amp;lt;/math&amp;gt;= 86 au. Analogue evaluation in y and z direction yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}&amp;lt;/math&amp;gt;= 54 au and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}&amp;lt;/math&amp;gt;=  30 au. The polarizability is then&lt;br /&gt;
57 au, which is the same as the value in Reference, as well as the value obtained using the default routine for the&lt;br /&gt;
calculation of polarizability in Gaussian09.&lt;br /&gt;
&lt;br /&gt;
Finally, try to reproduce the correct dipole moment and polarisability in implicit solvent (dichloromethane). Optimise the ground  state via &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight  int=ultrafine scf=(conver=10)&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane) guess=read&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
yielding the geometry&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.141332     0.000000     0.028556&lt;br /&gt;
  N    -0.071415     0.000000     1.258401&lt;br /&gt;
  C     1.367139     0.000000     1.684979&lt;br /&gt;
  N     2.090981     0.000000     0.518558&lt;br /&gt;
  C     1.239597     0.000000    -0.558312&lt;br /&gt;
  O     1.461088     0.000000    -1.729021&lt;br /&gt;
  H     3.101578     0.000000     0.461093&lt;br /&gt;
  O     1.719875     0.000000     2.823046&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
at an energy of -391.335724 Ha. Dipole moments and polarizabilities at the optimized geometry at the M06-2X/Sadlej level of theory were then obtained via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/gen int=ultrafine scf=(conver=10) guess=read polar&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane) geom=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to yield the following output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=1.2615935,0.,-0.0717451&lt;br /&gt;
  Polar=55.4963369,0.,35.741816,2.3407747,0.,96.5379704&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dipole moment in groundstate is therefore 1.26 au. and the&lt;br /&gt;
polarizability 63 au.&lt;br /&gt;
&lt;br /&gt;
The excited state in implicit solvent was also optimized:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/6-31g(d) opt=tight td(root=1)  int=ultrafine&lt;br /&gt;
  scf=(conver=10) guess=read geom=(connectivity,checkpoint)&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
using the optimized excited state geometry in gas phase as input. The optimized geometry is then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.101348     0.000000     0.023438&lt;br /&gt;
  N    -0.031138     0.000000     1.258959&lt;br /&gt;
  C     1.337822     0.000000     1.716250&lt;br /&gt;
  N     2.046763     0.000000     0.521074&lt;br /&gt;
  C     1.206893     0.000000    -0.586065&lt;br /&gt;
  O     1.494126     0.000000    -1.746788&lt;br /&gt;
  H     3.059686     0.000000     0.463479&lt;br /&gt;
  O     1.754707     0.000000     2.836953&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Calculation of the dipole moment and the polarizability is then done on the M06-2X/Sadlej level of theory using the default calculation routine.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/gen td(root=1)  int=ultrafine scf=(conver=10)&lt;br /&gt;
  guess=read polar=numerical density=current geom=checkpoint&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dipole moment is then 0.84 au. and the polarizability 73 au.  which is for both ground and excited state in perfect agreement with the published results in the paper by Jacquemin and coworkers.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=0.8376841,0.,-0.047563&lt;br /&gt;
  Polar=67.8846862,0.,35.5510398,2.7715247,0.,116.4748693&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Atomic polarizabilities==&lt;br /&gt;
We now want to calculate the atomic contributions to the molecular polarizability. Again, we use Stark&#039;s relation, namely that the change in dipole moment with respect to an external field is the polarizability. Changes in dipoles arise from atomic dipoles (asymmetric distribution of charge around the nucleus) that change upon applying an external field and from charge transfer between the atoms. The GDMA program written by Anthony Stone can calculate atomic dipoles&lt;br /&gt;
and partial charges at specific sites in the molecule, here the nuclei. We reuse the calculations at external fields of 0.0008au in negative and positive x, y and z direction from above. The respective checkpoint files need to be converted to formatted checkpoint files. From these the atomic dipoles can be calculated using the following input script for the ground state:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Title &amp;quot;title&amp;quot;&lt;br /&gt;
File file.fchk &lt;br /&gt;
&lt;br /&gt;
Angstrom&lt;br /&gt;
Multipoles&lt;br /&gt;
  Limit 1&lt;br /&gt;
Start&lt;br /&gt;
&lt;br /&gt;
Finish&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For the excited state, the electron density needs to be specified by putting the keyword &amp;quot;DENSITY &amp;quot;CI&amp;quot; at the end of the &amp;quot;File&amp;quot; line. This input script tells GDMA to calculate multipoles up to the rank of dipoles at all nuclear sites. The output (here for Fx=0.0008au) looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
Positions and radii in angstrom&lt;br /&gt;
Multipole moments in atomic units, ea_0^k for rank k&lt;br /&gt;
&lt;br /&gt;
N          x = -0.616284  y = -1.257223  z =  0.000000 angstrom&lt;br /&gt;
           Maximum rank =  1   Radius =  0.650 angstrom&lt;br /&gt;
                   Q00  =  -0.056538&lt;br /&gt;
|Q1| =   0.511629  Q11c =   0.331633  Q11s =   0.389594&lt;br /&gt;
&lt;br /&gt;
N          x =  0.616284  y = -1.257222  z =  0.000000 angstrom&lt;br /&gt;
           Maximum rank =  1   Radius =  0.650 angstrom&lt;br /&gt;
                   Q00  =  -0.060705&lt;br /&gt;
|Q1| =   0.516025  Q11c =  -0.335883  Q11s =   0.391746&lt;br /&gt;
[...]&lt;br /&gt;
          x =  2.279816  y =  0.450604  z =  0.000000 angstrom&lt;br /&gt;
           Maximum rank =  1   Radius =  0.650 angstrom&lt;br /&gt;
                   Q00  =  -0.280276&lt;br /&gt;
|Q1| =   0.425044  Q11c =  -0.405995  Q11s =  -0.125819&lt;br /&gt;
&lt;br /&gt;
Total multipoles referred to origin at&lt;br /&gt;
           x =   0.000000,  y =    0.000000,  z =    0.000000 angstrom&lt;br /&gt;
                   Q00  =  -0.000002&lt;br /&gt;
|Q1| =   1.022461  Q11c =  -0.059386  Q11s =   1.020735&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
where [...] indicates that not all data is shown. For the first nitrogen atom, a atomic dipole (0.331633,0.389594,0) is observed (Q11c is the x direction, Q11s the y direction and Q10 the z direction). For the calculation of atomic polarizability from atomic dipoles we need to monitor the x-component of the dipole when applying a field in x-direction, the y component for fields in y-direction and so on. For the nitrogen atom we get:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fx= 0.0008au , mu_x= 0.331633&lt;br /&gt;
Fx=-0.0008au , mu_x= 0.335880&lt;br /&gt;
Fy= 0.0008au , mu_y= 0.387470&lt;br /&gt;
Fy=-0.0008au , mu_y= 0.393892&lt;br /&gt;
Fz= 0.0008au , mu_z=-0.003752&lt;br /&gt;
Fz=-0.0008au , mu_z= 0.003752&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Numerical differentiation yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}=-\big( \frac{\mathrm{d}\mu_x}{\mathrm{d}F_x} \big) _{F_x=0} = -\frac{\mu_x(F_x)-\mu_x(-F_x)}{2F_x} = 2.65 au^3&amp;lt;/math&amp;gt;, and analogously &lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}=4.01 au^3&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}=4.69 au^3&amp;lt;/math&amp;gt; yielding an average polarizability of 3.8au^3. The same is done for all other atoms and then repeated for the excited state. One then ends up with the atomic polarizabilities&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Atomic alpha from polarization:&lt;br /&gt;
	GS	ES&lt;br /&gt;
N	3.8	4.1&lt;br /&gt;
N	3.8	4.1&lt;br /&gt;
C	1.2	1.4&lt;br /&gt;
N	2.5	2.3&lt;br /&gt;
C	1.2	1.4&lt;br /&gt;
O	4.6	4.7&lt;br /&gt;
H	0.8	0.8&lt;br /&gt;
O	4.6	4.7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Summed up, we end up with a polarizability from atomic dipoles of 22.4 au^3 in the ground state and 23.4 au^3 in the excited state. The missing 27.5 au^3 in the ground and 33.3 au^3 in the excited state stem from charge transfer. The overall contribution of charge transfer over all atoms is easy to calculate via &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_{charge transfer}=\sum_ir_iq_i&amp;lt;/math&amp;gt; where  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;r_i&amp;lt;/math&amp;gt; are the coordinates of each atom i and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;q_i&amp;lt;/math&amp;gt; the charge at that site. The charge at a specific site can be found in the GDMA output script and is labelled &amp;quot;Q00&amp;quot;. The coordinates are also printed in the output script. Summing up these values gives the desired polarizability of 27.5 au^3 in the ground and 33.3 au^3 in the excited state. However, the separation of this contribution to different atomic sites is difficult, as the sum &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_ct=\sum_ir_iq_i&amp;lt;/math&amp;gt; is origin independent (for a neutral molecule) but the respective contributions &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;r_iq_i&amp;lt;/math&amp;gt; aren&#039;t. A possible solution to this problem is the definition of bond charges &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{i,j}&amp;lt;/math&amp;gt; between the bonded atoms i and j. Each partial charge is assumed to be the sum of all bond charges, the sum of all bond charges in a ring is zero and same bond charges in different directions add up to 0 (&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{i,j}+b_{j,i}=0&amp;lt;/math&amp;gt;). These relations can be used to set up linear independent equations, which are solved for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{i,j}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
For our molecule, we need to find a set of non-unique bond charges, for example:&lt;br /&gt;
&lt;br /&gt;
N(1)-N(2) =&amp;gt; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{1,2}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
N(1)-C(5) =&amp;gt; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{1,5}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
N(2)-C(3) =&amp;gt; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{2,3}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
C(3)-N(4) =&amp;gt; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{3,4}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
C(3)-O(8) =&amp;gt; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{3,8}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
N(4)-C(5) =&amp;gt; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{4,5}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
N(4)-H(7) =&amp;gt; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{4,7}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
C(5)-O(6) =&amp;gt; &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{5,6}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the following linear equations evolve:&lt;br /&gt;
&lt;br /&gt;
q(N1)=  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{1,2}-b_{1,5}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
q(N2)= -&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{1,2}+b_{2,3}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
q(C3)= -&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{2,3}+b_{3,4}+b_{3,8}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
q(N4)= -&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{3,4}+b_{4,5}+b_{4,7}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
q(C5)= -&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{4,5}-b_{1,5}+b_{5,6}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
q(O6)= -&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{5,6}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
q(H7)= -&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{4,7}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
q(O8)= -&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{3,8}&amp;lt;/math&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;0 = b_{1,2}+b_{2,3}+b_{3,4}+b_{4,5}-b_{1,5}&amp;lt;/math&amp;gt;   (ring condition) &amp;lt;br /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This set of equations (9 equations for 8 variables) is solved using numpy (the charges are known, see GDMA output), to yield all &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{i,j}&amp;lt;/math&amp;gt;. We get for the field in positive x-direction&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{1,2}&amp;lt;/math&amp;gt;=  0.0036&amp;lt;br /&amp;gt; &lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{1,5}&amp;lt;/math&amp;gt;= -0.0602&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{2,3}&amp;lt;/math&amp;gt;= -0.0571&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{3,4}&amp;lt;/math&amp;gt;= -0.0538&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{3,8}&amp;lt;/math&amp;gt;=  0.2803&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{4,5}&amp;lt;/math&amp;gt;=  0.0471&amp;lt;br /&amp;gt; &lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{4,7}&amp;lt;/math&amp;gt;= -0.2531&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{5,6}&amp;lt;/math&amp;gt;=  0.2709&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The atomic contribution to the dipole moment arising from charge transfer is then  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_{charge transfer, i}=\sum_j(r_i-\frac{r_i-r_{i,j}}{2})*b_{i,j}&amp;lt;/math&amp;gt; where  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;r_{i,j}&amp;lt;/math&amp;gt; was simply assumed to be &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{r_i+r_j}{2}&amp;lt;/math&amp;gt;, thus we get&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_{charge transfer, 1}&amp;lt;/math&amp;gt; = [ -0.033, 0.080, 0.0000] in au &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_{charge transfer, 2}&amp;lt;/math&amp;gt; = [  0.023, 0.076, 0.0000] in au &amp;lt;br /&amp;gt;&lt;br /&gt;
...&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the dipole moments when applying a field of 0.0008au in x-direction.&lt;br /&gt;
&lt;br /&gt;
The same procedure as explained above for the atomic polarization contribution is applied here: the atomic charge transfer dipole moments are calculated at different fields and differentiated numerically to yield the average polarizabilities from charge transfer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Atomic alpha from charge transfer&lt;br /&gt;
	GS	ES&lt;br /&gt;
N	3.3	4.1&lt;br /&gt;
N	3.3	4.1&lt;br /&gt;
C	5.7	6.9&lt;br /&gt;
N	4.5	5.1&lt;br /&gt;
C	5.7	6.9&lt;br /&gt;
O	2.2	2.7&lt;br /&gt;
H	0.7	0.6&lt;br /&gt;
O	2.2	2.7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To obtain atomic polarizabilities we now sum up the contributions from polarization and charge transfer &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Overall atomic alpha&lt;br /&gt;
	GS	ES&lt;br /&gt;
N	7.1	8.2&lt;br /&gt;
N	7.1	8.2&lt;br /&gt;
C	6.8	8.4&lt;br /&gt;
N	7.0	7.5&lt;br /&gt;
C	6.8	8.4&lt;br /&gt;
O	6.9	7.4&lt;br /&gt;
H	1.5	1.4&lt;br /&gt;
O	6.9	7.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this molecule, the atomic polarization increases slightly upon excitation (in average about 6%), and charge transfer polarizability to a larger extent (about 19%). The calculation of atomic polarizabilities (polarization and charge transfer term) from the GDMA output files was automatized during this project and the script will be available soon at http://www.mdy.univie.ac.at&lt;/div&gt;</summary>
		<author><name>Ech17</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Mod:Hunt_Research_Group:_ES_alpha&amp;diff=599964</id>
		<title>Mod:Hunt Research Group: ES alpha</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Mod:Hunt_Research_Group:_ES_alpha&amp;diff=599964"/>
		<updated>2017-03-10T09:51:52Z</updated>

		<summary type="html">&lt;p&gt;Ech17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==introduction==&lt;br /&gt;
*we are using g09&lt;br /&gt;
*apparently Dalton can also calculate excited state polarizabilities http://www.daltonprogram.org&lt;br /&gt;
&lt;br /&gt;
* useful [https://joaquinbarroso.com/2012/07/27/polarizability-and-hyperpolarizability-in-gaussian/ blog]&lt;br /&gt;
*data below relates to information in this paper [https://pubs.acs.org/doi/abs/10.1021/jp5057623 link] we have used molecule VI from Scheme1&lt;br /&gt;
&lt;br /&gt;
==process==&lt;br /&gt;
*optimise the ground state use int=ultrafine and scf=(conver=9)&lt;br /&gt;
*make sure to &amp;quot;turn on&amp;quot; relevant symmetry&lt;br /&gt;
*confirm with a frequency analysis (using the optimised geometry)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) guess=read int=ultrafine freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:we turn on extra printing with #p&lt;br /&gt;
SCF Done:  E(RB3LYP) =  -391.474123816&lt;br /&gt;
:you are looking for something like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            593.6542&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=              0.0000    Y=              0.0000    Z=              2.7398  Tot=              2.7398&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -35.4903   YY=            -50.1334   ZZ=            -37.0641&lt;br /&gt;
   XY=              0.0000   XZ=              0.0000   YZ=              0.0000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:the dipole moment is in the standard orientation, and the zero is therefore the CoM&lt;br /&gt;
:then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:the polarizability is in lower-triangular format with xx, xy, yy, xz, yz and zz values&lt;br /&gt;
:the approximate value is a cruder estimate evaluated using sum-over-states perturbation theory&lt;br /&gt;
:the polarizability is the mean(traceX)=1/3(xx+yy+zz) ie one third of the sum of the diagonal terms&lt;br /&gt;
:if you do this 1/3(19.474+65.813+36.738)=40.67&lt;br /&gt;
:note that this tensor is given relative to the standard orientation&lt;br /&gt;
&lt;br /&gt;
*then you can use the checkpoint file of the freq job and run a job with polar&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you will see something like this&lt;br /&gt;
:were clearly the tensor is symmetric and 1=y, 2=z and 3=x&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SCF Polarizability for W=    0.000000:&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.658125D+02&lt;br /&gt;
      2 -0.119999D-03  0.367380D+02&lt;br /&gt;
      3  0.227376D-02  0.472986D-03  0.194741D+02&lt;br /&gt;
 Isotropic polarizability for W=    0.000000       40.67 Bohr**3.&lt;br /&gt;
SCF Static Hyperpolarizability:&lt;br /&gt;
 K=  1 block:&lt;br /&gt;
                1&lt;br /&gt;
      1  0.000000D+00&lt;br /&gt;
 K=  2 block:&lt;br /&gt;
                1             2&lt;br /&gt;
      1  0.000000D+00&lt;br /&gt;
      2  0.000000D+00  0.000000D+00&lt;br /&gt;
 K=  3 block:&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1 -0.304281D+01&lt;br /&gt;
      2  0.000000D+00 -0.718146D+02&lt;br /&gt;
      3  0.000000D+00  0.000000D+00  0.451401D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and a bit later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            593.6543&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=              0.0000    Y=             -2.7398    Z=             -0.0010  Tot=              2.7398&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -50.1333   YY=            -37.0642   ZZ=            -35.4903&lt;br /&gt;
   XY=              0.0000   XZ=              0.0010   YZ=              0.0013&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and a bit later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*or you can do both! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) guess=read int=ultrafine polar freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you will see this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Isotropic polarizability for W=    0.000000       40.67 Bohr**3.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: and even later you will see this, and the dipole at least doesn&#039;t match that given above!&lt;br /&gt;
:this happens just before the frequencies are given&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 (Enter /Applications/g09/l716.exe)&lt;br /&gt;
 Dipole        = 3.54385899D-17-1.22258974D-14 1.07791236D+00&lt;br /&gt;
 Polarizability= 1.94740869D+01 2.40399932D-13 6.58126199D+01&lt;br /&gt;
                 2.26775166D-13 4.95235677D-08 3.67380378D+01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*now optimise on the first excited state, use the time-dependent options, the root=1 is the first excited state&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# opt td(root=1) b3lyp/6-31g(d,p) geom=connectivity scf=(conver=9) guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you should see something like this in the output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Excitation energies and oscillator strengths:&lt;br /&gt;
&lt;br /&gt;
 Excited State   1:      Singlet-A      1.6713 eV  741.84 nm  f=0.0003  &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26         0.70603&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.233828069&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* carry out a frequency analysis on the optimised excited state geometry&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# freq b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) td(read,root=1) guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:this will print out excited state dipole moments and so on ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            592.2331&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=             -0.0001    Y=             -2.0915    Z=              0.0004  Tot=              2.0915&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -49.3534   YY=            -35.5628   ZZ=            -36.5632&lt;br /&gt;
   XY=              0.0002   XZ=              0.0008   YZ=              0.0009&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*use the polar keyword on the excited state molecule&lt;br /&gt;
: use just polar to get the default analytic derivatives, in this case you might want to specify freq keyword as well&lt;br /&gt;
: you want to use the excited state density&lt;br /&gt;
: in this case polar=numerical computes the numerical derivative of the dipole moment&lt;br /&gt;
: you can change the step size of the electric field  0.0001N au with step=N&lt;br /&gt;
: you can restart a numerical calculation used polar=(numerical,restart) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar=numerical td(read,root=1) &lt;br /&gt;
  density=current guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you are looking for something like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Excited State   1:      Singlet-A      1.6129 eV  768.69 nm  f=0.0007  &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26        -0.70872&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.407446678&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            592.2331&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=             -0.0001    Y=             -2.0915    Z=              0.0158  Tot=              2.0915&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -49.3534   YY=            -35.5628   ZZ=            -36.5632&lt;br /&gt;
   XY=              0.0002   XZ=              0.0002   YZ=              0.0008&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Isotropic polarizability=       49.78 Bohr**3.&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.796564D+02&lt;br /&gt;
      2 -0.303870D-03  0.508599D+02&lt;br /&gt;
      3  0.349968D-03  0.169881D-03  0.188218D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*of course we can also do it analytically, the default&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar=numerical td(read,root=1) &lt;br /&gt;
  density=current guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and you should see&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Isotropic polarizability=       49.78 Bohr**3.&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.796564D+02&lt;br /&gt;
      2 -0.292909D-03  0.508599D+02&lt;br /&gt;
      3  0.360142D-03  0.138905D-03  0.188218D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 (Enter /Applications/g09/l716.exe)&lt;br /&gt;
 Dipole        =-4.88131552D-05-8.22840998D-01-4.04220282D-05&lt;br /&gt;
 Polarizability= 7.96563849D+01-2.92908823D-04 5.08598561D+01&lt;br /&gt;
                 3.60141967D-04 1.38905076D-04 1.88217717D+01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*so what are the results?&lt;br /&gt;
:for our system the&lt;br /&gt;
::ground state dipole 2.74 D and  isotropic polarizability 41 Bohr**3&lt;br /&gt;
::excited state dipole 2.09 D and  isotropic polarizability 50 Bohr**3.&lt;br /&gt;
:according to the paper (M06-2X with Sadlej&#039;s basis set&lt;br /&gt;
::ground state dipole 1.02 D and polarizability 50 Bohr**3&lt;br /&gt;
::excited state dipole 0.66 D and polarizability 57 Bohr**3.&lt;br /&gt;
:so these differences are quite large!&lt;br /&gt;
:they could be due to&lt;br /&gt;
::basis set&lt;br /&gt;
::functional&lt;br /&gt;
::larger finite field&lt;br /&gt;
::convergence on energy&lt;br /&gt;
::convergence on the geometry&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reproduction of the exact results==&lt;br /&gt;
Let us know try to reproduce the exact same results as described by Jacquemin and coworkers by applying the same procedure. First, optimise on the M06-2X/6-31G(d) level of theory using an improved energy threshold, a tight geometry optimisation criterion and a high level DFT integration grid.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight int=ultrafine scf=(conver=10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The optimised geometry is&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.142626     0.000000     0.028260&lt;br /&gt;
  N    -0.072667     0.000000     1.258841&lt;br /&gt;
  C     1.363634     0.000000     1.690124&lt;br /&gt;
  N     2.090317     0.000000     0.518596&lt;br /&gt;
  C     1.235531     0.000000    -0.563026&lt;br /&gt;
  O     1.468028     0.000000    -1.729522&lt;br /&gt;
  H     3.098469     0.000000     0.461269&lt;br /&gt;
  O     1.726826     0.000000     2.822758&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with an energy of -391.3255482 Ha. Check that the geometry is a true minimum on the potential energy surface by conducting a frequency calculation&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) geom=checkpoint  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(check for NImag=0).&lt;br /&gt;
The dipole moment and polarizability was calculated using the M06-2X functional and Sadlej&#039;s pVTZ basis set obtained from the EMSL Bais Set Exchange on the optimized geometry via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen int=ultrafine scf=(conver=10) guess=read polar &lt;br /&gt;
geom=checkpoint&lt;br /&gt;
&lt;br /&gt;
H     0&lt;br /&gt;
S   4   1.00&lt;br /&gt;
     33.8650140              0.0060680&lt;br /&gt;
      5.0947880              0.0453160&lt;br /&gt;
      1.1587860              0.2028460&lt;br /&gt;
      0.3258400              0.5037090&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.1027410              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0324000              1.0000000&lt;br /&gt;
P   2   1.00&lt;br /&gt;
      1.1588000              0.1884400&lt;br /&gt;
      0.3258000              0.8824200&lt;br /&gt;
P   2   1.00&lt;br /&gt;
      0.1027000              0.1178000&lt;br /&gt;
      0.0324000              0.0042000&lt;br /&gt;
****&lt;br /&gt;
C     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
   5240.6353000              0.0009370&lt;br /&gt;
    782.2048000              0.0072280&lt;br /&gt;
    178.3508300              0.0363440&lt;br /&gt;
     50.8159420              0.1306000&lt;br /&gt;
     16.8235620              0.3189310&lt;br /&gt;
S   2   1.00&lt;br /&gt;
      6.1757760              0.4387420&lt;br /&gt;
      2.4180490              0.2149740&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.5119000              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.1565900              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0479000              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     18.8418000              0.0138870&lt;br /&gt;
      4.1592400              0.0862790&lt;br /&gt;
      1.2067100              0.2887440&lt;br /&gt;
      0.3855400              0.4994110&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.1219400              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0385680              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      1.2067000              0.2628500&lt;br /&gt;
      0.3855000              0.8043000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.1219000              0.6535000&lt;br /&gt;
      0.0386000              0.8636000&lt;br /&gt;
****&lt;br /&gt;
N     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
   8104.0716000              0.0008020&lt;br /&gt;
   1216.0215000              0.0061740&lt;br /&gt;
    277.2342800              0.0312330&lt;br /&gt;
     76.9040230              0.1151980&lt;br /&gt;
     25.8744190              0.2969510&lt;br /&gt;
S   2   1.00&lt;br /&gt;
      9.3467670              0.4473490&lt;br /&gt;
      3.5797940              0.2450030&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.7396100              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.2226170              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0670060              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     26.8689870              0.0144780&lt;br /&gt;
      5.9912270              0.0911560&lt;br /&gt;
      1.7508420              0.2974200&lt;br /&gt;
      0.5605110              0.4937960&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.1759480              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0552310              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      1.7508000              0.2247700&lt;br /&gt;
      0.5605000              0.6595600&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.1795900              0.8713600&lt;br /&gt;
      0.0552000              0.7042200&lt;br /&gt;
****&lt;br /&gt;
O     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
  10662.2850000              0.0007990&lt;br /&gt;
   1599.7097000              0.0061530&lt;br /&gt;
    364.7252600              0.0311570&lt;br /&gt;
    103.6517900              0.1155960&lt;br /&gt;
     33.9058050              0.3015520&lt;br /&gt;
S   2   1.00&lt;br /&gt;
     12.2874690              0.4448700&lt;br /&gt;
      4.7568050              0.2431720&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      1.0042710              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.3006860              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0900300              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     34.8564630              0.0156480&lt;br /&gt;
      7.8431310              0.0981970&lt;br /&gt;
      2.3062490              0.3077680&lt;br /&gt;
      0.7231640              0.4924700&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.2148820              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0638500              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      2.3062000              0.2027000&lt;br /&gt;
      0.7232000              0.5791000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.2149000              0.7854500&lt;br /&gt;
      0.0639000              0.5338700&lt;br /&gt;
****&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
yielding an energy of  -391.4434344 Ha, a dipole moment of 1.02 au. and a polarizability of 50 au. (trace of the polarizability tensor)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=1.0190643,0.,-0.0579513&lt;br /&gt;
  Polar=45.7964203,0.,30.0056759,1.6195023,0.,74.1929892&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which corresponds exactly to the ground state gas phase results listed in the reference. Now optimise the excited state and check for imaginary frequencies via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight td(root=1)  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read geom=connectivity freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where the optimised geometry is &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.099617     0.000000     0.023379&lt;br /&gt;
  N    -0.029402     0.000000     1.258821&lt;br /&gt;
  C     1.333978     0.000000     1.722300&lt;br /&gt;
  N     2.044096     0.000000     0.521225&lt;br /&gt;
  C     1.202401     0.000000    -0.591640&lt;br /&gt;
  O     1.500232     0.000000    -1.747732&lt;br /&gt;
  H     3.054940     0.000000     0.463750&lt;br /&gt;
  O     1.760884     0.000000     2.837197&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Dipole moment and polarizabilities can then again be calculated at the M06-2X/Sadlej level of theory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen td(root=1)  int=ultrafine scf=(conver=10) guess=read &lt;br /&gt;
 polar=numerical density=current geom=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
yielding&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=0.6557277,0.,-0.03725&lt;br /&gt;
  Polar=54.0435904,0.,29.7590519,1.8414148,0.,86.3255147&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which is a total dipole moment of 0.66 au. and a polarizability of 57 au., which corresponds perfectly to the reference. An alternative approach to calculate the excited state polarizability is via the use of Stark&#039;s relation, which links the energy of a state to the strength of an applied electric field. &lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; E(F)=E^0-\sum_a \mu_a F_a - \frac{1}{2}\sum_{a,b} \alpha_{ab} F_a F_b &amp;lt;/math&amp;gt;&lt;br /&gt;
The dipole moment is then the first derivative of the energy with respect to the field at zero field strength. Make sure to take into account all directions, as  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_x=\big( \frac{\mathrm{d}E}{\mathrm{d}F_x} \big) _{F_x=0} &amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_y=\big( \frac{\mathrm{d}E}{\mathrm{d}F_y} \big) _{F_y=0} &amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_z=\big( \frac{\mathrm{d}E}{\mathrm{d}F_z} \big) _{F_z=0} &amp;lt;/math&amp;gt; and the total dipole moment is then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu=\sqrt{\mu_x^2+\mu_y^2+\mu_z^2}&amp;lt;/math&amp;gt;. Analogously, the polarizability is obtained via &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_x^2} \big) _{F_x=0} &amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_y^2} \big) _{F_y=0} &amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_z^2} \big) _{F_z=0} &amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha=\frac{\alpha_{xx}+\alpha_{yy}+\alpha_{zz}}{3}&amp;lt;/math&amp;gt;. The electric fields are chosen such that the Romberg differentiation procedure [http://dx.doi.org/10.1016/j.theochem.2007.08.028 link] can be applied.&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; F_a=2^k \cdot 0.0004 \; \mathrm{au.}  \;\;\;\;\;\;     \mathrm{with} \;k=1,2,...5 \;\;\; \mathrm{for} \; a=x,y,z&amp;lt;/math&amp;gt;&lt;br /&gt;
To apply for example a field of 0.0008 au. in the x-direction, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen td(root=1)  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read  density=current field=x+8 geometry=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Search the output for the energy of the first excited state&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Excited State   1:      Singlet-A&#039;&#039;    1.6794 eV  738.27 nm  f=0.0008&lt;br /&gt;
 &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26         0.70425&lt;br /&gt;
      25 &amp;lt;- 26        -0.10327&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.373283614&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here, we get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(F_x=0.0008)=&amp;lt;/math&amp;gt;-391.373283614 Ha. Repeat the calculation for all field strengths, which finally yields&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 F [au.]          E(Fx=F) [au.]        E(Fy=F) [au.]        E(Fz=F) [au.]&lt;br /&gt;
-0.0128         -391.380340688        -391.386106671        -391.375696126&lt;br /&gt;
-0.0064         -391.375024593        -391.378566574        -391.373865503&lt;br /&gt;
-0.0032         -391.373697934        -391.375634101        -391.373408310&lt;br /&gt;
-0.0016         -391.373366469        -391.374375865        -391.373294027&lt;br /&gt;
-0.0008         -391.373283571        -391.373798627        -391.373265458&lt;br /&gt;
0.0000          -391.373255935        -391.373255935        -391.373255935&lt;br /&gt;
0.0008          -391.373283614        -391.372747763        -391.373265458&lt;br /&gt;
0.0016          -391.373366555        -391.372274081        -391.373294027&lt;br /&gt;
0.0032          -391.373698106        -391.371430018        -391.373408310&lt;br /&gt;
0.0064          -391.375024938        -391.370154501        -391.373865503&lt;br /&gt;
0.0128          -391.380341380        -391.369251683        -391.375696126&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Romberg differentiation then uses&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; \big( \frac{\mathrm{d}^2f}{\mathrm{d}x^2} \big)_{x=0}= \frac{f(-2^kh)+f(2^kh)-2f(0)}{(2^kh)^2} &amp;lt;/math&amp;gt;&lt;br /&gt;
where h is the minimum step size (here 0.0004 au.) to evaluate the second derivative and then uses the iterative formula&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; P^{p,k} = \frac{4^pP^{p-1,k}-P^{p-1,k+1}}{4^p-1} &amp;lt;/math&amp;gt; &lt;br /&gt;
where p is the number of Romberg iteration and P is the required differentiation, to improve the obtained value. The value at p=0 corresponds to the initially obtained uncorrected differentiation value. The iterative procedure&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  k     2^k h   d^2E/dFx^2   p=1      p=2      p=3      p=4&lt;br /&gt;
  1    0.0008    -86.4      -86.4    -86.4    -86.4    -86.4&lt;br /&gt;
  2    0.0016    -86.4      -86.4    -86.4    -86.4&lt;br /&gt;
  3    0.0032    -86.3      -86.3    -86.3&lt;br /&gt;
  4    0.0064    -86.4      -86.3&lt;br /&gt;
  5    0.0128    -86.5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}&amp;lt;/math&amp;gt;= 86 au. Analogue evaluation in y and z direction yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}&amp;lt;/math&amp;gt;= 54 au and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}&amp;lt;/math&amp;gt;=  30 au. The polarizability is then&lt;br /&gt;
57 au, which is the same as the value in Reference, as well as the value obtained using the default routine for the&lt;br /&gt;
calculation of polarizability in Gaussian09.&lt;br /&gt;
&lt;br /&gt;
Finally, try to reproduce the correct dipole moment and polarisability in implicit solvent (dichloromethane). Optimise the ground  state via &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight  int=ultrafine scf=(conver=10)&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane) guess=read&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
yielding the geometry&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.141332     0.000000     0.028556&lt;br /&gt;
  N    -0.071415     0.000000     1.258401&lt;br /&gt;
  C     1.367139     0.000000     1.684979&lt;br /&gt;
  N     2.090981     0.000000     0.518558&lt;br /&gt;
  C     1.239597     0.000000    -0.558312&lt;br /&gt;
  O     1.461088     0.000000    -1.729021&lt;br /&gt;
  H     3.101578     0.000000     0.461093&lt;br /&gt;
  O     1.719875     0.000000     2.823046&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
at an energy of -391.335724 Ha. Dipole moments and polarizabilities at the optimized geometry at the M06-2X/Sadlej level of theory were then obtained via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/gen int=ultrafine scf=(conver=10) guess=read polar&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane) geom=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to yield the following output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=1.2615935,0.,-0.0717451&lt;br /&gt;
  Polar=55.4963369,0.,35.741816,2.3407747,0.,96.5379704&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dipole moment in groundstate is therefore 1.26 au. and the&lt;br /&gt;
polarizability 63 au.&lt;br /&gt;
&lt;br /&gt;
The excited state in implicit solvent was also optimized:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/6-31g(d) opt=tight td(root=1)  int=ultrafine&lt;br /&gt;
  scf=(conver=10) guess=read geom=(connectivity,checkpoint)&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
using the optimized excited state geometry in gas phase as input. The optimized geometry is then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.101348     0.000000     0.023438&lt;br /&gt;
  N    -0.031138     0.000000     1.258959&lt;br /&gt;
  C     1.337822     0.000000     1.716250&lt;br /&gt;
  N     2.046763     0.000000     0.521074&lt;br /&gt;
  C     1.206893     0.000000    -0.586065&lt;br /&gt;
  O     1.494126     0.000000    -1.746788&lt;br /&gt;
  H     3.059686     0.000000     0.463479&lt;br /&gt;
  O     1.754707     0.000000     2.836953&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Calculation of the dipole moment and the polarizability is then done on the M06-2X/Sadlej level of theory using the default calculation routine.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/gen td(root=1)  int=ultrafine scf=(conver=10)&lt;br /&gt;
  guess=read polar=numerical density=current geom=checkpoint&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dipole moment is then 0.84 au. and the polarizability 73 au.  which is for both ground and excited state in perfect agreement with the published results in the paper by Jacquemin and coworkers.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=0.8376841,0.,-0.047563&lt;br /&gt;
  Polar=67.8846862,0.,35.5510398,2.7715247,0.,116.4748693&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Atomic polarizabilities==&lt;br /&gt;
We now want to calculate the atomic contributions to the molecular polarizability. Again, we use Stark&#039;s relation, namely that the change in dipole moment with respect to an external field is the polarizability. Changes in dipoles arise from atomic dipoles (asymmetric distribution of charge around the nucleus) that change upon applying an external field and from charge transfer between the atoms. The GDMA program written by Anthony Stone can calculate atomic dipoles&lt;br /&gt;
and partial charges at specific sites in the molecule, here the nuclei. We reuse the calculations at external fields of 0.0008au in negative and positive x, y and z direction from above. The respective checkpoint files need to be converted to formatted checkpoint files. From these the atomic dipoles can be calculated using the following input script for the ground state:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Title &amp;quot;title&amp;quot;&lt;br /&gt;
File file.fchk &lt;br /&gt;
&lt;br /&gt;
Angstrom&lt;br /&gt;
Multipoles&lt;br /&gt;
  Limit 1&lt;br /&gt;
Start&lt;br /&gt;
&lt;br /&gt;
Finish&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For the excited state, the electron density needs to be specified by putting the keyword &amp;quot;DENSITY &amp;quot;CI&amp;quot; at the end of the &amp;quot;File&amp;quot; line. This input script tells GDMA to calculate multipoles up to the rank of dipoles at all nuclear sites. The output (here for Fx=0.0008au) looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
Positions and radii in angstrom&lt;br /&gt;
Multipole moments in atomic units, ea_0^k for rank k&lt;br /&gt;
&lt;br /&gt;
N          x = -0.616284  y = -1.257223  z =  0.000000 angstrom&lt;br /&gt;
           Maximum rank =  1   Radius =  0.650 angstrom&lt;br /&gt;
                   Q00  =  -0.056538&lt;br /&gt;
|Q1| =   0.511629  Q11c =   0.331633  Q11s =   0.389594&lt;br /&gt;
&lt;br /&gt;
N          x =  0.616284  y = -1.257222  z =  0.000000 angstrom&lt;br /&gt;
           Maximum rank =  1   Radius =  0.650 angstrom&lt;br /&gt;
                   Q00  =  -0.060705&lt;br /&gt;
|Q1| =   0.516025  Q11c =  -0.335883  Q11s =   0.391746&lt;br /&gt;
[...]&lt;br /&gt;
          x =  2.279816  y =  0.450604  z =  0.000000 angstrom&lt;br /&gt;
           Maximum rank =  1   Radius =  0.650 angstrom&lt;br /&gt;
                   Q00  =  -0.280276&lt;br /&gt;
|Q1| =   0.425044  Q11c =  -0.405995  Q11s =  -0.125819&lt;br /&gt;
&lt;br /&gt;
Total multipoles referred to origin at&lt;br /&gt;
           x =   0.000000,  y =    0.000000,  z =    0.000000 angstrom&lt;br /&gt;
                   Q00  =  -0.000002&lt;br /&gt;
|Q1| =   1.022461  Q11c =  -0.059386  Q11s =   1.020735&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
where [...] indicates that not all data is shown. For the first nitrogen atom, a atomic dipole (0.331633,0.389594,0) is observed (Q11c is the x direction, Q11s the y direction and Q10 the z direction). For the calculation of atomic polarizability from atomic dipoles we need to monitor the x-component of the dipole when applying a field in x-direction, the y component for fields in y-direction and so on. For the nitrogen atom we get:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fx= 0.0008au , mu_x= 0.331633&lt;br /&gt;
Fx=-0.0008au , mu_x= 0.335880&lt;br /&gt;
Fy= 0.0008au , mu_y= 0.387470&lt;br /&gt;
Fy=-0.0008au , mu_y= 0.393892&lt;br /&gt;
Fz= 0.0008au , mu_z=-0.003752&lt;br /&gt;
Fz=-0.0008au , mu_z= 0.003752&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Numerical differentiation yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}=-\big( \frac{\mathrm{d}\mu_x}{\mathrm{d}F_x} \big) _{F_x=0} = -\frac{\mu_x(F_x)-\mu_x(-F_x)}{2F_x} = 2.65 au^3&amp;lt;/math&amp;gt;, and analogously &lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}=4.01 au^3&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}=4.69 au^3&amp;lt;/math&amp;gt; yielding an average polarizability of 3.8au^3. The same is done for all other atoms and then repeated for the excited state. One then ends up with the atomic polarizabilities&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Atomic alpha from polarization:&lt;br /&gt;
	GS	ES&lt;br /&gt;
N	3.8	4.1&lt;br /&gt;
N	3.8	4.1&lt;br /&gt;
C	1.2	1.4&lt;br /&gt;
N	2.5	2.3&lt;br /&gt;
N	1.2	1.4&lt;br /&gt;
O	4.6	4.7&lt;br /&gt;
H	0.8	0.8&lt;br /&gt;
O	4.6	4.7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Summed up, we end up with a polarizability from atomic dipoles of 22.4 au^3 in the ground state and 23.4 au^3 in the excited state. The missing 27.5 au^3 in the ground and 33.3 au^3 in the excited state stem from charge transfer. The overall contribution of charge transfer over all atoms is easy to calculate via &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_{charge transfer}=\sum_ir_iq_i&amp;lt;/math&amp;gt; where  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;r_i&amp;lt;/math&amp;gt; are the coordinates of each atom i and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;q_i&amp;lt;/math&amp;gt; the charge at that site. The charge at a specific site can be found in the GDMA output script and is labelled &amp;quot;Q00&amp;quot;. The coordinates are also printed in the output script. Summing up these values gives the desired polarizability of 27.5 au^3 in the ground and 33.3 au^3 in the excited state. However, the separation of this contribution to different atomic sites is difficult, as the sum &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_ct=\sum_ir_iq_i&amp;lt;/math&amp;gt; is origin independent (for a neutral molecule) but the respective contributions &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;r_iq_i&amp;lt;/math&amp;gt; aren&#039;t. A possible solution to this problem is the definition of bond charges &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{i,j}&amp;lt;/math&amp;gt; between the bonded atoms i and j. Each partial charge is assumed to be the sum of all bond charges, the sum of all bond charges in a ring is zero and same bond charges in different directions add up to 0 (&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{i,j}+b_{j,i}=0&amp;lt;/math&amp;gt;). These relations can be used to set up linear independent equations, which are solved for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_{i,j}&amp;lt;/math&amp;gt;. The atomic contribution to the dipole moment arising from charge transfer is then  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_{charge transfer, i}=\sum_j(r_i-\frac{r_i-r_{i,j}}{2})*b_{i,j}&amp;lt;/math&amp;gt; where  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;r_{i,j}&amp;lt;/math&amp;gt; was simply assumed to be &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{r_i+r_j}{2}&amp;lt;/math&amp;gt;. The same procedure as explained above for the atomic polarization contribution is applied here: the atomic charge transfer dipole moments are calculated at different fields and differentiated numerically to yield the average polarizabilities from charge transfer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Atomic alpha from charge transfer&lt;br /&gt;
	GS	ES&lt;br /&gt;
N	3.3	4.1&lt;br /&gt;
N	3.3	4.1&lt;br /&gt;
C	5.7	6.9&lt;br /&gt;
N	4.5	5.1&lt;br /&gt;
N	5.7	6.9&lt;br /&gt;
O	2.2	2.7&lt;br /&gt;
H	0.7	0.6&lt;br /&gt;
O	2.2	2.7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To obtain atomic polarizabilities we now sum up the contributions from polarization and charge transfer &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Overall atomic alpha&lt;br /&gt;
	GS	ES&lt;br /&gt;
N	7.1	8.2&lt;br /&gt;
N	7.1	8.2&lt;br /&gt;
C	6.8	8.4&lt;br /&gt;
N	7.0	7.5&lt;br /&gt;
N	6.8	8.4&lt;br /&gt;
O	6.9	7.4&lt;br /&gt;
H	1.5	1.4&lt;br /&gt;
O	6.9	7.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this molecule, the atomic polarization increases slightly upon excitation (in average about 6%), and charge transfer polarizability to a larger extent (about 19%).&lt;/div&gt;</summary>
		<author><name>Ech17</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Talk:Mod:Hunt_Research_Group/VMDTips&amp;diff=581701</id>
		<title>Talk:Mod:Hunt Research Group/VMDTips</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Talk:Mod:Hunt_Research_Group/VMDTips&amp;diff=581701"/>
		<updated>2017-02-08T17:00:24Z</updated>

		<summary type="html">&lt;p&gt;Ech17: /* Color by random property */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Tricks and Tips=&lt;br /&gt;
==quick way to identify commands==&lt;br /&gt;
*Turn on the TkConsole and log commands&lt;br /&gt;
:go to Extensions and turn on the TkConsole, then goto File select log Tcl commands to Console, this logs the command of anything you do on the GUI and thus allows you to quickly determine a number of commands for scripts&lt;br /&gt;
&lt;br /&gt;
==hide a molecule==&lt;br /&gt;
*double click on the &amp;quot;D&amp;quot; under molecule in the main VMD window&lt;br /&gt;
&lt;br /&gt;
==change one of the predefined colours==&lt;br /&gt;
*this is the color command [http://www.ks.uiuc.edu/Research/vmd/current/ug/node123.html link]&lt;br /&gt;
*must be applied to an existing colour name&lt;br /&gt;
*format is where color=color_name and r g b are numerical values (can be read off the slider)&lt;br /&gt;
:change rgb color r g b&lt;br /&gt;
*example which changes the colour blue2 to a light blue is&lt;br /&gt;
:color change rgb blue2 0.500000 0.700000 0.970000&lt;br /&gt;
&lt;br /&gt;
== Color by random property ==&lt;br /&gt;
&lt;br /&gt;
Sometimes it is convenient to color the atoms of a molecule according to a specific property. VMD provides the possibility to do so, namely via the implemented color option  according to the B-factor of an atom. To do so, make a PDB file of the molecule of interest, e.g. water&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ATOM      1  OH  OSP3    1       4.013   0.831  -9.083  1.00  0.00              &lt;br /&gt;
ATOM      2 1HH  OSP3    1       4.941   0.844  -8.837  1.00  0.00              &lt;br /&gt;
ATOM      3 2HH  OSP3    1       3.750  -0.068  -9.293  1.00  0.00              &lt;br /&gt;
TER&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and change the B-factor array (which is the last column, here all 0.00) to the desired property, for example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ATOM      1  OH  OSP3    1       4.013   0.831  -9.083  1.00  2.00              &lt;br /&gt;
ATOM      2 1HH  OSP3    1       4.941   0.844  -8.837  1.00  1.00              &lt;br /&gt;
ATOM      3 2HH  OSP3    1       3.750  -0.068  -9.293  1.00  3.00              &lt;br /&gt;
TER&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the changes, then open the PDB file in VMD.&lt;br /&gt;
Click on &amp;lt;tt&amp;gt;Graphics&amp;lt;/tt&amp;gt; =&amp;gt; &amp;lt;tt&amp;gt;Representations&amp;lt;/tt&amp;gt;, then select &amp;quot;Beta&amp;quot; in the &amp;lt;tt&amp;gt;Coloring Method&amp;lt;/tt&amp;gt; drop-down menu. The color scale data range can be changed when clicking on &amp;lt;tt&amp;gt;Trajectory&amp;lt;/tt&amp;gt; in the same window and changing the values in &amp;lt;tt&amp;gt;Color Scale Data Range&amp;lt;/tt&amp;gt;.&lt;br /&gt;
[[File:WIKI_1.png|center|Graphical Representations Window]]&lt;br /&gt;
Thus, every property, such as partial charge change, rmsd, how much you like an atom :) ... can be visualised easily. &lt;br /&gt;
[[File:WIKI_2.png|center|Colored water molecule according to the property saved to the B-factor array.]]&lt;/div&gt;</summary>
		<author><name>Ech17</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:WIKI_2.png&amp;diff=581699</id>
		<title>File:WIKI 2.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:WIKI_2.png&amp;diff=581699"/>
		<updated>2017-02-08T16:57:02Z</updated>

		<summary type="html">&lt;p&gt;Ech17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ech17</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:WIKI_1.png&amp;diff=581692</id>
		<title>File:WIKI 1.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:WIKI_1.png&amp;diff=581692"/>
		<updated>2017-02-08T16:53:25Z</updated>

		<summary type="html">&lt;p&gt;Ech17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ech17</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Mod:Hunt_Research_Group:_ES_alpha&amp;diff=580138</id>
		<title>Mod:Hunt Research Group: ES alpha</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Mod:Hunt_Research_Group:_ES_alpha&amp;diff=580138"/>
		<updated>2017-02-03T15:45:13Z</updated>

		<summary type="html">&lt;p&gt;Ech17: /* Reproduction of the exact results */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==introduction==&lt;br /&gt;
*we are using g09&lt;br /&gt;
*apparently Dalton can also calculate excited state polarizabilities http://www.daltonprogram.org&lt;br /&gt;
&lt;br /&gt;
* useful [https://joaquinbarroso.com/2012/07/27/polarizability-and-hyperpolarizability-in-gaussian/ blog]&lt;br /&gt;
*data below relates to information in this paper [https://pubs.acs.org/doi/abs/10.1021/jp5057623 link] we have used molecule VI from Scheme1&lt;br /&gt;
&lt;br /&gt;
==process==&lt;br /&gt;
*optimise the ground state use int=ultrafine and scf=(conver=9)&lt;br /&gt;
*make sure to &amp;quot;turn on&amp;quot; relevant symmetry&lt;br /&gt;
*confirm with a frequency analysis (using the optimised geometry)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) guess=read int=ultrafine freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:we turn on extra printing with #p&lt;br /&gt;
SCF Done:  E(RB3LYP) =  -391.474123816&lt;br /&gt;
:you are looking for something like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            593.6542&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=              0.0000    Y=              0.0000    Z=              2.7398  Tot=              2.7398&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -35.4903   YY=            -50.1334   ZZ=            -37.0641&lt;br /&gt;
   XY=              0.0000   XZ=              0.0000   YZ=              0.0000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:the dipole moment is in the standard orientation, and the zero is therefore the CoM&lt;br /&gt;
:then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:the polarizability is in lower-triangular format with xx, xy, yy, xz, yz and zz values&lt;br /&gt;
:the approximate value is a cruder estimate evaluated using sum-over-states perturbation theory&lt;br /&gt;
:the polarizability is the mean(traceX)=1/3(xx+yy+zz) ie one third of the sum of the diagonal terms&lt;br /&gt;
:if you do this 1/3(19.474+65.813+36.738)=40.67&lt;br /&gt;
:note that this tensor is given relative to the standard orientation&lt;br /&gt;
&lt;br /&gt;
*then you can use the checkpoint file of the freq job and run a job with polar&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you will see something like this&lt;br /&gt;
:were clearly the tensor is symmetric and 1=y, 2=z and 3=x&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SCF Polarizability for W=    0.000000:&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.658125D+02&lt;br /&gt;
      2 -0.119999D-03  0.367380D+02&lt;br /&gt;
      3  0.227376D-02  0.472986D-03  0.194741D+02&lt;br /&gt;
 Isotropic polarizability for W=    0.000000       40.67 Bohr**3.&lt;br /&gt;
SCF Static Hyperpolarizability:&lt;br /&gt;
 K=  1 block:&lt;br /&gt;
                1&lt;br /&gt;
      1  0.000000D+00&lt;br /&gt;
 K=  2 block:&lt;br /&gt;
                1             2&lt;br /&gt;
      1  0.000000D+00&lt;br /&gt;
      2  0.000000D+00  0.000000D+00&lt;br /&gt;
 K=  3 block:&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1 -0.304281D+01&lt;br /&gt;
      2  0.000000D+00 -0.718146D+02&lt;br /&gt;
      3  0.000000D+00  0.000000D+00  0.451401D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and a bit later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            593.6543&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=              0.0000    Y=             -2.7398    Z=             -0.0010  Tot=              2.7398&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -50.1333   YY=            -37.0642   ZZ=            -35.4903&lt;br /&gt;
   XY=              0.0000   XZ=              0.0010   YZ=              0.0013&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and a bit later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*or you can do both! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) guess=read int=ultrafine polar freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you will see this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Isotropic polarizability for W=    0.000000       40.67 Bohr**3.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: and even later you will see this, and the dipole at least doesn&#039;t match that given above!&lt;br /&gt;
:this happens just before the frequencies are given&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 (Enter /Applications/g09/l716.exe)&lt;br /&gt;
 Dipole        = 3.54385899D-17-1.22258974D-14 1.07791236D+00&lt;br /&gt;
 Polarizability= 1.94740869D+01 2.40399932D-13 6.58126199D+01&lt;br /&gt;
                 2.26775166D-13 4.95235677D-08 3.67380378D+01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*now optimise on the first excited state, use the time-dependent options, the root=1 is the first excited state&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# opt td(root=1) b3lyp/6-31g(d,p) geom=connectivity scf=(conver=9) guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you should see something like this in the output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Excitation energies and oscillator strengths:&lt;br /&gt;
&lt;br /&gt;
 Excited State   1:      Singlet-A      1.6713 eV  741.84 nm  f=0.0003  &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26         0.70603&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.233828069&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* carry out a frequency analysis on the optimised excited state geometry&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# freq b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) td(read,root=1) guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:this will print out excited state dipole moments and so on ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            592.2331&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=             -0.0001    Y=             -2.0915    Z=              0.0004  Tot=              2.0915&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -49.3534   YY=            -35.5628   ZZ=            -36.5632&lt;br /&gt;
   XY=              0.0002   XZ=              0.0008   YZ=              0.0009&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*use the polar keyword on the excited state molecule&lt;br /&gt;
: use just polar to get the default analytic derivatives, in this case you might want to specify freq keyword as well&lt;br /&gt;
: you want to use the excited state density&lt;br /&gt;
: in this case polar=numerical computes the numerical derivative of the dipole moment&lt;br /&gt;
: you can change the step size of the electric field  0.0001N au with step=N&lt;br /&gt;
: you can restart a numerical calculation used polar=(numerical,restart) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar=numerical td(read,root=1) &lt;br /&gt;
  density=current guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you are looking for something like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Excited State   1:      Singlet-A      1.6129 eV  768.69 nm  f=0.0007  &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26        -0.70872&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.407446678&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            592.2331&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=             -0.0001    Y=             -2.0915    Z=              0.0158  Tot=              2.0915&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -49.3534   YY=            -35.5628   ZZ=            -36.5632&lt;br /&gt;
   XY=              0.0002   XZ=              0.0002   YZ=              0.0008&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Isotropic polarizability=       49.78 Bohr**3.&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.796564D+02&lt;br /&gt;
      2 -0.303870D-03  0.508599D+02&lt;br /&gt;
      3  0.349968D-03  0.169881D-03  0.188218D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*of course we can also do it analytically, the default&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar=numerical td(read,root=1) &lt;br /&gt;
  density=current guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and you should see&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Isotropic polarizability=       49.78 Bohr**3.&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.796564D+02&lt;br /&gt;
      2 -0.292909D-03  0.508599D+02&lt;br /&gt;
      3  0.360142D-03  0.138905D-03  0.188218D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 (Enter /Applications/g09/l716.exe)&lt;br /&gt;
 Dipole        =-4.88131552D-05-8.22840998D-01-4.04220282D-05&lt;br /&gt;
 Polarizability= 7.96563849D+01-2.92908823D-04 5.08598561D+01&lt;br /&gt;
                 3.60141967D-04 1.38905076D-04 1.88217717D+01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*so what are the results?&lt;br /&gt;
:for our system the&lt;br /&gt;
::ground state dipole 2.74 D and  isotropic polarizability 41 Bohr**3&lt;br /&gt;
::excited state dipole 2.09 D and  isotropic polarizability 50 Bohr**3.&lt;br /&gt;
:according to the paper (M06-2X with Sadlej&#039;s basis set&lt;br /&gt;
::ground state dipole 1.02 D and polarizability 50 Bohr**3&lt;br /&gt;
::excited state dipole 0.66 D and polarizability 57 Bohr**3.&lt;br /&gt;
:so these differences are quite large!&lt;br /&gt;
:they could be due to&lt;br /&gt;
::basis set&lt;br /&gt;
::functional&lt;br /&gt;
::larger finite field&lt;br /&gt;
::convergence on energy&lt;br /&gt;
::convergence on the geometry&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reproduction of the exact results==&lt;br /&gt;
Let us know try to reproduce the exact same results as described by Jacquemin and coworkers by applying the same procedure. First, optimise on the M06-2X/6-31G(d) level of theory using an improved energy threshold, a tight geometry optimisation criterion and a high level DFT integration grid.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight int=ultrafine scf=(conver=10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The optimised geometry is&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.142626     0.000000     0.028260&lt;br /&gt;
  N    -0.072667     0.000000     1.258841&lt;br /&gt;
  C     1.363634     0.000000     1.690124&lt;br /&gt;
  N     2.090317     0.000000     0.518596&lt;br /&gt;
  C     1.235531     0.000000    -0.563026&lt;br /&gt;
  O     1.468028     0.000000    -1.729522&lt;br /&gt;
  H     3.098469     0.000000     0.461269&lt;br /&gt;
  O     1.726826     0.000000     2.822758&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with an energy of -391.3255482 Ha. Check that the geometry is a true minimum on the potential energy surface by conducting a frequency calculation&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) geom=checkpoint  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(check for NImag=0).&lt;br /&gt;
The dipole moment and polarizability was calculated using the M06-2X functional and Sadlej&#039;s pVTZ basis set obtained from the EMSL Bais Set Exchange on the optimized geometry via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen int=ultrafine scf=(conver=10) guess=read polar &lt;br /&gt;
geom=checkpoint&lt;br /&gt;
&lt;br /&gt;
H     0&lt;br /&gt;
S   4   1.00&lt;br /&gt;
     33.8650140              0.0060680&lt;br /&gt;
      5.0947880              0.0453160&lt;br /&gt;
      1.1587860              0.2028460&lt;br /&gt;
      0.3258400              0.5037090&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.1027410              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0324000              1.0000000&lt;br /&gt;
P   2   1.00&lt;br /&gt;
      1.1588000              0.1884400&lt;br /&gt;
      0.3258000              0.8824200&lt;br /&gt;
P   2   1.00&lt;br /&gt;
      0.1027000              0.1178000&lt;br /&gt;
      0.0324000              0.0042000&lt;br /&gt;
****&lt;br /&gt;
C     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
   5240.6353000              0.0009370&lt;br /&gt;
    782.2048000              0.0072280&lt;br /&gt;
    178.3508300              0.0363440&lt;br /&gt;
     50.8159420              0.1306000&lt;br /&gt;
     16.8235620              0.3189310&lt;br /&gt;
S   2   1.00&lt;br /&gt;
      6.1757760              0.4387420&lt;br /&gt;
      2.4180490              0.2149740&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.5119000              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.1565900              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0479000              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     18.8418000              0.0138870&lt;br /&gt;
      4.1592400              0.0862790&lt;br /&gt;
      1.2067100              0.2887440&lt;br /&gt;
      0.3855400              0.4994110&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.1219400              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0385680              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      1.2067000              0.2628500&lt;br /&gt;
      0.3855000              0.8043000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.1219000              0.6535000&lt;br /&gt;
      0.0386000              0.8636000&lt;br /&gt;
****&lt;br /&gt;
N     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
   8104.0716000              0.0008020&lt;br /&gt;
   1216.0215000              0.0061740&lt;br /&gt;
    277.2342800              0.0312330&lt;br /&gt;
     76.9040230              0.1151980&lt;br /&gt;
     25.8744190              0.2969510&lt;br /&gt;
S   2   1.00&lt;br /&gt;
      9.3467670              0.4473490&lt;br /&gt;
      3.5797940              0.2450030&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.7396100              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.2226170              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0670060              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     26.8689870              0.0144780&lt;br /&gt;
      5.9912270              0.0911560&lt;br /&gt;
      1.7508420              0.2974200&lt;br /&gt;
      0.5605110              0.4937960&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.1759480              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0552310              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      1.7508000              0.2247700&lt;br /&gt;
      0.5605000              0.6595600&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.1795900              0.8713600&lt;br /&gt;
      0.0552000              0.7042200&lt;br /&gt;
****&lt;br /&gt;
O     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
  10662.2850000              0.0007990&lt;br /&gt;
   1599.7097000              0.0061530&lt;br /&gt;
    364.7252600              0.0311570&lt;br /&gt;
    103.6517900              0.1155960&lt;br /&gt;
     33.9058050              0.3015520&lt;br /&gt;
S   2   1.00&lt;br /&gt;
     12.2874690              0.4448700&lt;br /&gt;
      4.7568050              0.2431720&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      1.0042710              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.3006860              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0900300              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     34.8564630              0.0156480&lt;br /&gt;
      7.8431310              0.0981970&lt;br /&gt;
      2.3062490              0.3077680&lt;br /&gt;
      0.7231640              0.4924700&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.2148820              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0638500              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      2.3062000              0.2027000&lt;br /&gt;
      0.7232000              0.5791000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.2149000              0.7854500&lt;br /&gt;
      0.0639000              0.5338700&lt;br /&gt;
****&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
yielding an energy of  -391.4434344 Ha, a dipole moment of 1.02 au. and a polarizability of 50 au. (trace of the polarizability tensor)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=1.0190643,0.,-0.0579513&lt;br /&gt;
  Polar=45.7964203,0.,30.0056759,1.6195023,0.,74.1929892&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which corresponds exactly to the ground state gas phase results listed in the reference. Now optimise the excited state and check for imaginary frequencies via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight td(root=1)  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read geom=connectivity freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where the optimised geometry is &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.099617     0.000000     0.023379&lt;br /&gt;
  N    -0.029402     0.000000     1.258821&lt;br /&gt;
  C     1.333978     0.000000     1.722300&lt;br /&gt;
  N     2.044096     0.000000     0.521225&lt;br /&gt;
  C     1.202401     0.000000    -0.591640&lt;br /&gt;
  O     1.500232     0.000000    -1.747732&lt;br /&gt;
  H     3.054940     0.000000     0.463750&lt;br /&gt;
  O     1.760884     0.000000     2.837197&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Dipole moment and polarizabilities can then again be calculated at the M06-2X/Sadlej level of theory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen td(root=1)  int=ultrafine scf=(conver=10) guess=read &lt;br /&gt;
 polar=numerical density=current geom=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
yielding&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=0.6557277,0.,-0.03725&lt;br /&gt;
  Polar=54.0435904,0.,29.7590519,1.8414148,0.,86.3255147&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which is a total dipole moment of 0.66 au. and a polarizability of 57 au., which corresponds perfectly to the reference. An alternative approach to calculate the excited state polarizability is via the use of Stark&#039;s relation, which links the energy of a state to the strength of an applied electric field. &lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; E(F)=E^0-\sum_a \mu_a F_a - \frac{1}{2}\sum_{a,b} \alpha_{ab} F_a F_b &amp;lt;/math&amp;gt;&lt;br /&gt;
The dipole moment is then the first derivative of the energy with respect to the field at zero field strength. Make sure to take into account all directions, as  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_x=\big( \frac{\mathrm{d}E}{\mathrm{d}F_x} \big) _{F_x=0} &amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_y=\big( \frac{\mathrm{d}E}{\mathrm{d}F_y} \big) _{F_y=0} &amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_z=\big( \frac{\mathrm{d}E}{\mathrm{d}F_z} \big) _{F_z=0} &amp;lt;/math&amp;gt; and the total dipole moment is then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu=\sqrt{\mu_x^2+\mu_y^2+\mu_z^2}&amp;lt;/math&amp;gt;. Analogously, the polarizability is obtained via &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_x^2} \big) _{F_x=0} &amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_y^2} \big) _{F_y=0} &amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_z^2} \big) _{F_z=0} &amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha=\frac{\alpha_{xx}+\alpha_{yy}+\alpha_{zz}}{3}&amp;lt;/math&amp;gt;. The electric fields are chosen such that the Romberg differentiation procedure [http://dx.doi.org/10.1016/j.theochem.2007.08.028 link] can be applied.&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; F_a=2^k \cdot 0.0004 \; \mathrm{au.}  \;\;\;\;\;\;     \mathrm{with} \;k=1,2,...5 \;\;\; \mathrm{for} \; a=x,y,z&amp;lt;/math&amp;gt;&lt;br /&gt;
To apply for example a field of 0.0008 au. in the x-direction, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen td(root=1)  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read  density=current field=x+8 geometry=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Search the output for the energy of the first excited state&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Excited State   1:      Singlet-A&#039;&#039;    1.6794 eV  738.27 nm  f=0.0008&lt;br /&gt;
 &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26         0.70425&lt;br /&gt;
      25 &amp;lt;- 26        -0.10327&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.373283614&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here, we get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(F_x=0.0008)=&amp;lt;/math&amp;gt;-391.373283614 Ha. Repeat the calculation for all field strengths, which finally yields&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 F [au.]          E(Fx=F) [au.]        E(Fy=F) [au.]        E(Fz=F) [au.]&lt;br /&gt;
-0.0128         -391.380340688        -391.386106671        -391.375696126&lt;br /&gt;
-0.0064         -391.375024593        -391.378566574        -391.373865503&lt;br /&gt;
-0.0032         -391.373697934        -391.375634101        -391.373408310&lt;br /&gt;
-0.0016         -391.373366469        -391.374375865        -391.373294027&lt;br /&gt;
-0.0008         -391.373283571        -391.373798627        -391.373265458&lt;br /&gt;
0.0000          -391.373255935        -391.373255935        -391.373255935&lt;br /&gt;
0.0008          -391.373283614        -391.372747763        -391.373265458&lt;br /&gt;
0.0016          -391.373366555        -391.372274081        -391.373294027&lt;br /&gt;
0.0032          -391.373698106        -391.371430018        -391.373408310&lt;br /&gt;
0.0064          -391.375024938        -391.370154501        -391.373865503&lt;br /&gt;
0.0128          -391.380341380        -391.369251683        -391.375696126&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Romberg differentiation then uses&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; \big( \frac{\mathrm{d}^2f}{\mathrm{d}x^2} \big)_{x=0}= \frac{f(-2^kh)+f(2^kh)-2f(0)}{(2^kh)^2} &amp;lt;/math&amp;gt;&lt;br /&gt;
where h is the minimum step size (here 0.0004 au.) to evaluate the second derivative and then uses the iterative formula&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; P^{p,k} = \frac{4^pP^{p-1,k}-P^{p-1,k+1}}{4^p-1} &amp;lt;/math&amp;gt; &lt;br /&gt;
where p is the number of Romberg iteration and P is the required differentiation, to improve the obtained value. The value at p=0 corresponds to the initially obtained uncorrected differentiation value. The iterative procedure&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  k     2^k h   d^2E/dFx^2   p=1      p=2      p=3      p=4&lt;br /&gt;
  1    0.0008    -86.4      -86.4    -86.4    -86.4    -86.4&lt;br /&gt;
  2    0.0016    -86.4      -86.4    -86.4    -86.4&lt;br /&gt;
  3    0.0032    -86.3      -86.3    -86.3&lt;br /&gt;
  4    0.0064    -86.4      -86.3&lt;br /&gt;
  5    0.0128    -86.5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}&amp;lt;/math&amp;gt;= 86 au. Analogue evaluation in y and z direction yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}&amp;lt;/math&amp;gt;= 54 au and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}&amp;lt;/math&amp;gt;=  30 au. The polarizability is then&lt;br /&gt;
57 au, which is the same as the value in Reference, as well as the value obtained using the default routine for the&lt;br /&gt;
calculation of polarizability in Gaussian09.&lt;br /&gt;
&lt;br /&gt;
Finally, try to reproduce the correct dipole moment and polarisability in implicit solvent (dichloromethane). Optimise the ground  state via &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight  int=ultrafine scf=(conver=10)&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane) guess=read&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
yielding the geometry&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.141332     0.000000     0.028556&lt;br /&gt;
  N    -0.071415     0.000000     1.258401&lt;br /&gt;
  C     1.367139     0.000000     1.684979&lt;br /&gt;
  N     2.090981     0.000000     0.518558&lt;br /&gt;
  C     1.239597     0.000000    -0.558312&lt;br /&gt;
  O     1.461088     0.000000    -1.729021&lt;br /&gt;
  H     3.101578     0.000000     0.461093&lt;br /&gt;
  O     1.719875     0.000000     2.823046&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
at an energy of -391.335724 Ha. Dipole moments and polarizabilities at the optimized geometry at the M06-2X/Sadlej level of theory were then obtained via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/gen int=ultrafine scf=(conver=10) guess=read polar&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane) geom=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to yield the following output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=1.2615935,0.,-0.0717451&lt;br /&gt;
  Polar=55.4963369,0.,35.741816,2.3407747,0.,96.5379704&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dipole moment in groundstate is therefore 1.26 au. and the&lt;br /&gt;
polarizability 63 au.&lt;br /&gt;
&lt;br /&gt;
The excited state in implicit solvent was also optimized:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/6-31g(d) opt=tight td(root=1)  int=ultrafine&lt;br /&gt;
  scf=(conver=10) guess=read geom=(connectivity,checkpoint)&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
using the optimized excited state geometry in gas phase as input. The optimized geometry is then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.101348     0.000000     0.023438&lt;br /&gt;
  N    -0.031138     0.000000     1.258959&lt;br /&gt;
  C     1.337822     0.000000     1.716250&lt;br /&gt;
  N     2.046763     0.000000     0.521074&lt;br /&gt;
  C     1.206893     0.000000    -0.586065&lt;br /&gt;
  O     1.494126     0.000000    -1.746788&lt;br /&gt;
  H     3.059686     0.000000     0.463479&lt;br /&gt;
  O     1.754707     0.000000     2.836953&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Calculation of the dipole moment and the polarizability is then done on the M06-2X/Sadlej level of theory using the default calculation routine.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/gen td(root=1)  int=ultrafine scf=(conver=10)&lt;br /&gt;
  guess=read polar=numerical density=current geom=checkpoint&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dipole moment is then 0.84 au. and the polarizability 73 au.  which is for both ground and excited state in perfect agreement with the published results in the paper by Jacquemin and coworkers.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=0.8376841,0.,-0.047563&lt;br /&gt;
  Polar=67.8846862,0.,35.5510398,2.7715247,0.,116.4748693&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ech17</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Mod:Hunt_Research_Group:_ES_alpha&amp;diff=579971</id>
		<title>Mod:Hunt Research Group: ES alpha</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Mod:Hunt_Research_Group:_ES_alpha&amp;diff=579971"/>
		<updated>2017-02-02T16:34:26Z</updated>

		<summary type="html">&lt;p&gt;Ech17: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==introduction==&lt;br /&gt;
*we are using g09&lt;br /&gt;
*apparently Dalton can also calculate excited state polarizabilities http://www.daltonprogram.org&lt;br /&gt;
&lt;br /&gt;
* useful [https://joaquinbarroso.com/2012/07/27/polarizability-and-hyperpolarizability-in-gaussian/ blog]&lt;br /&gt;
*data below relates to information in this paper [https://pubs.acs.org/doi/abs/10.1021/jp5057623 link] we have used molecule VI from Scheme1&lt;br /&gt;
&lt;br /&gt;
==process==&lt;br /&gt;
*optimise the ground state use int=ultrafine and scf=(conver=9)&lt;br /&gt;
*make sure to &amp;quot;turn on&amp;quot; relevant symmetry&lt;br /&gt;
*confirm with a frequency analysis (using the optimised geometry)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) guess=read int=ultrafine freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:we turn on extra printing with #p&lt;br /&gt;
SCF Done:  E(RB3LYP) =  -391.474123816&lt;br /&gt;
:you are looking for something like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            593.6542&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=              0.0000    Y=              0.0000    Z=              2.7398  Tot=              2.7398&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -35.4903   YY=            -50.1334   ZZ=            -37.0641&lt;br /&gt;
   XY=              0.0000   XZ=              0.0000   YZ=              0.0000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:the dipole moment is in the standard orientation, and the zero is therefore the CoM&lt;br /&gt;
:then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:the polarizability is in lower-triangular format with xx, xy, yy, xz, yz and zz values&lt;br /&gt;
:the approximate value is a cruder estimate evaluated using sum-over-states perturbation theory&lt;br /&gt;
:the polarizability is the mean(traceX)=1/3(xx+yy+zz) ie one third of the sum of the diagonal terms&lt;br /&gt;
:if you do this 1/3(19.474+65.813+36.738)=40.67&lt;br /&gt;
:note that this tensor is given relative to the standard orientation&lt;br /&gt;
&lt;br /&gt;
*then you can use the checkpoint file of the freq job and run a job with polar&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you will see something like this&lt;br /&gt;
:were clearly the tensor is symmetric and 1=y, 2=z and 3=x&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SCF Polarizability for W=    0.000000:&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.658125D+02&lt;br /&gt;
      2 -0.119999D-03  0.367380D+02&lt;br /&gt;
      3  0.227376D-02  0.472986D-03  0.194741D+02&lt;br /&gt;
 Isotropic polarizability for W=    0.000000       40.67 Bohr**3.&lt;br /&gt;
SCF Static Hyperpolarizability:&lt;br /&gt;
 K=  1 block:&lt;br /&gt;
                1&lt;br /&gt;
      1  0.000000D+00&lt;br /&gt;
 K=  2 block:&lt;br /&gt;
                1             2&lt;br /&gt;
      1  0.000000D+00&lt;br /&gt;
      2  0.000000D+00  0.000000D+00&lt;br /&gt;
 K=  3 block:&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1 -0.304281D+01&lt;br /&gt;
      2  0.000000D+00 -0.718146D+02&lt;br /&gt;
      3  0.000000D+00  0.000000D+00  0.451401D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and a bit later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            593.6543&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=              0.0000    Y=             -2.7398    Z=             -0.0010  Tot=              2.7398&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -50.1333   YY=            -37.0642   ZZ=            -35.4903&lt;br /&gt;
   XY=              0.0000   XZ=              0.0010   YZ=              0.0013&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and a bit later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*or you can do both! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) guess=read int=ultrafine polar freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you will see this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Isotropic polarizability for W=    0.000000       40.67 Bohr**3.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and later this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Exact polarizability:  19.474   0.000  65.813   0.000   0.000  36.738&lt;br /&gt;
 Approx polarizability:  29.762   0.000 136.916   0.000   0.000  55.771&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: and even later you will see this, and the dipole at least doesn&#039;t match that given above!&lt;br /&gt;
:this happens just before the frequencies are given&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 (Enter /Applications/g09/l716.exe)&lt;br /&gt;
 Dipole        = 3.54385899D-17-1.22258974D-14 1.07791236D+00&lt;br /&gt;
 Polarizability= 1.94740869D+01 2.40399932D-13 6.58126199D+01&lt;br /&gt;
                 2.26775166D-13 4.95235677D-08 3.67380378D+01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*now optimise on the first excited state, use the time-dependent options, the root=1 is the first excited state&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# opt td(root=1) b3lyp/6-31g(d,p) geom=connectivity scf=(conver=9) guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you should see something like this in the output&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Excitation energies and oscillator strengths:&lt;br /&gt;
&lt;br /&gt;
 Excited State   1:      Singlet-A      1.6713 eV  741.84 nm  f=0.0003  &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26         0.70603&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.233828069&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* carry out a frequency analysis on the optimised excited state geometry&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# freq b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) td(read,root=1) guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:this will print out excited state dipole moments and so on ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            592.2331&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=             -0.0001    Y=             -2.0915    Z=              0.0004  Tot=              2.0915&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -49.3534   YY=            -35.5628   ZZ=            -36.5632&lt;br /&gt;
   XY=              0.0002   XZ=              0.0008   YZ=              0.0009&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*use the polar keyword on the excited state molecule&lt;br /&gt;
: use just polar to get the default analytic derivatives, in this case you might want to specify freq keyword as well&lt;br /&gt;
: you want to use the excited state density&lt;br /&gt;
: in this case polar=numerical computes the numerical derivative of the dipole moment&lt;br /&gt;
: you can change the step size of the electric field  0.0001N au with step=N&lt;br /&gt;
: you can restart a numerical calculation used polar=(numerical,restart) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar=numerical td(read,root=1) &lt;br /&gt;
  density=current guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:you are looking for something like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Excited State   1:      Singlet-A      1.6129 eV  768.69 nm  f=0.0007  &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26        -0.70872&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.407446678&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Electronic spatial extent (au):  &amp;lt;R**2&amp;gt;=            592.2331&lt;br /&gt;
 Charge=              0.0000 electrons&lt;br /&gt;
 Dipole moment (field-independent basis, Debye):&lt;br /&gt;
    X=             -0.0001    Y=             -2.0915    Z=              0.0158  Tot=              2.0915&lt;br /&gt;
 Quadrupole moment (field-independent basis, Debye-Ang):&lt;br /&gt;
   XX=            -49.3534   YY=            -35.5628   ZZ=            -36.5632&lt;br /&gt;
   XY=              0.0002   XZ=              0.0002   YZ=              0.0008&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Isotropic polarizability=       49.78 Bohr**3.&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.796564D+02&lt;br /&gt;
      2 -0.303870D-03  0.508599D+02&lt;br /&gt;
      3  0.349968D-03  0.169881D-03  0.188218D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*of course we can also do it analytically, the default&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p b3lyp/6-31g(d,p) geom=checkpoint scf=(conver=9) polar=numerical td(read,root=1) &lt;br /&gt;
  density=current guess=read int=ultrafine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:and you should see&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Isotropic polarizability=       49.78 Bohr**3.&lt;br /&gt;
                1             2             3&lt;br /&gt;
      1  0.796564D+02&lt;br /&gt;
      2 -0.292909D-03  0.508599D+02&lt;br /&gt;
      3  0.360142D-03  0.138905D-03  0.188218D+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 (Enter /Applications/g09/l716.exe)&lt;br /&gt;
 Dipole        =-4.88131552D-05-8.22840998D-01-4.04220282D-05&lt;br /&gt;
 Polarizability= 7.96563849D+01-2.92908823D-04 5.08598561D+01&lt;br /&gt;
                 3.60141967D-04 1.38905076D-04 1.88217717D+01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*so what are the results?&lt;br /&gt;
:for our system the&lt;br /&gt;
::ground state dipole 2.74 D and  isotropic polarizability 41 Bohr**3&lt;br /&gt;
::excited state dipole 2.09 D and  isotropic polarizability 50 Bohr**3.&lt;br /&gt;
:according to the paper (M06-2X with Sadlej&#039;s basis set&lt;br /&gt;
::ground state dipole 1.02 D and polarizability 50 Bohr**3&lt;br /&gt;
::excited state dipole 0.66 D and polarizability 57 Bohr**3.&lt;br /&gt;
:so these differences are quite large!&lt;br /&gt;
:they could be due to&lt;br /&gt;
::basis set&lt;br /&gt;
::functional&lt;br /&gt;
::larger finite field&lt;br /&gt;
::convergence on energy&lt;br /&gt;
::convergence on the geometry&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reproduction of the exact results==&lt;br /&gt;
Let us know try to reproduce the exact same results as described by Jacquemin and coworkers by applying the same procedure. First, optimise on the M06-2X/6-31G(d) level of theory using an improved energy threshold, a tight geometry optimisation criterion and a high level DFT integration grid.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight int=ultrafine scf=(conver=10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The optimised geometry is&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.142626     0.000000     0.028260&lt;br /&gt;
  N    -0.072667     0.000000     1.258841&lt;br /&gt;
  C     1.363634     0.000000     1.690124&lt;br /&gt;
  N     2.090317     0.000000     0.518596&lt;br /&gt;
  C     1.235531     0.000000    -0.563026&lt;br /&gt;
  O     1.468028     0.000000    -1.729522&lt;br /&gt;
  H     3.098469     0.000000     0.461269&lt;br /&gt;
  O     1.726826     0.000000     2.822758&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with an energy of -391.3255482 Ha. Check that the geometry is a true minimum on the potential energy surface by conducting a frequency calculation&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) geom=checkpoint  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(check for NImag=0).&lt;br /&gt;
The dipole moment and polarizability was calculated using the M06-2X functional and Sadlej&#039;s pVTZ basis set obtained from the EMSL Bais Set Exchange on the optimized geometry via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen int=ultrafine scf=(conver=10) guess=read polar &lt;br /&gt;
geom=checkpoint&lt;br /&gt;
&lt;br /&gt;
H     0&lt;br /&gt;
S   4   1.00&lt;br /&gt;
     33.8650140              0.0060680&lt;br /&gt;
      5.0947880              0.0453160&lt;br /&gt;
      1.1587860              0.2028460&lt;br /&gt;
      0.3258400              0.5037090&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.1027410              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0324000              1.0000000&lt;br /&gt;
P   2   1.00&lt;br /&gt;
      1.1588000              0.1884400&lt;br /&gt;
      0.3258000              0.8824200&lt;br /&gt;
P   2   1.00&lt;br /&gt;
      0.1027000              0.1178000&lt;br /&gt;
      0.0324000              0.0042000&lt;br /&gt;
****&lt;br /&gt;
C     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
   5240.6353000              0.0009370&lt;br /&gt;
    782.2048000              0.0072280&lt;br /&gt;
    178.3508300              0.0363440&lt;br /&gt;
     50.8159420              0.1306000&lt;br /&gt;
     16.8235620              0.3189310&lt;br /&gt;
S   2   1.00&lt;br /&gt;
      6.1757760              0.4387420&lt;br /&gt;
      2.4180490              0.2149740&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.5119000              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.1565900              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0479000              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     18.8418000              0.0138870&lt;br /&gt;
      4.1592400              0.0862790&lt;br /&gt;
      1.2067100              0.2887440&lt;br /&gt;
      0.3855400              0.4994110&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.1219400              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0385680              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      1.2067000              0.2628500&lt;br /&gt;
      0.3855000              0.8043000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.1219000              0.6535000&lt;br /&gt;
      0.0386000              0.8636000&lt;br /&gt;
****&lt;br /&gt;
N     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
   8104.0716000              0.0008020&lt;br /&gt;
   1216.0215000              0.0061740&lt;br /&gt;
    277.2342800              0.0312330&lt;br /&gt;
     76.9040230              0.1151980&lt;br /&gt;
     25.8744190              0.2969510&lt;br /&gt;
S   2   1.00&lt;br /&gt;
      9.3467670              0.4473490&lt;br /&gt;
      3.5797940              0.2450030&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.7396100              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.2226170              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0670060              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     26.8689870              0.0144780&lt;br /&gt;
      5.9912270              0.0911560&lt;br /&gt;
      1.7508420              0.2974200&lt;br /&gt;
      0.5605110              0.4937960&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.1759480              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0552310              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      1.7508000              0.2247700&lt;br /&gt;
      0.5605000              0.6595600&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.1795900              0.8713600&lt;br /&gt;
      0.0552000              0.7042200&lt;br /&gt;
****&lt;br /&gt;
O     0&lt;br /&gt;
S   5   1.00&lt;br /&gt;
  10662.2850000              0.0007990&lt;br /&gt;
   1599.7097000              0.0061530&lt;br /&gt;
    364.7252600              0.0311570&lt;br /&gt;
    103.6517900              0.1155960&lt;br /&gt;
     33.9058050              0.3015520&lt;br /&gt;
S   2   1.00&lt;br /&gt;
     12.2874690              0.4448700&lt;br /&gt;
      4.7568050              0.2431720&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      1.0042710              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.3006860              1.0000000&lt;br /&gt;
S   1   1.00&lt;br /&gt;
      0.0900300              1.0000000&lt;br /&gt;
P   4   1.00&lt;br /&gt;
     34.8564630              0.0156480&lt;br /&gt;
      7.8431310              0.0981970&lt;br /&gt;
      2.3062490              0.3077680&lt;br /&gt;
      0.7231640              0.4924700&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.2148820              1.0000000&lt;br /&gt;
P   1   1.00&lt;br /&gt;
      0.0638500              1.0000000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      2.3062000              0.2027000&lt;br /&gt;
      0.7232000              0.5791000&lt;br /&gt;
D   2   1.00&lt;br /&gt;
      0.2149000              0.7854500&lt;br /&gt;
      0.0639000              0.5338700&lt;br /&gt;
****&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
yielding an energy of  -391.4434344 Ha, a dipole moment of 1.02 au. and a polarizability of 50 au. (trace of the polarizability tensor)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=1.0190643,0.,-0.0579513&lt;br /&gt;
  Polar=45.7964203,0.,30.0056759,1.6195023,0.,74.1929892&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which corresponds exactly to the ground state gas phase results listed in the reference. Now optimise the excited state and check for imaginary frequencies via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight td(root=1)  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read geom=connectivity freq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where the optimised geometry is &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.099617     0.000000     0.023379&lt;br /&gt;
  N    -0.029402     0.000000     1.258821&lt;br /&gt;
  C     1.333978     0.000000     1.722300&lt;br /&gt;
  N     2.044096     0.000000     0.521225&lt;br /&gt;
  C     1.202401     0.000000    -0.591640&lt;br /&gt;
  O     1.500232     0.000000    -1.747732&lt;br /&gt;
  H     3.054940     0.000000     0.463750&lt;br /&gt;
  O     1.760884     0.000000     2.837197&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Dipole moment and polarizabilities can then again be calculated at the M06-2X/Sadlej level of theory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen td(root=1)  int=ultrafine scf=(conver=10) guess=read &lt;br /&gt;
 polar=numerical density=current geom=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
yielding&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=0.6557277,0.,-0.03725&lt;br /&gt;
  Polar=54.0435904,0.,29.7590519,1.8414148,0.,86.3255147&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which is a total dipole moment of 0.66 au. and a polarizability of 57 au., which corresponds perfectly to the reference. An alternative approach to calculate the excited state polarizability is via the use of Stark&#039;s relation, which links the energy of a state to the strength of an applied electric field. &lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; E(F)=E^0-\sum_a \mu_a F_a - \frac{1}{2}\sum_{a,b} \alpha_{ab} F_a F_b &amp;lt;/math&amp;gt;&lt;br /&gt;
The dipole moment is then the first derivative of the energy with respect to the field at zero field strength. Make sure to take into account all directions, as  &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_x=\big( \frac{\mathrm{d}E}{\mathrm{d}F_x} \big) _{F_x=0} &amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_y=\big( \frac{\mathrm{d}E}{\mathrm{d}F_y} \big) _{F_y=0} &amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu_z=\big( \frac{\mathrm{d}E}{\mathrm{d}F_z} \big) _{F_z=0} &amp;lt;/math&amp;gt; and the total dipole moment is then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mu=\sqrt{\mu_x^2+\mu_y^2+\mu_z^2}&amp;lt;/math&amp;gt;. Analogously, the polarizability is obtained via &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_x^2} \big) _{F_x=0} &amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_y^2} \big) _{F_y=0} &amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}=\big( \frac{\mathrm{d}^2E}{\mathrm{d}F_z^2} \big) _{F_z=0} &amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha=\frac{\alpha_{xx}+\alpha_{yy}+\alpha_{zz}}{3}&amp;lt;/math&amp;gt;. The electric fields are chosen such that the Romberg differentiation procedure [http://dx.doi.org/10.1016/j.theochem.2007.08.028 link] can be applied.&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; F_a=2^k \cdot 0.0004 \; \mathrm{au.}  \;\;\;\;\;\;     \mathrm{with} \;k=1,2,...5 \;\;\; \mathrm{for} \; a=x,y,z&amp;lt;/math&amp;gt;&lt;br /&gt;
To apply for example a field of 0.0008 au. in the x-direction, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/gen td(root=1)  int=ultrafine scf=(conver=10) &lt;br /&gt;
guess=read  density=current field=x+8 geometry=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Search the output for the energy of the first excited state&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Excited State   1:      Singlet-A&#039;&#039;    1.6794 eV  738.27 nm  f=0.0008&lt;br /&gt;
 &amp;lt;S**2&amp;gt;=0.000&lt;br /&gt;
      25 -&amp;gt; 26         0.70425&lt;br /&gt;
      25 &amp;lt;- 26        -0.10327&lt;br /&gt;
 This state for optimization and/or second-order correction.&lt;br /&gt;
 Total Energy, E(TD-HF/TD-KS) =  -391.373283614&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here, we get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;E(F_x=0.0008)=&amp;lt;/math&amp;gt;-391.373283614 Ha. Repeat the calculation for all field strengths, which finally yields&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 F [au.]          E(Fx=F) [au.]        E(Fy=F) [au.]        E(Fz=F) [au.]&lt;br /&gt;
-0.0128         -391.380340688        -391.386106671        -391.375696126&lt;br /&gt;
-0.0064         -391.375024593        -391.378566574        -391.373865503&lt;br /&gt;
-0.0032         -391.373697934        -391.375634101        -391.373408310&lt;br /&gt;
-0.0016         -391.373366469        -391.374375865        -391.373294027&lt;br /&gt;
-0.0008         -391.373283571        -391.373798627        -391.373265458&lt;br /&gt;
0.0000          -391.373255935        -391.373255935        -391.373255935&lt;br /&gt;
0.0008          -391.373283614        -391.372747763        -391.373265458&lt;br /&gt;
0.0016          -391.373366555        -391.372274081        -391.373294027&lt;br /&gt;
0.0032          -391.373698106        -391.371430018        -391.373408310&lt;br /&gt;
0.0064          -391.375024938        -391.370154501        -391.373865503&lt;br /&gt;
0.0128          -391.380341380        -391.369251683        -391.375696126&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Romberg differentiation then uses&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; \big( \frac{\mathrm{d}^2f}{\mathrm{d}x^2} \big)_{x=0}= \frac{f(-2^kh)+f(2^kh)-2f(0)}{(2^kh)^2} &amp;lt;/math&amp;gt;&lt;br /&gt;
where h is the minimum step size (here 0.0004 au.) to evaluate the second derivative and then uses the iterative formula&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; P^{p,i} = \frac{4^pP^{p-1,i}-P^{p-1,i+1}}{4^p-1} &amp;lt;/math&amp;gt; &lt;br /&gt;
where p is the number of Romberg iteration and P is the required differentiation, to improve the obtained value. The value at k=0 corresponds to the initially obtained value. The iterative procedure&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   2^k h     i=0       i=1      i=2      i=3      i=4&lt;br /&gt;
  0.0008    -86.4    -86.4    -86.4    -86.4    -86.4&lt;br /&gt;
  0.0016    -86.4    -86.4    -86.4    -86.4&lt;br /&gt;
  0.0032    -86.3    -86.3    -86.3&lt;br /&gt;
  0.0064    -86.4    -86.3&lt;br /&gt;
  0.0128    -86.5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{xx}&amp;lt;/math&amp;gt;= 86 au. Analogue evaluation in y and z direction yields &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{yy}&amp;lt;/math&amp;gt;= 54 au and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\alpha_{zz}&amp;lt;/math&amp;gt;=  30 au. The polarizability is then&lt;br /&gt;
57 au, which is the same as the value in Reference, as well as the value obtained using the default routine for the&lt;br /&gt;
calculation of polarizability in Gaussian09.&lt;br /&gt;
&lt;br /&gt;
Finally, try to reproduce the correct dipole moment and polarisability in implicit solvent (dichloromethane). Optimise the ground  state via &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#p m062x/6-31g(d) opt=tight  int=ultrafine scf=(conver=10)&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane) guess=read&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
yielding the geometry&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.141332     0.000000     0.028556&lt;br /&gt;
  N    -0.071415     0.000000     1.258401&lt;br /&gt;
  C     1.367139     0.000000     1.684979&lt;br /&gt;
  N     2.090981     0.000000     0.518558&lt;br /&gt;
  C     1.239597     0.000000    -0.558312&lt;br /&gt;
  O     1.461088     0.000000    -1.729021&lt;br /&gt;
  H     3.101578     0.000000     0.461093&lt;br /&gt;
  O     1.719875     0.000000     2.823046&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
at an energy of -391.335724 Ha. Dipole moments and polarizabilities at the optimized geometry at the M06-2X/Sadlej level of theory were then obtained via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/gen int=ultrafine scf=(conver=10) guess=read polar&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane) geom=checkpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to yield the following output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=1.2615935,0.,-0.0717451&lt;br /&gt;
  Polar=55.4963369,0.,35.741816,2.3407747,0.,96.5379704&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dipole moment in groundstate is therefore 1.26 au. and the&lt;br /&gt;
polarizability 63 au.&lt;br /&gt;
&lt;br /&gt;
The excited state in implicit solvent was also optimized:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/6-31g(d) opt=tight td(root=1)  int=ultrafine&lt;br /&gt;
  scf=(conver=10) guess=read geom=(connectivity,checkpoint)&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
using the optimized excited state geometry in gas phase as input. The optimized geometry is then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  N    -0.101348     0.000000     0.023438&lt;br /&gt;
  N    -0.031138     0.000000     1.258959&lt;br /&gt;
  C     1.337822     0.000000     1.716250&lt;br /&gt;
  N     2.046763     0.000000     0.521074&lt;br /&gt;
  C     1.206893     0.000000    -0.586065&lt;br /&gt;
  O     1.494126     0.000000    -1.746788&lt;br /&gt;
  H     3.059686     0.000000     0.463479&lt;br /&gt;
  O     1.754707     0.000000     2.836953&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Calculation of the dipole moment and the polarizability is then done on the M06-2X/Sadlej level of theory using the default calculation routine.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #p m062x/gen td(root=1)  int=ultrafine scf=(conver=10)&lt;br /&gt;
  guess=read polar=numerical density=current geom=checkpoint&lt;br /&gt;
  SCRF=(IEFPCM,SOLVENT=dichloromethane)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dipole moment is then 0.84 au. and the polarizability 73 au.  which is for both ground and excited state in perfect agreement with the published results in the paper by Jacquemin and coworkers.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Dipole=0.8376841,0.,-0.047563&lt;br /&gt;
  Polar=67.8846862,0.,35.5510398,2.7715247,0.,116.4748693&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ech17</name></author>
	</entry>
</feed>