Creating our first quantum circuit
Now that we know where everything is in the Circuit Composer, we will create our first quantum circuit. This will help you to get a better understanding of how all these components work together and it will show you how these components provide insights such as current state and probabilistic estimation as you build your first quantum experiment.
Building a quantum circuit with classical bit behaviors
We are all familiar with some of the basic classic bit gates such as NOT, AND, OR, and XOR. The behavior that these classic gates perform on a bit can be reproduced on a quantum circuit using quantum gates. Our first experiment will cover these basic building blocks, which will help you to understand the correlation between quantum and classic algorithms.
Our first experiment will be to simulate a NOT gate. The NOT gate is used to flip the value, in this case from |0〉 to |1〉, and vice versa. The gate we will use to do this is the...