




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





DEUTSCH-JOZSA ALGORITHMS D-J Algorithms is used to identify whether a given function is either balanced or constant. If half of the inputs are becomes zero and remaining half of the inputs are becomes one after given to oracle function then we can say that the function is balanced. If for inputs the output is either zero or one after given to oracle function then we can say that the function is constant. This algorithm depends on phase kick back, that is The flow diagram of this D-J algorithm is Initialize-----------Apply Hadamard gate-------oracle function Hadamard gate-------measure Quantum circuit of D-J algorithm is
f(x)
X 7
1 - >
Shor’s Algorithm is a quantum algorithm than can efficiently find the prime factors of large composite number in polynomial time, which is consider classically hard. The algorithm uses quantum properties like superposition and entanglement to solve the problem. Quantum fourier transform (QFT) to find the period of a function. The key steps in the shor’s algorithm
3. Amplitude Amplification: A diffusion operator is then applied. This operator amplifies the amplitude of the marked states and decreases the amplitude of the unmarked states.
Oracle: Design an oracle that flips the phase of the target state |11> for this purpose using CZ gate in oracle. |𝜓 1 > = 1 2
Diffusion operator: This amplitude the amplitude of |11> and reduces the amplitudes of the other states. Measurement: After one interaction, measuring the qubits will yield|11> with high probability.