risb.embedding.dummy module

Embedding solver that acts as a copy of another solver without calculating anything.

class risb.embedding.dummy.EmbeddingDummy(embedding, rotations=None)[source]

Bases: object

Dummy impurity solver.

Does not solve anything and instead references variables of another embedding solver. This is useful when some inequivalent clusters are the same up to rotations, so only a single impurity problem has to be solved and then the single-particle matrices are rotated into the relevant basis.

Parameters:
  • embedding (class) – The embedding solver class to reference.

  • rotations (list[callable], optional) – A list of rotation functions to apply to matrices.

get_rho_c(bl)[source]
get_rho_cf(bl)[source]
get_rho_f(bl)[source]
overlap(Op, force_real=True)[source]
set_h_emb(*args, **kwargs)[source]
solve(*args, **kwargs)[source]