Text this: Harnessing symmetry-protected topological order for quantum memories