Supervised Learning with Quantum Measurements