{'fraction_non_alphanumeric': 0.01888162672476398, 'fraction_numerical': 0.0, 'mean_word_length': 5.625, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Multi-state effective Hamiltonian and size-consistency corrections in stochastic configuration interactions.

Model space quantum Monte Carlo (MSQMC) is an extension of full configuration interaction QMC that allows us to calculate quasi-degenerate and excited electronic states by sampling the effective Hamiltonian in the model space. We introduce a novel algorithm based on the state-selective partitioning for the effective Hamiltonian using left eigenvectors to calculate several electronic states simultaneously at much less computational cost than the original MSQMC with the energy-dependent partitioning. The sampling of walkers in MSQMC is analyzed in the single reference limit using a stochastic algorithm for higher-order perturbation energies by the analogy of the deterministic case utilizing a full configuration interaction program. We further develop size-consistency corrections of the initiator adaptation (i-MSQMC) in three different ways, i.e., the coupled electron pair approximation, a posteriori, and second-order perturbative corrections. It is clearly demonstrated that most of the initiator error is originating from the deficiency of proper scaling of correlation energy due to its truncated CI nature of the initiator approximation and that the greater part of the error can be recovered by the size-consistency corrections developed in this work.