Now comes the fun part. In this section, we will get to run our first program on a quantum computer. Let's test the circuit preparing state |"10000"> that we just went over. Create a new quantum circuit in the Quantum Composer and put an X gate on the first qubit. Then put a measurement gate on each wire. Your circuit should look like this:
Now, click the Simulate
button. Give your experiment the name "10000"
. The default simulation parameters, editable next to the Simulate
button, specify that the circuit will be run 100 times. Remember that in quantum computing, each time we prepare an input and run an identical circuit, we may get different results as, for measurements, there is a certain probability of 1 and a certain probability of 0. Therefore, any one run might not tell us much about the probability of the output. Luckily, either in simulation or on the real quantum...