Quantum algorithms for generator coordinate methods