Source: https://www.psifabert.com/Diagonalisation.pdf