Abstract
We have developed a technique to replace hashing in implementing the Lanczös method for exact diagonalization of quantum-spin models that enables us to carry out numerical studies on substantially larger lattices than previously studied. We describe the algorithm in detail and present results for the ground-state energy, the first-excited-state energy, and the spin-spin correlations on various finite lattices for spins S=1/2, 1, 3/2, and 2. Results for an infinite system are obtained by extrapolation. We also discuss the generalization of our method to other models.