Grover’s Algo with IBM’s Qiskit
The purpose of this post is just to show who one can implement a sample quantum algorithm/ circuit, using IBM’s Qiskit. This post assumes that the reader has some familiarity with Grover’s Search algorithm.
If you want to know more on the Algorithm itself, check this earlier post of the Quantum Computing 101 series.
So let’s directly start by creating the Grover search circuit for 2 qubit system:
Note: If you want to know more about Grover Search Algo, please read this
At any point you can check the circuit created so far by
grover_circuit.draw('mpl')
Check the Ideal qubit vector created so far
Run your algorithm on a code simulator
Run the code on actual Quantum Device
Entire Code: