Applications of machine learning for solving complex quantum problems