Text this: Quantum approximate optimization for hard problems in linear algebra