Many quantum bits
The rules that we learned so far for one and two qubits generalize very naturally to quantum system of many qubits.
For example, an arbitrary state of three qubits can be written as follows:
|
|
|
|
(4.1) |
|
|
|
|
where and the squares of these amplitudes again sum to one, i.e.,
|
|
|
Note that, in total, there are amplitudes, one for each bitstring of three bits.
We can also think of as a vector with eight entries:
|
|
|
More generally, a state of qubits can be specified by using amplitudes , one for each bitstring of bits:
|
|
|
(4.2) |
Again, each amplitude should be in and their squares should sum to one:
|
|
|
(4.3) |
If some of the amplitudes are zero, we can simply leave them out.
For example, the five-qubit quantum state
|
|
|
has 32 amplitudes, of which 30 are zero.
Since there are amplitudes, we can also think of as a vector in a -dimensional space.
What does Eq. 4.3 mean geometrically?
For a single qubit, we saw in Section 2.1.2 that the states correspond to points on the unit circle, i.e., two-dimensional vectors of length one.
By the Pythagorean theorem, it is true in any dimension that the sum of squares of a vector’s all entries is the square of its length.
Thus, Eq. 4.3 means geometrically that corresponds to a vector of length one or a unit vector in a -dimensional space.
Note that the number of amplitudes grows very rapidly with the number of qubits.
This explains why it quickly becomes impossible to directly store quantum states on a classical computer.
For example, to represent a quantum state of qubits, one would need more amplitudes than there are atoms in the observable universe!
Because of this, you cannot have more than 10 qubits in Quirky because we don’t want your web browser to run out of memory!
As in Eq. 3.50, we can use the tensor product “” to combine quantum states on any number of qubits.
If we have two basis states, we define their tensor product simply by concatenating the bitstrings.
Generalizing the two-qubit case from Eq. 3.49,
|
|
|
(4.4) |
For example,
|
|
|
In general, if is an arbitrary quantum state of qubits and is an arbitrary quantum state of qubits, then their tensor product or combined state is a state of qubits.
To compute this state we simply “multiply out” by using the distributivity law and then apply Eq. 4.4 for each term.
For example, the tensor product of two maximally entangled states is the following:
|
|
|
|
|
|
|
|
|
|
|
|
(Tensoring Bell states).
Compute the tensor product of the two Bell states in Eqs. 3.70 and 3.72.
Solution.
|
|
|
|
|
|
|
|
|