Text this: Unique factorization theorem for pure quantum states