Rigidity of quantum algebras