Text this: Predicting properties of quantum systems by regression on a quantum computer