The variational quantum eigensolver (or VQE), first developed by Peruzzo et al. (Nature Comm.5, 4213 (2014)), has received significant attention from the research community in recent years. It uses the variational principle to compute the ground state energy of a Hamiltonian, a problem that is central to quantum chemistry and condensed matter physics. Conventional