[math]|\psi\rangle = \alpha|0\rangle + \beta|1\rangle[/math]
Example: [math]|\psi\rangle = \frac{1}{\sqrt{2}}|0\rangle + \frac{1}{\sqrt{2}}|1\rangle[/math]
This represents an equal superposition of |0⟩ and |1⟩ states.
[math]|\Psi\rangle = \frac{1}{\sqrt{2}}(|00\rangle + |11\rangle)[/math]
Example: [math]|\Psi\rangle = \frac{1}{\sqrt{2}}\begin{pmatrix}1\\0\\0\\1\end{pmatrix}[/math]
This is a two-qubit entangled state.
[math]H = \frac{1}{\sqrt{2}}\begin{pmatrix}1 & 1\\1 & -1\end{pmatrix}[/math]
Example: Applying H to |0⟩: [math]H|0\rangle = \frac{1}{\sqrt{2}}\begin{pmatrix}1 & 1\\1 & -1\end{pmatrix}\begin{pmatrix}1\\0\end{pmatrix} = \frac{1}{\sqrt{2}}\begin{pmatrix}1\\1\end{pmatrix}[/math]
[math]U^\dagger U = UU^\dagger = I[/math]
Example: For the Pauli-X gate: [math]X = \begin{pmatrix}0 & 1\\1 & 0\end{pmatrix}[/math] [math]X^\dagger X = \begin{pmatrix}0 & 1\\1 & 0\end{pmatrix}\begin{pmatrix}0 & 1\\1 & 0\end{pmatrix} = \begin{pmatrix}1 & 0\\0 & 1\end{pmatrix} = I[/math]
[math]x = \begin{pmatrix}a\\b\end{pmatrix} = \begin{pmatrix}\frac{3}{5}\\\frac{4}{5}\end{pmatrix}[/math]
Example: Encoding as a quantum state: [math]|\psi\rangle = a|0\rangle + b|1\rangle = \frac{3}{5}|0\rangle + \frac{4}{5}|1\rangle[/math]
⚠️ LLM-generated content notice: Parts of this page may have been created or edited with the assistance of a large language model (LLM). The prompts that have been used might be on the page itself, the discussion page or in straight forward cases the prompt was just "Write a mediawiki page on X" with X being the page name. While the content has been reviewed it might still not be accurate or error-free. at the end"