Brilliant
Vectors and Matrices
Master vectors, matrices, transformations, and eigenvalues, the essential mathematical foundation for quantum computing, machine learning, and physics.
Classical machine learning and quantum computing intersect directly in quantum ML (QML). Understanding the ML fundamentals, gradient descent, loss functions, kernel methods, makes variational quantum circuits and hybrid models much easier to grasp. Here is what connects the two fields.
Most quantum computing does not require machine learning knowledge. Grover's algorithm, Shor's algorithm, quantum error correction, and the gate model of computation are all independent of ML. You can learn quantum computing from scratch without touching ML.
The exception is quantum machine learning. QML explicitly applies quantum circuits as trainable models, and the training process borrows almost everything from classical ML: a loss function to minimize, gradient-based optimization to update parameters, a training loop, and a validation strategy. If you want to understand variational quantum circuits at more than a surface level, classical ML fundamentals are the right prerequisite.
You do not need to master all of classical ML before starting QML. These are the specific concepts that appear directly in quantum ML research and courses.
The standard training algorithm for variational quantum circuits (VQCs). Circuit parameters (rotation angles) are updated iteratively to minimize a loss function. Understanding how gradient descent converges, how learning rate affects training, and what a local minimum is transfers directly to VQC training.
VQCs are trained by minimizing a loss function, just like neural networks. The loss measures how far the circuit's output is from the desired output. In QML, the loss is often computed from the expectation value of a quantum observable measured on the output state.
Classical backpropagation computes gradients through a network. For quantum circuits, the parameter shift rule plays an analogous role, it computes the gradient of a circuit output with respect to its parameters by running the circuit twice with shifted parameters. PennyLane handles this automatically.
Kernel functions measure similarity between data points. Quantum computers can evaluate certain kernel functions that are believed to be hard to compute classically, though a practical advantage on real-world data has not been demonstrated. Quantum kernel methods use these quantum-computed kernels to power SVMs and other kernel-based classifiers. Understanding what a kernel function is and how SVMs use them is the key prerequisite.
Quantum neural networks (QNNs) are layered VQCs designed to mimic classical neural networks. Understanding what layers, weights, and activation functions do in classical networks makes the analogies clearer, though the quantum versions have significant differences, including the barren plateau problem.
QML models can overfit, just like classical models. Understanding the bias-variance tradeoff, regularization, and cross-validation matters when evaluating QML results. Many QML benchmark results in papers are on toy datasets, understanding statistical rigor is essential for reading the literature critically.
Both fields are built on linear algebra. The overlap is not coincidental, quantum states are vectors, quantum gates are matrices, and the tensor product structure of multi-qubit systems is the same mathematical framework used in ML for multi-dimensional data.
Courses covering the math and ML prerequisites that underpin quantum machine learning.
Brilliant
Master vectors, matrices, transformations, and eigenvalues, the essential mathematical foundation for quantum computing, machine learning, and physics.
Brilliant
Build intuition for probability from first principles, essential for understanding quantum measurement, Born's rule, and why quantum algorithms work.
QUANTUM CIRCUITS
Prof. Elias Fernandez-Combarro Alvarez, University of Oviedo
CERN openlab's free lecture series on quantum computing covering qubits, quantum algorithms, QAOA, VQE, and quantum machine learning. Taught by a University of Oviedo professor with no physics background required.
QUANTUM ALGORITHM DESIGN
Classiq engineering and research team
Classiq's free library of hands-on quantum computing tutorials covering algorithm design, quantum machine learning, and optimization using the high-level Qmod language. No circuit assembly required.
Coursera
École Polytechnique / Alain Aspect, Michel Brune
École Polytechnique's acclaimed introduction to quantum optics, co-taught by Nobel laureate Alain Aspect. Learn how light is quantized, how to describe quantum states of light, and how single photons exhibit wave-particle duality in real experiments.
edX
Purdue University / Pramey Upadhyaya
The first course in Purdue University's Applied Quantum Computing series. Teaches the postulates of quantum mechanics and how they map onto present-day quantum information processing models including computation, simulation, optimization, and machine learning.
Udemy
Kumaresan Ramanathan
Udemy's bestselling quantum computing course, created by Kumaresan Ramanathan. Builds from quantum physics fundamentals to quantum programming with IBM Qiskit and Microsoft Q#, running programs on real quantum computers, plus an introduction to quantum machine learning.
edX
Eliška Greplová (QuTech, TU Delft)
Learn how to deploy artificial intelligence to control and calibrate semiconductor quantum computing chips, an advanced course combining ML and quantum hardware.
IBM Quantum
Dr. Christa Zoufal, Julien Gacon, Dr. David Sutter (IBM Quantum)
Free openHPI course on quantum machine learning developed with IBM Quantum Research. Covers variational quantum classifiers, quantum kernel methods, QGANs, and hands-on implementation in Qiskit.