adc-connect / adcc

adcc: Seamlessly connect your program to ADC
https://adc-connect.org
GNU General Public License v3.0
32 stars 19 forks source link

Additional operator integrals and selection of gauge origin #169

Open frieschneider opened 12 months ago

frieschneider commented 12 months ago

Operator integrals: For the pyscf backend I added additional operator integrals:

and the

as reference state properties.

The magnetic dipole moment operator integrals are zero for adc1 for linear molecules for the coordinate parallel to the main axis. I added to the conjugate solver to return "is zero" for this integral and exit.

Testing: test_properties_consistencty.py: I added the different gauge origins, which would require the addition of testdata.

test_properties.py I added the electric quadrupole, requires regenerating testdata and new testdata.

ToDo:

Workflow: Selection of the gauge origin: state = adcc.adc1(scfres, n_states=1, gauge_origin="origin")