1
Fork 0
mirror of https://github.com/Steffo99/appunti-magistrali.git synced 2024-11-22 10:44:17 +00:00
appunti-steffo/7 - Introduction to quantum information processing/3 - Gates complessi/gate quantistico controllato universale.md
2024-07-05 19:22:13 +02:00

17 lines
657 B
Markdown

[[gate quantistico universale]] che opera condizionalmente su un [[qbit]] in base allo stato di un altro [[qbit]], in modo simile a un [[controlled Pauli X gate]]:
$$
\def \varX {{\color{coral} a}}
\def \varY {{\color{cornflowerblue} b}}
\def \varZ {{\color{yellowgreen} c}}
\def \varI {{\color{hotpink} i}}
\Huge
\mathbf{U}_{0 \to 1}(\varX, \varY, \varZ)
=
\begin{bmatrix}
1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & e^{\varI \varY} \sin \left( \frac{\varX}{2} \right) & e^{\varI \varY + \varI \varZ} \sin \left( \frac{\varX}{2} \right) \\
0 & 0 & \cos \left( \frac{\varX}{2} \right) &
- e^{\varI \varZ} \sin \left( \frac{\varX}{2} \right)
\end{bmatrix}
$$