This text covers both classical and quantum algorithm in machine learning domain. The first part mainly covers quantum algorithms and its hardware limitations. The layered photonic crystal architecture simulated for testing hardware constraints. Second part covers Expert Systems and tractable machine learning. It also covers machine learning algorithms along with data integration at scale and Symbol Algebra.