Text this: Projected cooling algorithm for quantum computation