We present a program for solving exactly the general pairing Hamiltonian based on diagonalization. The program generates the seniority-zero shell-model-like basis vectors via the ‘01’ inversion algorithm. The Hamiltonian matrix is constructed in this seniority-zero space. The program evaluates all non-zero elements of the Hamiltonian matrix “on the fly” using the scattering operator and a search algorithm. The matrix is diagonalized by using the iterative Lanczos algorithm. The OpenMP parallel program thus developed, PairDiag, can efficiently calculate the ground-state eigenvalue and eigenvector of the general pairing Hamiltonian for both the even-mass and the odd-mass system. The program is packaged in a Fortran module, which makes it easy to use the program to replace the BCS approximation in standard self-consistent mean field calculations. For systems with dimension around 108, the calculation can be done within hours on standard desktop computers. Program Title: PairDiag. Program Files doi: https://doi.org/10.17632/dzzspfszsh.1 Licensing provisions: CC by NC 3.0. Programming language: Fortran 95. Nature of problem: The numerically exact solution of general pairing Hamiltonian can be solved by diagonalization in configuration spaces of fixed seniority. Solution method: The program constructs the seniority-zero space by the ‘01’ inversion algorithm, and diagonalizes the general pairing Hamiltonian by the Lanczos plus QR algorithm. Restrictions: The total number of orbits involved must be less than 63, and the dimension that can be calculated is restricted by the local RAM condition.
We present a program for solving exactly the general pairing Hamiltonian based on diagonalization. The program generates the seniority-zero shell-model-like basis vectors via the ‘01’ inversion algorithm. The Hamiltonian matrix is constructed in this seniority-zero space. The program evaluates all non-zero elements of the Hamiltonian matrix “on the fly” using the scattering operator and a search algorithm. The matrix is diagonalized by using the iterative Lanczos algorithm. The OpenMP parallel program thus developed, PairDiag, can efficiently calculate the ground-state eigenvalue and eigenvector of the general pairing Hamiltonian for both the even-mass and the odd-mass system. The program is packaged in a Fortran module, which makes it easy to use the program to replace the BCS approximation in standard self-consistent mean field calculations. For systems with dimension around 108, the calculation can be done within hours on standard desktop computers. Program Title: PairDiag. Program Files doi: https://doi.org/10.17632/dzzspfszsh.1 Licensing provisions: CC by NC 3.0. Programming language: Fortran 95. Nature of problem: The numerically exact solution of general pairing Hamiltonian can be solved by diagonalization in configuration spaces of fixed seniority. Solution method: The program constructs the seniority-zero space by the ‘01’ inversion algorithm, and diagonalizes the general pairing Hamiltonian by the Lanczos plus QR algorithm. Restrictions: The total number of orbits involved must be less than 63, and the dimension that can be calculated is restricted by the local RAM condition.
We propose a distinct numerical approach to effectively solve the problem of partial diagonalization of the super-large-scale quantum electronic Hamiltonian matrices. The key ingredients of our scheme are the new method for arranging the basis vectors in the computer's RAM and the algorithm allowing not to store a matrix in RAM, but to regenerate it on-the-fly during diagonalization procedure. This scheme was implemented in the program, solving the Anderson impurity model in the framework of dynamical mean-field theory (DMFT). The DMFT equations for electronic Hamiltonian with 18 effective orbitals that corresponds to the matrix with the dimension of 2.4 * 10^9 were solved on the distributed memory computational cluster.
We develop a program package named QS3 based on the (thick-restart) Lanczos method for analyzing spin-1/2 XXZ-type quantum spin models on spatially uniform/non-uniform lattices near fully polarized states, which can be mapped to dilute hardcore Bose systems. All calculations in QS3, including eigenvalue problems, expectation values for one/two-point spin operators, and static/dynamical spin structure factors, are performed in the symmetry-adapted bases specified by the number N↓ of down spins and the wave number k associated with the translational symmetry without using the bit representation for specifying spin configurations. Because of these treatments, QS3 can support large-scale quantum systems containing more than 1000 sites with dilute N↓. We show the benchmark results of QS3 for the low-energy excitation dispersion of the isotropic Heisenberg model on the 10×10×10 cubic lattice, the static and dynamical spin structure factors of the isotropic Heisenberg model on the 10×10 square lattice, and the open-MP parallelization efficiency on the supercomputer (Ohtaka) based on AMD Epyc 7702 installed at the Institute for the Solid State Physics (ISSP). Theoretical backgrounds and the user interface of QS3 are also described. Program Title: QS3 CPC Library link to program files: https://doi.org/10.17632/yc6jytvf8v.1 Developer's repository link: https://github.com/QS-Cube/ED Licensing provisions: MIT Programming language: Fortran90 External routines/libraries: BLAS, LAPACK Nature of problem: Physical properties (such as total energy, magnetic moment, two-point spin correlation function, and dynamical structure factor) Solution method: Application software based on the full diagonalization method and the exact diagonalization method using the Lanczos and thick-restart Lanczos techniques for quantum spin S=1/2 models such as the XXZ model. Restrictions: Spin S=1/2 systems with U(1) symmetry. Unusual features: Massively large quantum spin systems with U(1) symmetry near the saturation field can be solved with or without considering translational symmetry, which is difficult to treat using standard exact diagonalization libraries with the bit representation for specifying spin configurations.
A method is described to construct the ground state of a general pairing Hamiltonian for a finite nuclear systemas a product of collective, real, distinct pairs. These are determined sequentially via an iterative variational procedure that resorts to diagonalizations of the Hamiltonian in restricted model spaces. Different applications of themethod are provided that include comparisonswith exact and projected BCS results. The quantities that are examined are correlation energies, occupation numbers and pair transfer matrix elements. The method is seen to work well leading, under some circumstances, to solutions that are basically exact.
We take the Bose-Hubbard model to illustrate exact diagonalization techniques in a pedagogical way. We follow the road of first generating all the basis vectors, then setting up the Hamiltonian matrix with respect to this basis, and finally using the Lanczos algorithm to solve low lying eigenstates and eigenvalues. Emphasis is placed on how to enumerate all the basis vectors and how to use the hashing trick to set up the Hamiltonian matrix or matrices corresponding to other quantities. Although our route is not necessarily the most efficient one in practice, the techniques and ideas introduced are quite general and may find use in many other problems.
Background: Ab initio many-body methods have been developed over the past ten years to address mid-mass nuclei. In their best current level of implementation, their accuracy is of the order of a few percent error on the ground-state correlation energy. Recently implemented variants of these methods are operating a breakthrough in the description of medium-mass open-shell nuclei at a polynomial computational cost while putting state-of-the-art models of internucleon interactions to the test.Purpose: As progress in the design of internucleon interactions is made, and as questions one wishes to answer are refined in connection with increasingly available experimental data, further efforts must be made to tailor many-body methods that can reach an even higher precision for an even larger number of observable quantum states or nuclei. The objective of the present work is to contribute to such a quest by designing and testing a new many-body scheme.Methods: We formulate a truncated configuration-interaction method that consists of diagonalizing the Hamiltonian in a highly truncated subspace of the total N-body Hilbert space. The reduced Hilbert space is generated via the particle-number projected BCS state along with projected seniority-zero two- and four-quasiparticle excitations. Furthermore, the extent by which the underlying BCS state breaks U(1) symmetry is optimized in the presence of the projected two- and four-quasiparticle excitations. This constitutes an extension of the so-called restricted variation after projection method in use within the frame of multireference energy density functional calculations. The quality of the newly designed method is tested against exact solutions of the so-called attractive pairing Hamiltonian problem.Results: By construction, the method reproduces exact results for N=2 and N=4. For N=(8,16,20), the error in the ground-state correlation energy is less than (0.006%, 0.1%, 0.15%) across the entire range of internucleon coupling defining the pairing Hamiltonian and driving the normal-to-superfluid quantum phase transition. The presently proposed method offers the advantage of automatic access to the low-lying spectroscopy, which it does with high accuracy.Conclusions: The numerical cost of the newly designed variational method is polynomial (N6) in system size. This method achieves unprecedented accuracy for the ground-state correlation energy, effective pairing gap, and one-body entropy as well as for the excitation energy of low-lying states of the attractive pairing Hamiltonian. This constitutes a sufficiently strong motivation to envision its application to realistic nuclear Hamiltonians in view of providing a complementary, accurate, and versatile ab initio description of mid-mass open-shell nuclei in the future.
The physics of strongly correlated materials poses one of the most challenging problems in condensed-matter sciences. Standard approximations applicable to wide classes of materials such as the local density approximation fail, due to the importance of the Coulomb repulsion between localized electrons. Instead, we resort to non-perturbative many-body methods. The calculations are, however, only feasible for rather small model systems. The full Hamiltonian of a real material is approximated by a model Hamiltonian comprising only the most important electronic degrees of freedom, while the effect of all other electrons is included in an average way by renormalizing the parameters. Realistic calculations of strongly correlated materials need to include sufficiently many of these electronic degrees of freedom. The new generation of massively parallel supercomputers allows for these realistic calculations. However, exploiting their computational power requires newly devised algorithms. As a solver we use the Lanczos method, which needs the full many-body state of the correlated system. It is thus limited by the available main memory. The foremost problem for a distributed-memory implementation is that the multiplication of the Hamiltonian to the many-body state leads to highly non-local memory access patterns. A simple yet important observation leads to an efficient solution: in the kinetic term of the Hamiltonian the electron-spin is conserved. Thus, writing the many-body vector as a matrix v(iup,idn), where the indices label spin-configurations, we find that the hopping term only connects vector elements that differ in one index. Hence, storing entire slices v(iup,:) on one node, the kinetic term for the spin-down electrons is local to that process. After transposing v, the same is true for the hopping of the spin-up electrons. With an efficient matrix transpose, implemented via MPI collectives, we thus obtain a version of the Lanczos method that efficiently well on JUBL, Jülich's Blue Gene/L. Using the code we treated two-orbital Hubbard Models which show interesting Mott-band insulator transitions. Kohn's criterium which determines the phase of a system by ground-state properties alone, namely the response of the ground-state energies to a vector potential, was employed. This vector potential can be equivalently regarded as a change in boundary conditions, requiring complex wave vectors. We found that half-filled systems become metallic in the region between a band and Mott insulating phase. To extrapolate to infinite system sizes and therefore getting access to an arbitrarily high resolution in reciprocal space, we use cluster perturbation theory (CPT). It works by diagonalizing a finite cluster exactly and then treating the hopping between identical clusters perturbatively in strong coupling perturbation theory. This leads to an effectively infinite chain. Due to our efficient Lanczos implementation it is possible to calculate relatively large clusters, minimizing finite-size effects. The combination of our Lanczos code and CPT allowed for a treatment of the the organic metal TTF-TCNQ. We were able to solve a long-standing problem in the interpretation of its experimental spectra. Being an interesting one-dimensional metal TTF-TCNQ has been studied thoroughly for more than 30 years. Theoretical estimates as well as experimental measurements suggest values for the parameters of the Hubbard model t and U. With these values Hubbard model calculations show qualitatively the same features as APRES experiments, namely the signatures of spin-charge separation at the Gamma-point. But in order to fit the experimental data to the numerical calculations t has to be doubled, which translates into a broadening of the spectra. This ad-hoc adjustment is not only unsatisfactory but also the temperature dependence of the spectral function is incorrectly reproduced. We resolved this problem by properly including nearest-neighbor Coulomb interactions. Recent DFT calculations show that indeed the commonly used values of t and U are correct. But Coulomb interactions between electrons on neighboring sites are also significant and must not be neglected. Thus, we studied the effect of the next-neighbor interaction parameter V being at about U/2. Including V in our Lanczos calculations for obtaining the angular-integrated spectral function shows that its effect is to broaden the spectra, comparable to increasing the value of t. Moreover, we found that doubling t indeed mimics the effect of Vapprox U/2. Surprisingly, the broadening of the spectrum as a result of V can be understood in first-order Rayleigh-Schrödinger perturbation theory.