The generalized eigenvalue (GE) problems are of particular importance in various areas science engineering and machine learning. We present a variational quantum algorithm for finding the desired GE problem, $\mathcal{A}|\psi\rangle=\lambda\mathcal{B}|\psi\rangle$, by choosing suitable loss functions. Our approach imposes superposition trial state obtained eigenvectors with respect to weighting...