Structural risk minimization for quantum linear classifiers