vault backup: 2026-07-30 15:49:29
This commit is contained in:
@@ -31,3 +31,14 @@ It can be calculated as follows:
|
||||
|
||||
![[Pasted image 20260730153305.png]]
|
||||
|
||||
And we can rewrite $U_f(\ket{x} \otimes \ket{-})$ as
|
||||
|
||||
![[Pasted image 20260730154444.png]]
|
||||
|
||||
The bottom wire has not changed.
|
||||
The top wire now has f(x) encoded in its quantum state.
|
||||
The phenomenon that the output of f is encoded as a -1 is called phase kickback.
|
||||
We need one final step before measuring.
|
||||
|
||||
|
||||
Now, we perform one final hadamard gate on the top wire.
|
||||
|
||||
Reference in New Issue
Block a user