Quantum Computing
Quantum Programming from scratch 

     As we walk through some parts of quantum programming in the previous posts in this post we will be going to deploy the actions which we did in the last post on to the legit quantum cloud computer to get the output of the code in a quantum computer. So for the very first, it is very important to create your account in any one of the cloud quantum computer sites like IBM, Google, and many more for the free platform to perform the program ( Here I will be using IBM Q for the project, but you can choose any one from above ). Now comes the main part as we will be loading your IBM Q account into the risk so that whatever your code should run on the IBM Q server (follow the below-given steps). 

 
IBM Quantum

    Output- 
IBM Q


      As the IBM Q account got loaded on now its time to get the provider from the IBM Q server of the desired server location ( the location given in the following program is not the legit server location it's just an example ) so with the help of provider, we can execute the circuit into the real quantum device provided by IBM via the cloud. 

IBM Quantum
Output- 
IBM Q

      Now as we have added our circuit inside the quantum device now it's time to execute what we have designed with the help of a histogram output. 

IBM Quantum

Output- 
Quantum Histogram

     As we can see in the above histogram which we executed on IBM Q device and there is some percent of  01 and 10 qubit outcome. Whereas when we executed this same circuit on the qasm simulator we got the qubit outcome with just 00 and 11. 
Quantum Histogram

Why is this so? 
 
     This is because when we run the circuit on the simulator the simulator gives the result according to a real quantum device but not according to the real-time quantum device, What does this mean? A simulator is never updated in a real time whereas the quantum device is a realtime there are some improvement errors which makes the histogram differ from the ones executed on a simulator.