mirror of
https://github.com/Steffo99/appunti-magistrali.git
synced 2024-11-25 03:34:17 +00:00
38 lines
455 B
Markdown
38 lines
455 B
Markdown
[[Operazione]] che restitusce il coefficiente dello stato $\ket{1}$ di un dato [[qbit]].
|
|
|
|
$$
|
|
\Huge
|
|
\mathbf{n}_x = \ket{x}\bra{x}
|
|
$$
|
|
|
|
==È giusto?==
|
|
$$
|
|
\Huge
|
|
\mathbf{n}_0
|
|
=
|
|
\ket{0}
|
|
\bra{0}
|
|
=
|
|
\begin{bmatrix}
|
|
0 & 0 & 0 & 0 \\
|
|
0 & 1 & 0 & 0 \\
|
|
0 & 0 & 0 & 0 \\
|
|
0 & 0 & 0 & 0
|
|
\end{bmatrix}
|
|
$$
|
|
|
|
==È giusto?==
|
|
$$
|
|
\Huge
|
|
\mathbf{n}_1
|
|
=
|
|
\ket{1}
|
|
\bra{1}
|
|
=
|
|
\begin{bmatrix}
|
|
0 & 0 & 0 & 0 \\
|
|
0 & 0 & 0 & 0 \\
|
|
0 & 0 & 0 & 0 \\
|
|
0 & 0 & 0 & 1
|
|
\end{bmatrix}
|
|
$$
|