Text this: Similarity among quantum-mechanical states