For indistinguishable particles, the order of appearance in the configuration does not matter (hence the Slater determinant). At the moment, when generating matrix elements, EnergyExpressions.jl does not take this into account. In the examples below, the matrix elements between configuration a and each of the other configurations should be equal.
using EnergyExpressions
h = OneBodyHamiltonian() + CoulombInteraction()
a = SlaterDeterminant([:a, :b])
b = SlaterDeterminant([:b, :c])
c = SlaterDeterminant([:c, :b])
Matrix(Matrix(h, [a, b, c]))
For indistinguishable particles, the order of appearance in the configuration does not matter (hence the Slater determinant). At the moment, when generating matrix elements, EnergyExpressions.jl does not take this into account. In the examples below, the matrix elements between configuration
a
and each of the other configurations should be equal.