triqs_ctint.solver.Solver.find_alpha_from_HF_solver

Solver.find_alpha_from_HF_solver(solve_params)[source]

Determine the \(\alpha\)-tensor from a self-consistent Hartree-Fock solution.

Runs triqs_hartree_fock.ImpuritySolver on the same DLR mesh as the CT-INT solver to obtain the self-consistent Green’s function \(G(i\omega)\) and its density matrix \(\rho\). The \(\alpha\)-tensor is built from the matrix elements of \(\rho\), with a \(\delta\)-shift applied per auxiliary-spin component. If a previous solve is available, its \(\alpha\)-tensor warm-starts the Hartree-Fock self-energy.

Parameters:
solve_paramsdict

The solve parameters. Must contain h_int, the interaction Hamiltonian \(\hat H_\mathrm{int}\). The entries delta (two-component shift, default [0.1, 0.1]) and n_s (number of auxiliary spins, 1 or 2; default 2) are read; n_s is written back into solve_params.

Returns:
numpy.ndarray

The \(\alpha\)-tensor of shape (n_terms + n_D0, 2, 2, n_s), broadcast to all MPI ranks.