Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small problem in "diagonalise" of the Pair-state basis calculations #90

Open
linxiaodong-lom opened this issue Nov 10, 2021 · 0 comments

Comments

@linxiaodong-lom
Copy link

linxiaodong-lom commented Nov 10, 2021

Hi, Thank you for your outstanding work. There may be small problem in "diagonalise" of the Pair-state basis calculations.

When sortEigenvectors=True,It doesn't adiabatically changing eigenstate because the eigenstateDetuning is unchanged and I think when calculate the interaction . It may be more accurate to start from the far away. So simplily change the self.r = np.sort(rangeR) to self.r = np.sort(rangeR)[::-1]' and add 'indexadiabatically = sh.index(max(sh)) eigenstateDetuning = ev[indexadiabatically] * 1e9 will solve the problem.

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

No branches or pull requests

1 participant