x-gate
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| x-gate [May 25, 2026 at 10:18] – Ivan Janevski | x-gate [May 25, 2026 at 10:21] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| $$ X = \begin{pmatrix}0 & 1\\ 1 & 0\end{pmatrix}$$ | $$ X = \begin{pmatrix}0 & 1\\ 1 & 0\end{pmatrix}$$ | ||
| - | Applying the X gate to the qubit $\lvert 0\rangle$ | + | The gate flips $\lvert 0\rangle$ |
| - | $$X = \begin{pmatrix}0 & 1\\1 & 0\end{pmatrix}$$ | + | On the Bloch sphere, it rotates the state by $\pi$ radians (180 degrees) around the X-axis. |
x-gate.1779704337.txt.gz · Last modified: by Ivan Janevski
