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

Change convention for LSWT dynamical matrix #349

Merged
merged 2 commits into from
Jan 12, 2025
Merged

Change convention for LSWT dynamical matrix #349

merged 2 commits into from
Jan 12, 2025

Conversation

kbarros
Copy link
Member

@kbarros kbarros commented Jan 6, 2025

With this PR, the dynamical matrix $D$ is rescaled by a factor of 2 so that the quadratic bosonic Hamiltonian can be written,

$$ \mathcal{H} = \frac{1}{2} \Psi^\dagger D \Psi,$$

with $\Psi$ the HP bosons in Nambu spinor form. In this updated convention, the positive eigenvalues of $\tilde{I} D$ are directly the magnon excitation energies.

Apart from aesthetics, there is one real behavioral change in this PR: The effective LSWT regularization strength (with default of 1e-8) is now weakened by a factor of 1/2. That is, the dynamical matrix is now shifted by regularization rather than 2 * regularization. Consequently, the reference data for some "golden" tests must be updated. This modified regularization appears in the final commit of this branch.

Copy link
Member

@ddahlbom ddahlbom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To my eye, this all looks good.

Simplify interface for multiplication by dynamical matrix.
@kbarros kbarros merged commit a32bd3f into main Jan 12, 2025
4 checks passed
@kbarros kbarros deleted the mul branch January 12, 2025 19:41
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

Successfully merging this pull request may close these issues.

2 participants