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.ImpuritySolveron 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 entriesdelta(two-component shift, default[0.1, 0.1]) andn_s(number of auxiliary spins,1or2; default2) are read;n_sis written back intosolve_params.
- Returns:
- numpy.ndarray
The \(\alpha\)-tensor of shape
(n_terms + n_D0, 2, 2, n_s), broadcast to all MPI ranks.