triqs.atom_diag.atom_diag.AtomDiagReal.c_matrix

AtomDiagReal.c_matrix()

Dispatched C++ function(s).

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

Get the matrix block of the annihilation operator \(\hat c_i\) acting on subspace \(B\).

The returned matrix is the representation of \(\hat c_i\) in the eigenbasis of \(\hat H\), i.e. \(\bigl[\hat c_i\bigr]_{B' \leftarrow B}\), with shape \(\dim(B') \times \dim(B)\) (not necessarily square).

Parameters:
op_linear_indexint

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

sp_indexint

Source subspace index \(B\).

Returns:
ndarray[float, 2]

Matrix block of the annihilation operator from subspace \(B\) to subspace \(B'\).