Tag quantum machine learning