Content deleted Content added
what we measuring? |
|||
Line 8:
- need measure only one the answer qubit, but how wrote at wikipedia
"The algorithm is as follows. First, do a Hadamard transform on a quantum register of n 0s, forming all possible inputs, and a single 1, which will be the answer qubit. Next, run the function once. This is done by using the n input qubits as input of the function of a Function-Controlled NOT gate that works on the answer qubit. Finally, do Hadamards on the n inputs again, and measure '''them'''".
So what we have measure answer qubit or over all except answer qubit. And if we must measure answer qubit, then why we must do hdamard transform (after then qubits pass through CNOT gate) on qubits that not be measured? [[CNotGate]]
:By "answer qubit" they are refering to the target of f. That is |x>|y> becomes |x>|f(x)+y> and the "|y>" qubit is the "answer" (of f). The behaviour of f should have been explicitly stated as it has in my recent change.[[User:Skippydo|Skippydo]] 16:28, 27 June 2007 (UTC)
|