Skip to content

ISR(3) properties implementation - #210

Merged
jonasleitner merged 175 commits into
adc-connect:masterfrom
whyshna:isr3
Jul 9, 2026
Merged

ISR(3) properties implementation#210
jonasleitner merged 175 commits into
adc-connect:masterfrom
whyshna:isr3

Conversation

@whyshna

@whyshna whyshna commented May 8, 2026

Copy link
Copy Markdown
Contributor
  • State difference density matrices (state_diffdm) - diffdm_isr3 added

  • Ground-to-excited transition density matrices (transition_dm) - tdm_isr3 added

  • State-to-state transition density matrices (state2state_transition_dm) - s2s_tdm_isr3 added

  • Modified transition moments (modified_transition_moments) - mtm_isr3 added

  • ISR(3) blocks in bmatrix:

  • third order singles block (block_ph_ph_3)

  • couplings block - ph, pphh at second order (block_ph_pphh_2)

  • couplings block - pphh, ph at second order (block_pphh_ph_2)

  • doubles block at first order (block_pphh_pphh_1)

  • workflow.py - isr_order parameter added, ISR logic centralized here

  • isr_order can now be used as a keyword while running an ADC calculation, specifying the isr_order

  • For eg: state = adcc.adc3(scfres, n_singlets=3, isr_order=3)

  • ElectronicStates/ExcitedStates - accept property_method directly

  • State2States - inherits property_method from parent state automatically

  • HDF5 structure updated from {case}/{gs_density_order}/{kind} to {case}/{gs_density_order}/{isr_order}/{kind} - now the adc3 datas contains properties at both isr_order=3, and isr_order=2(isr_order=2 is stored as None)

  • ADC(3) still takes isr_order=2 as default, unless explicitly mentioned

Known Limitations

  • CVS-ADC(3) with ISR(3) is not yet implemented

@whyshna
whyshna marked this pull request as ready for review June 22, 2026 12:19
Comment thread adcc/adc_pp/bmatrix.py Outdated
Comment thread adcc/adc_pp/bmatrix.py Outdated
Comment thread adcc/adc_pp/bmatrix.py Outdated
Comment thread adcc/adc_pp/bmatrix.py Outdated
Comment thread adcc/adc_pp/bmatrix.py Outdated
Comment thread adcc/tests/testdata_cache.py Outdated
Comment thread adcc/AdcMatrix.py Outdated
Comment thread adcc/AdcMethod.py Outdated
Comment thread adcc/ElectronicStates.py
Comment thread adcc/workflow.py Outdated
Comment thread adcc/tests/generators/generate_adcc_data.py Outdated
Comment thread adcc/tests/generators/generate_adcman_data.py
Comment thread adcc/tests/properties_test.py
Comment thread adcc/tests/properties_test.py Outdated
Comment thread adcc/tests/testdata_cache.py
Comment thread adcc/tests/testdata_cache.py Outdated
Comment thread adcc/ElectronicStates.py Outdated
Comment thread adcc/adc_pp/matrix.py Outdated
Comment thread adcc/adc_pp/transition_dm.py Outdated
@jonasleitner
jonasleitner merged commit ff2387e into adc-connect:master Jul 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants