On Connections between machine learning and quantum information processing