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

Documentation for SquaredPhi Hamiltonian shows an incorrect expression #156

Open
mortele opened this issue Feb 9, 2022 · 0 comments
Open
Labels
documentation Improvements or additions to documentation invalid This doesn't seem right

Comments

@mortele
Copy link
Member

mortele commented Feb 9, 2022

The derived expression for the SquaredPhi Hamiltonian in terms of the deviations dϕ=ρ-ϕ from the average density ρ in the documentation is incorrect, should be

    .. math::

        w[\\tilde\\phi] = \\frac{1}{2\\kappa\\rho_0}
            \\left(
                -2N_k\\rho_0\\left[
                    \\sum_k \\mathrm{d}\\tilde\\phi_k
                \\right]
                +
                N_k^2\\rho_0^2
                +
                \\sum_k \\mathrm{d}\\tilde\\phi_k^2
                +
                2\\sum_{k\\not=l}
                    \\mathrm{d}\\tilde\\phi_k \\mathrm{d}\\tilde\\phi_l
            \\right),
@mortele mortele added documentation Improvements or additions to documentation invalid This doesn't seem right labels Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant