Unsupervised classification of quantum data