Diagonalization of the Heun-Askey-Wilson operator, Leonard pairs and the algebraic Bethe ansatz - Baseilhac, Pascal; Pimenta, Rodrigo Alves (Nuclear Physics B, 2019)