Code for spectrum computations in Guo, K.; Godsil, C.; Myklebust, T.G.J.; "Quantum Walks on Generalized Quadrangles."