This pull request adds a new method PomerolED.chi3_inu_inup() that can be called as follows.
ed = PomerolED(index_converter)
ed.diagonalize(H)
params = {}
# Block structure of the susceptibility to be computed
params['gf_struct'] = [('up', 2), ('dn', 2)]
# Inverse temperature
params['beta'] = 10.0
# Compute all \chi^3 blocks except for ("dn", "dn")
# When this parameter is omitted, all blocks are computed
params['blocks'] = set([("up", "up"), ("up", "dn"), ("dn", "up")])
# Number of *positive* fermionic Matsubara frequencies
params['n_inu'] = 50
# \chi^3 channel, one of 'PP', 'PH' and 'xPH'
params['channel'] = 'PH'
# Order of block indices in the definition of \chi^3, one of 'AABB' and 'ABBA'
params['block_order'] = 'AABB'
chi3 = ed.chi3_inu_inup(**params)
@dominikkiese, @Wentzell Can you suggest any changes and/or additions?
This pull request adds a new method
PomerolED.chi3_inu_inup()
that can be called as follows.@dominikkiese, @Wentzell Can you suggest any changes and/or additions?