2.1.1 Probabilities versus amplitudes
Quantum bits are very similar to probabilistic bits. There are only two major differences:
-
1.
probabilities are replaced by amplitudes (which can also be negative),
-
2.
amplitudes are squared during the measurement (while probabilities are not).
We will explain these differences in more detail shortly, but let us first describe the possible states of a qubit. Recall how we used the two sides of a coin to denote the two possible deterministic states of a probabilistic bit (see Fig. 1.1)? In quantum computing, these two states are commonly denoted by and to distinguish them from the classical bits and . Just like with probabilistic bits, a general qubit state is then a linear combination or superposition of these two deterministic states:
Here, the greek letter (pronounce “psi”) is the name of the qubit state (just like we named the probabilistic bit ). The brackets form a so-called “ket” that indicates that we are dealing with a quantum state. For comparison, recall from Eq. 1.7 that an arbitrary probabilistic bit can be written as
Note that Eq. 2.1 looks identical to this, except the probabilities and are replaced by the amplitudes and , and the classical notation and is replaced by the quantum notation and ! However, there is one major difference: while the probabilities in Eq. 2.2 are subject to
the amplitudes are subject to
In particular, this implies and , and hence . In contrast, the constraints from Eq. 2.3 on probabilities imply that . The crucial difference is that amplitudes are actually allowed to be negative while probabilities are not!99 9 In fact, amplitudes are even allowed to be so-called complex numbers. We will not need them in this course, but you’re encouraged to browse the web to learn more about this.