QUBO transformation using Eigenvalue Decomposition