vibeqc.solvers.build_hamiltonian_matrix_unrestricted¶
- vibeqc.solvers.build_hamiltonian_matrix_unrestricted(det_list, h1e, h2e_phys)[source]¶
Build the full CI Hamiltonian matrix in the unrestricted determinant basis.
Uses a connection map to avoid O(ndet²) all-pairs iteration — only computes matrix elements for determinants connected by ≤ 2 excitations.