Prefatory Bits
Zeroeth bit: The ability to represent information as a series of ones and zeros is unrelated to whether the information is classical or quantum. Any informational state--classical or quantum--can be written as a series of ones and zeros. A classical computer can do any calculation a quantum computers can do; the classical computer only requires exponentially more memory and time to do so.
First bit: You can represent more than just rational numbers by ones and zeros. For example, $\sqrt{2}$ is defined as the larger of the two solutions of the polynomial equation $x^2 - 2 = 0$. I can encode the polynomial by its coefficients $(1, 0, -2)$ and specify the second root by $(1, 0, -2, 2)$. The number $-\sqrt{2}$ could then be represented by $(1, 0, -2, 1)$. There is a whole set of algebraic numbers that can be specified this way with variable length list of numbers. There is an even larger set of numbers known as the computable numbers that can be specified by the computer program source code that computes them.
Tenth bit: For your colored balls on a string, once you pick a numerical encoding for colors (RGB values, for instance), you can represent a string as a list of numbers representing the colors in the order they appear from left-to-right. This list of numbers is then easily convertable to ones and zeros. This is essentially what bitmap images are.
Classical Information (or: Buckets, Pebbles, and How to Count in Fancy Ways)
So, on to classical information. The primary aspect of classical information that distinguishes it from quantum information is this: If we have complete knowledge of the state of a classical system, then we can predict with certainty what we will see when we observe the system.
Let's take a concrete example. We have an empty bucket. We know it is empty because if it is turned upside-down nothing falls out. Now, we toss three pebbles into the bucket. Even without looking into the bucket, we have complete knowledge of the state of the bucket: it has three pebbles in it. If we observe the state of the bucket by looking inside, we can be certain (barring hallucinations or thieves) that we will see three pebbles inside. We can represent the state of the bucket with the overly fancy notation $|B_C\rangle = |n\rangle$, where $B_C$ is a label for the classical bucket state and $n$ is the number of pebbles in the bucket. Currently, the state of our bucket is $|B_C\rangle = |3\rangle$.
Here's an important observation: If we start with two empty buckets and perform the same sequence of operations on them (adding or removing pebbles), then it is guaranteed that we will see the same number of pebbles in each bucket at the end of the algorithm.
A note: even though our example buckets holds discrete pebbles, meaning that $|3.45\rangle$ is a nonsensical state, there's nothing stopping us from filling the bucket with water so that we can express continuous quantities (ignoring for now the atomic nature of water and pretending it is a continuous fluid). If we start with an empty bucket, put a known amount water in, and later measure how much water is in the bucket, we can always predict how much we will measure, and two buckets of water prepared identically will always have the same amount of water.
How about some more fancy notation? We want to know if my bucket has four pebbles in it. We can write this query like so: $\langle 4|$. Applying this query to a bucket with $n$ pebbles is written as $\left|\langle 4|B_c\rangle\right|^2 = \left|\langle 4|n\rangle\right|^2$. The result of this operation is $1$ if $n=4$ and $0$ otherwise. That is, $\left|\langle 4|3\rangle\right|^2 = 0$ and $\left|\langle 4|4\rangle\right|^2 = 1$. In classical information systems in which we have complete knowledge of the state of the system, the only possible answers to this query is $0$ or $1$.
To summarize:
- In a classical information system, complete knowledge of the system state enables the prediction of observations with certainty.
- In a classical information system, identically prepared systems will always result in identical observations.
Quantum Information (or: What Even Is Counting?)
Now, let's upgrade to quantum buckets and quantum pebbles. All of the operations on a classical bucket are still possible. We can add a pebble, and we can remove a pebble (if the bucket is not empty). But, we can do more with my quantum bucket. Not only can we put the bucket in states like $|0\rangle$, $|1\rangle$, $|2\rangle$, $|3\rangle$, etc., but our quantum bucket can be prepared in such a way as to exist in this state:
$$|B_Q\rangle = \frac{3}{5}|2\rangle + \frac{4}{5}|7\rangle.$$
Now, the proper response to this claim is a good bit of head scratching. Does this bucket have two pebbles inside or seven? Let's apply observation math to this bucket.
If we look for two pebbles, we get
\begin{align}
\left|\langle 2|B_Q\rangle\right|^2 &= \left|\frac{3}{5}\langle 2|2\rangle + \frac{4}{5}\langle 2|7\rangle\right|^2 \\
&= \left|\frac{3}{5}\langle 2|2\rangle\right|^2 \\
&= \frac{9}{25}.
\end{align}
If we look for seven pebbles, we get
\begin{align}
\left|\langle 7|B_Q\rangle\right|^2 &= \left|\frac{3}{5}\langle 7|2\rangle + \frac{4}{5}\langle 7|7\rangle\right|^2 \\
&= \left|\frac{4}{5}\langle 7|7\rangle\right|^2 \\
&= \frac{16}{25}.
\end{align}
Hmm. Puzzling. Let's just look in the bucket and see what's there. For this bucket, we see seven pebbles. That makes a bit of sense since it had the bigger coefficient. But, remember the second classical observation: identically prepared systems yield identical observations. So, we prepare several thousand buckets to the same state and count the pebbles in each one. Here we find that 36% (9/25) of the buckets have two pebbles and 64% (16/25) have seven pebbles.
So, we have to modify our information observations for quantum systems:
- In a quantum information system, complete knowledge of the system state enables only probabilistic prediction of observations.
- In a quantum information system, identically prepared systems will not necessarily result in identical observations.
In quantum systems, complete knowledge of the state of the system ($|B_Q\rangle$ above) only allows us to calculate the probabilities of observations--exact probabilities, but still probabilities. For half a century after the beginning of quantum mechanics, it was still up for debate whether, if we observe three quantum pebbles in a quantum bucket, the bucket actually had three pebbles before you looked. Quantum theory and experiment say no. The state $|B_Q\rangle$ is the complete description of the state of the bucket before the observation. The bucket actually contained a weird blending of two pebbles and seven pebbles at the same time.
So ... ?
Quantum buckets can be manipulated in many more and weirder ways that classical buckets. For example, this other bucket state
$$|B_{Q2}\rangle = \frac{3}{5}|2\rangle - \frac{4}{5}|7\rangle.$$
is somehow a different state than $|B_Q\rangle$, even though the observation probabilities work out the same. When there are multiple buckets that can interact, even weirder things can occur like entanglement and interference. This is what allows for speedups in certain computations.
Of course, talking of buckets and pebbles is only a euphemism, so maybe it's time we had the talk.