@@ -1861,19 +1861,19 @@ <h2 id="what-will-we-need-in-the-case-of-a-quantum-computer" class="anchor">What
18611861<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
18621862< p > We will have to translate the classical data point \(\vec{x}\)
18631863into a quantum datapoint \(\vert \Phi{(\vec{x})} \rangle\). This can
1864- be achieved by a circuit \( \mathcal{U}\_\ {\Phi(\vec{x})\ } \vert 0\rangle \).
1864+ be achieved by a circuit \( \mathcal{U}_ {\Phi(\vec{x})} \vert 0\rangle \).
18651865</ p >
18661866
1867- < p > Here \(\Phi()\) could be any classical function applied
1868- on the classical data \(\vec{x}\).
1867+ < p > Here \( \Phi() \) could be any classical function applied
1868+ on the classical data \( \vec{x} \).
18691869</ p >
18701870</ div >
18711871</ div >
18721872
18731873< div class ="panel panel-default ">
18741874< div class ="panel-body ">
18751875<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
1876- < p > We need a parameterized quantum circuit \(W( \theta ) \) that
1876+ < p > We need a parameterized quantum circuit \( W( \theta) \) that
18771877processes the data in a way that in the end we
18781878can apply a measurement that returns a classical value \(-1\) or
18791879\(1\) for each classical input \(\vec{x}\) that indentifies the label
@@ -1887,16 +1887,23 @@ <h2 id="what-will-we-need-in-the-case-of-a-quantum-computer" class="anchor">What
18871887< h2 id ="the-most-general-ansatz " class ="anchor "> The most general ansatz </ h2 >
18881888
18891889< p > Following these steps we can define an ansatz for this kind of problem
1890- which is \(W(\theta) \mathcal{U}_{\Phi}(\vec{x}) \vert 0 \rangle\).
1890+ which is
18911891</ p >
1892+ $$
1893+ W(\theta) \mathcal{U}_{\Phi}(\vec{x}) \vert 0 \rangle.
1894+ $$
18921895
1893- < p > These kind of ansatz are called quantum variational circuits.</ p >
1896+ < p > These kind of ansatzes are called quantum variational circuits.</ p >
18941897
18951898<!-- !split -->
18961899< h2 id ="quantum-svm " class ="anchor "> Quantum SVM </ h2 >
18971900
1898- < p > In the case of a quantum SVM we will only used the quantum feature maps
1899- \(\mathcal{U}_{\Phi(\vec{x})}\) to translate the classical data into
1901+ < p > In the case of a quantum SVM we will only use the quantum feature maps</ p >
1902+ $$
1903+ \mathcal{U}_{\Phi(\vec{x})},
1904+ $$
1905+
1906+ < p > to translate the classical data into
19001907quantum states and build the Kernel of the SVM out of these quantum
19011908states. After calculating the Kernel matrix on the quantum computer we
19021909can train the Quantum SVM the same way as the classical SVM.
@@ -1907,10 +1914,19 @@ <h2 id="defining-the-quantum-kernel" class="anchor">Defining the Quantum Kernel
19071914
19081915< p > The idea of the quantum kernel is exactly the same as in the classical
19091916case. We take the inner product
1910- \(K(\vec{x}, \vec{z}) = \vert \langle \Phi (\vec{x}) \vert \Phi(\vec{z}) \rangle \vert^2 = \langle 0^n \vert \mathcal{U}_{\Phi(\vec{x})}^{t} \mathcal{U}_{\Phi(\vec{z})} \vert 0^n \rangle\),
1911- but now with the quantum feature maps \(\mathcal{U}_{\Phi(\vec{x})}\).
1912- The idea is that if we choose a quantum feature maps that is not easy to
1913- simulate with a classical computer we might obtain a quantum advantage.
1917+ </ p >
1918+ $$
1919+ K(\vec{x}, \vec{z}) = \vert \langle \Phi (\vec{x}) \vert \Phi(\vec{z}) \rangle \vert^2 = \langle 0^n \vert \mathcal{U}_{\Phi(\vec{x})}^{t} \mathcal{U}_{\Phi(\vec{z})} \vert 0^n \rangle,
1920+ $$
1921+
1922+ < p > but now with the quantum feature maps</ p >
1923+ $$
1924+ \mathcal{U}_{\Phi(\vec{x})}.
1925+ $$
1926+
1927+ < p > The idea is that if we choose a quantum feature maps that is not easy
1928+ to simulate with a classical computer we might obtain a quantum
1929+ advantage.
19141930</ p >
19151931
19161932<!-- !split -->
0 commit comments