qsimulate-open / bagel

Brilliantly Advanced General Electronic-structure Library
GNU General Public License v3.0
96 stars 43 forks source link

The correct signs at determinants in CASSCF #283

Closed valievrashid closed 5 months ago

valievrashid commented 5 months ago

Hello!

The BAGEL shows that the singlet as

I know the singlet is unsymmetric combination of 22ab and 22ba, but here I see the same sign at these two determinants. The same for ba22 and ab22.

I try to build the wavefunction with changing the signs as

Pshi=-0.3770972097[2.22]+ 0.3769508540[22.2]- 0.3416597386[22ab-22ba]-0.3389500020[ ab22- ba22].

Is it correct? I understand the true signs respect to each determinants are very important to calculate the matrix elements using this wavefunction.

shiozaki commented 5 months ago

In Bagel the determinants are represented as (alpha electrons)(beta electrons) in this order. So 22ab is (1,2,3)(1,2,4), 22ba is (1,2,4)(1,2,3). The coefficients are consistent with this convention. Your expectation of sign is probably coming from the fact that you have a different ordering of electrons in your mind.

(sorry actually it may be that it is beta first and alpha second… although it should not matter in this case. anyhow hope this makes easy for you to understand).

valievrashid commented 5 months ago

Many thanks! Now I understand!