triqs.atom_diag.atom_diag.AtomDiagReal.cdag_matrix

AtomDiagReal.cdag_matrix()

Dispatched C++ function(s).

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

Get the matrix block of the creation operator \(\hat c^\dagger_i\) acting on subspace \(B\).

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

Parameters:
op_linear_indexint

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

sp_indexint

Source subspace index \(B\).

Returns:
ndarray[float, 2]

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