This repository contains scripts for calculating transition density matrices and transition dipole moments of PTCDA using PySCF.
The most complete and accurate implementation:
- ✅ Full TDDFT (not TDA) for accurate transition dipoles
- ✅ Transition dipole moment calculations
- ✅ Oscillator strength calculations
- ✅ Natural Transition Orbital (NTO) analysis
- ✅ All three density types (transition, excited state, difference)
- ✅ Proper gauge origin handling
- ✅ Works with both test molecules and PTCDA
- Transition dipole moment calculations
- Oscillator strength calculations
- Natural Transition Orbital (NTO) analysis
- All three density types (transition, excited state, difference)
- Proper gauge origin handling
- Works with both test molecules and PTCDA
Use this for production calculations and publication-quality results.
Basic implementation for testing:
- Uses TDA (Tamm-Dancoff Approximation)
- Density matrix calculations only
- Good for learning and quick tests
Enhanced density calculations:
- Multiple density visualization options
- Uses TDA
- No transition dipole calculations
# Run the accurate calculation
python tdm_calc_accurate.pyFor detailed information, see CALCULATION_GUIDE.md.
transition_density_state*.cube- Transition density for dipole momentsexcited_state_density_state*.cube- Total excited state densitydensity_difference_state*.cube- Density redistribution (best for visualization)nto_state_*.molden- Natural transition orbitals
VMD:
vmd density_difference_state1.cubeJmol:
jmol density_difference_state1.cubeSee CALCULATION_GUIDE.md for detailed visualization instructions.