Decision map f(x) over the two features
Encoding angles of the probe

Quantum Fidelity Kernel: Angle-Encoded Qubits and Kernel Ridge Classification (2D)

Encode two features into two qubits by rotation angles, measure how alike two encoded states are with the fidelity kernel and classify a 2D point set with kernel ridge regression. Compare a plain product encoding with an entangling encoding, change the data set, bandwidth, regularisation and label noise, and watch the decision surface and the Bloch-vector angles of a moving probe point. A Blender-built Bloch sphere and plate, with numerical checks built in.

Made with 🟠 Blender