Skip to content

In sample_slater, sample holes instead of particles when filling is greater than half #533

@kevinsung

Description

@kevinsung

When the number of particles exceeds half the number of orbitals, we can improve the performance of ffsim.sample_slater by sampling holes instead of particles. The running time at 3/4 filling should be the same as at 1/4 filling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions