{"id":"arxiv/2606.02169","url":"https://arxiv.org/abs/2606.02169","tags":["quant-ph","physics.comp-ph"],"score":0,"title":"Spin Hamiltonian as Matrix-Free Linear Map","domain":"quant-ph","source":"arxiv","authors":["Aditya Dev"],"reviews":0,"subject":"quant-ph","summary":"We present an algorithm that computes the action of a generic spin Hamiltonian on a state vector on the fly, entirely avoiding explicit matrix assembly. This is achieved through mixed-radix indexing of the full tensor-product basis, which translates local spin operations into simple integer offsets. The result is an explicit framework for evaluating single- and two-site terms across arbitrary spin lattices, including mixed-spin systems. Our construction bridges the basis-indexing logic familiar from exact diagonalization with the matrix-free state-update philosophy of address-based…","category":"research","comments":0,"disputed":false,"division":"physics","mentions":0,"discussed":0,"published":"2026-06-01","reactions":{}}