Thus, the matrix element only depends on the two-electron integrals involving the differing orbitals, hence it only depends on the excitation, but not on the starting determinant, D i . This allows the following approximate heat bath excitation generation: starting from a determinant D i , two particles I, J are selected; next, two indices A, B are drawn for the holes from a precalculated probability distribution with probability given by: