triqs_modest.module.Embedding.replace

Embedding.replace()

Function dispatched to the following (C++) functions:

[1] (imp_idx_to_remove: int, imp_idx_to_replace_with: int)
  -> Embedding

Replaces one impurity in the embedding table ψ.

Replaces the impurity solver corresponding to imp_idx_to with the impurity solver at imp_idx_from and updates the underlying table ψ.


Parameters
imp_idx_to_remove:

the index of the impurity solver to be replaced.

imp_idx_to_replace_with:

the index of the impurity solver that will replace imp_idx_to.


Returns

a new embedding with the updated ψ map.