Course11110600426 lectures
Linear Algebra for Machine Learning and Quantum Computing
Prof. Ranveer Singh · IIT Indore
About
This course develops linear algebra with a clear focus on computation and applications in computer science. We build from vector spaces, inner products, and orthogonality to projections, least-squares problems, eigenvalues, spectral decompositions, and singular value decomposition (SVD). Using these tools, we study data matrices, covariance, principal component analysis (PCA), linear regression, and Markov chains with applications such as PageRank. In the final module, we introduce complex vector spaces, quantum states, basic quantum gates, and simple quantum circuits to show how linear algebra underlies both modern machine learning and quantum computing. The course emphasizes conceptual understanding through worked examples and applications, providing a solid foundation for further study in ML, data science, and quantum information.
Intended audience: B.Tech / M.Tech / M.Sc in CS
Prerequisites: Educational level: At least 1st year UG (or above) in CSE/IT/ECE/EE/Math.Mathematical background: Basic calculus, high-school algebra.
Lectures
Week 1
- Matrix product as linear combinations
- Linear dependence and bases
- Inner products and projections
- Projection onto subspaces and projection matrices
- Least squares problems, reflections, rotations
- Gram-Schmidt orthogonalization and QR decomposition
Week 2
- Four fundamental subspaces and their orthogonality
- Matrix rank and the rank-nullity theorem
- Gaussian elimination, pivots, and computing rank
- Matrix inverses and rank tests for linear systems
- Least-squares linear regression and normal equations
- Determinants, elimination, and invertibility
- Eigenvalues, eigenvectors, and the characteristic equation
Week 3
- Diagonalization using eigenvectors, matrix powers, and long-term behavior
- Symmetric matrices, spectral theorem, and orthogonal diagonalization
- Positive definite matrices, quadratic forms, Cholesky decomposition, and optimization
- Singular value decomposition: singular values, singular vectors, construction, and rank
- Principal component analysis: variance, covariance, projection, and dimensionality reduction
- PCA through SVD, low-rank approximation, image compression, and Eckart–Young theorem
- Random walks, Markov chains, stationary distributions, spectral mixing, and Monte Carlo simulation
Week 4
Syllabus and materials
At NPTEL, as the course publishes them.
Credits and licence
- Institution
- IIT Indore
- Department
- Mathematics
- Teacher
- Prof. Ranveer Singh
- Level
- Undergraduate
- Language
- English
- Subjects
- Mathematics
- Source
- NPTEL
- Licence
- CC BY-NC-SA, as NPTEL states it. Non-commercial use only. NPTEL's terms
- Attribution
- NPTEL states: "Distributed under Creative Commons Attribution-ShareAlike / CC BY - NC - SA", beside a BY-NC-SA badge. Coordinated by IIT Madras.
- Who can watch
- NPTEL gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed
More like this
Course
The Analytics Edge
35 lectures · Video
Course
Single Variable Calculus
35 lectures · Video
Course
Multivariable Calculus
35 lectures · Video