Site Tools


x-gate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
x-gate [May 25, 2026 at 10:20] Ivan Janevskix-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}$$
  
-The gate flips $\lvert 0\rangle$ to $\lvert 1\rangle$, and $\$ to $\lvert 0\rangle$, which is why it's called the quantum equivalent of NOT.+The gate flips $\lvert 0\rangle$ to $\lvert 1\rangle$, and $\lvert 1\rangle$ to $\lvert 0\rangle$, which is why it's called the quantum equivalent of NOT.
  
 On the Bloch sphere, it rotates the state by $\pi$ radians (180 degrees) around the X-axis. On the Bloch sphere, it rotates the state by $\pi$ radians (180 degrees) around the X-axis.
x-gate.txt · Last modified: by Ivan Janevski