CNOT gate: to flip iff (if and only if) the control quit is |1>, otherwise it does nothing.
Entanglement:
⏐+⟩ == [1/sqrt (2) * (|0> + |1>) == 0.707 |0> + 0.707 |1>
⏐-⟩ == [1/sqrt (2)] * (|0> - |1>)
X (a, b) = (b, a), NOT gate
|a, b> == |b, a>, see below qubit swap:
[a |0> + b |1>] |0> == a|00> + b|10>
|𝝍> == a |0> + b |1>
|𝝍>|𝝍> == a^2|00> + ab|01> + ab|10> + b^2|11>
Bell state (entanglement):
No comments:
Post a Comment