Since X is a Hermitian matrix, it should be diagonalizable, and it will be clear from the eventual form of P that every real number can be an eigenvalue. This makes some of the mathematics subtle, since there is a separate eigenvector for every point in space.