triqs.atom_diag.atom_diag.AtomDiagReal.c_connection

AtomDiagReal.c_connection()

Dispatched C++ function(s).

[1] (op_linear_index: int, sp_index: int)
  -> int

Get the target subspace \(B'\) of the annihilation operator \(\hat c_i\) acting on subspace \(B\).

\[\hat c_i\, S_B \subseteq S_{B'} \; ,\]

with \(B' = -1\) if \(\hat c_i\) annihilates \(B\). The operator \(\hat c_i\) is identified by its linear index \(i\) in the fundamental operator set provided at construction.

Parameters:
op_linear_indexint

Linear index \(i\) of the annihilation operator.

sp_indexint

Source subspace index \(B\).

Returns:
int

Target subspace index \(B'\), or \(-1\) if the operator annihilates the source subspace.