PairDiagSph: Generalization of the exact pairing diagonalization program for spherical systems

Xiao-Yu Liu,Chong Qi,Xin Guan,Zhong Liu
DOI: https://doi.org/10.1016/j.cpc.2021.107897
IF: 4.717
2021-06-01
Computer Physics Communications
Abstract:<p>We present an efficient program for the exact diagonalization solution of the pairing Hamiltonian in spherical systems with rotational invariance based on the SU(2) quasi-spin algebra. The basis vectors with quasi-spin symmetry considered are generated by using an iterative algorithm. Then the Hamiltonian matrix constructed on this basis is diagonalized with the Lanczos algorithm. All non-zero matrix elements of the Hamiltonian matrix are evaluated "on the fly" by the scattering operator and hash search acting on the basis vectors. The OpenMP parallel program thus developed, PairDiagSph, can efficiently calculate the ground-state eigenvalue and eigenvector of general spherical pairing Hamiltonians. Systems with dimension up to 10<sup>8</sup> can be calculated in few hours on standard desktop computers.</p><h3 class="u-h4 u-margin-m-top u-margin-xs-bottom">Program summary</h3><p><em>Program Title:</em> PairDiagSph.</p><p><em>CPC Library link to program files:</em> <a href="https://doi.org/10.17632/n54vr2kwx8.1">https://doi.org/10.17632/n54vr2kwx8.1</a></p><p><em>Code Ocean capsule:</em> <a href="https://codeocean.com/capsule/9159628">https://codeocean.com/capsule/9159628</a></p><p><em>Licensing provisions:</em> CC by NC 3.0.</p><p><em>Programming language:</em> Fortran 95.</p><p><em>Nature of problem:</em> The exact diagonalization of spherical pairing Hamiltonian can be achieved in the quasi-spin space.</p><p><em>Solution method:</em> The program generates the basis vectors via the adjacency excitation algorithm, and diagonalizes the spherical pairing Hamiltonian by the Lanczos + QR algorithm.</p><p><em>Additional comments including restrictions and unusual features:</em> The total number of spherical must be less than 64; The maximal dimension that can be handled is restricted by the local RAM capacity.</p>
physics, mathematical,computer science, interdisciplinary applications
What problem does this paper attempt to address?