Open source variational quantum eigensolver extension of the quantum learning machine for quantum chemistry