You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assumes that den-den term appear only directly between two blocks of the fundamental operator set, i.e. up and down. There is no room for a structure like [('up_0', 1),('up_1', 1),('dn_0', 1),('dn_1', 1)] , where the density term is coupling different blocks. This should be made possible, and is possible in the TPRF hartree solver by converting the hint to a general U tensor with the function: get_rpa_tensor.
edit: see correction below. Code works correctly.
The text was updated successfully, but these errors were encountered:
I have to correct my issue. The code works as expected. It only complains and triggers the assert, when the block structure of the interaction Hamiltonian would create contributions to Sigma that are not captures by its block structure.
TODO: improve assert message.
This part of the code:
assumes that den-den term appear only directly between two blocks of the fundamental operator set, i.e. up and down. There is no room for a structure like
[('up_0', 1),('up_1', 1),('dn_0', 1),('dn_1', 1)]
, where the density term is coupling different blocks. This should be made possible, and is possible in the TPRF hartree solver by converting the hint to a general U tensor with the function:get_rpa_tensor
.edit: see correction below. Code works correctly.
The text was updated successfully, but these errors were encountered: