Skip to content

How to perform hf calculations and select orbitals at each step of CASCI optimization #2587

@XingXing09090909

Description

@XingXing09090909

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions