Quantum Computing, Quantum Algorithms, Quantum Machine Learning, Code, Artificial Intelligence.
yi​ is the class labels (usually +1 or −1), and w⋅xi​ + b is the decision function. The optimization objective of an SVM can be described as minimizing ∥w∥ subject to certain constraints. The margin is given by 2/∥w∥​, so minimizing ∥w∥ is equivalent to maximizing the margin between the nearest