i-gate
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| i-gate [May 25, 2026 at 10:14] – Ivan Janevski | i-gate [June 15, 2026 at 15:22] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | # I gate | + | # $I$ gate (Identity gate) |
| - | **I gate** (or **Identity | + | **I gate** (or **identity |
| $$I = \begin{pmatrix}1 & 0\\ 0 & 1\end{pmatrix}$$ | $$I = \begin{pmatrix}1 & 0\\ 0 & 1\end{pmatrix}$$ | ||
| - | You apply the identity gate $I$ to a state vector | + | The identity gate is trivial on its own but appears in multi-qubit notation |
| + | |||
| + | ## List of code implementations | ||
| + | |||
| + | - [[i-gate-qiskit|I gate (Qiskit)]] | ||
| + | - [[i-gate-custatevec|I gate (cuStateVec)]] | ||
| + | - [[i-gate-cudaq|I gate (CUDA-Q)]] | ||
| - | $$I\lvert\psi\rangle = \begin{pmatrix}1 & 0\\ 0 & 1\end{pmatrix}\begin{pmatrix}a\\b\end{pmatrix} = \begin{pmatrix}1a + 0b\\ 0a + 1b\end{pmatrix} = \begin{pmatrix}a\\b\end{pmatrix} = \lvert\psi\rangle$$ | ||
i-gate.1779704092.txt.gz · Last modified: by Ivan Janevski
