Skip to content

local entanglement entropy can be NaN #5

@jiangmi

Description

@jiangmi

This is due to the MC process sometimes leads to negative
w = 1.0d0 - P0%up(i) - P0%dn(i) + P0%up(i) *P0%dn(i)
so that
ln(w) = NaN
This even cannot be avoided by calculating w in DQMC_Phy_Avg stage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions