Question: find output after each step in two qubit circuit for grovvers algorithm | question is from neural networks Box 6 . 1 : Quantum search:
find output after each step in two qubit circuit for grovvers algorithm
question is from neural networks
Box : Quantum search: a twobit example
Here is an explicit example illustrating how the quantum search algorithm works on a search space of size The oracle, for which for all except in which case can be taken to be one of the four circuits
corresponding to or from left to right, where the top two qubits carry the query and the bottom qubit carries the oracle's response. The quantum circuit which performs the initial Hadamard transforms and a single Grover iteration is
Initially, the top two qubits are prepared in the state : and the bottom one as : The gates in the dotted box perform the conditional phase shift operation : How many times must we repeat to obtain From Equation using we find that less than one iteration is required. It turns out that because in only exactly one iteration is required, to perfectly obtain in this special case. In the geometric picture of Figure our initial state : is from : and a single rotation by moves : to : You can confirm for yourself directly, using the quantum circuits, that measurement of the top two qubits gives after using the oracle only once. In contrast, a classical computer or classical circuit trying to differentiate between the four oracles would require on average oracle queries!
solves the search problem. More precisely, we write down a Hamiltonian which depends on the solution and an initial state : such that a quantum system evolving according to will change from : to : after some prescribed time. Once we've found such a Hamiltonian and initial state, we can move on to the second step, which is to attempt to simulate the action of the Hamiltonian using a quantum circuit. Amazingly, following this procedure leads very quickly to the quantum search algorithm! We have
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
