Applications of classical and quantum machine learning for quantum problems