How to perform hf calculations and select orbitals at each step of CASCI optimization #2625
Replies: 2 comments
-
|
I don't think that's currently possible. The trace goes Zooming out a bit, I wonder what your scientific goal is here, because I think this has the same fundamental problem as state-specific excited-state MC-SCF geometry optimization: orbitals will sometimes change order as the geometry changes. (1) Since you don't yet know what the final geometry is, how do you know which are the orbitals you want? Alternatively, one could compare the HF orbitals at step n to the stored CASCI I'm sure I'm overthinking the issue as it pertains to your specific case. I just wanted to offer some insight as to why I think PySCF hasn't implemented this behavior yet. Developers would need to know what general types of behaviors are most useful to the largest number of users.
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your serious reply. I think you've thought about this issue very comprehensively and given me some inspiration. Perhaps the above method can only be used if the initial geometrie is close to the desired geometrie and the orbitals order is the same. I'll reconsider it based on what I'm trying to solve in conjunction with your input. Thank you very much for your reply! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When performing CASCI method calculations:
“
myhf = mol.RHF().run()
cas_orb=[ ]
mycas = mcscf.CASCI(myhf,ncas,nelecas)
mo = mycas.sort_mo(cas_orb)
mycas.kernel(mo)
”
It can be calculated by following the active orbitals of my choice
But when running CASCI optimizations directly:
' mol_eq =mycas.Gradients().optimizer(solver='geomeTRIC').kernel()'
the optimization will be performed directly according to the automatically selected active orbitals of the program,
Even via ' mycas.mo_coeff = mo ' to specify orbitals ,and cannot be optimized according to the selected 'mycas.sort_mo (cas_orb)',
Excuse me, is there any way to achieve CASCI optimization for a specified range of orbitals?
Beta Was this translation helpful? Give feedback.
All reactions