Text this: Variational quantum algorithm with information sharing