3.1.7 Product distributions
Let us now talk in more detail about the states of a two-bit system. Suppose, for example, that we have two probabilistic bits, and . How can we build a state of a two-bit system from this? While we did not explicitly put it this way, we already discussed this question in Section 1.1.1, where we defined the probability of two events to occur simultaneously by the product of the probabilities of the two individual events. For example, the probability that the bits and are in state is . Similarly, the probability of them being in the state is . If we account for all four possibilities, we get
In other words, the four probabilities of the combined state
are given by the formula
You can verify that the outcome probabilities when measuring the first bit are given by , while the outcome probabilities when measuring the second bit are given by (you can do this using the rule from Fig. 3.2 and the fact that and ). However, our two-bit state has an additional special property: the values of the two bits are independent from each other. This means that when we observe either of the two bits we do not learn any information about the other bit. You can verify this in the next exercise:
Exercise 3.5 ( Independent bits (optional) ).
Suppose that we measure the first of the two bits in the state (3.22) and denote the obtained outcome by . Show that the state on the second bit is , independently of the measurement outcome on the first bit. In other words, putting the two bits together and then measuring the first bit did not affect the state of the second bit at all (as it should be)!
Solution.
Using Fig. 3.3, the state of the second bit after the measurement can be computed as where we cancelled and used .Let us introduce some notation that makes the special structure of the state more clear. Namely, let us use “” to denote the operation of putting two probabilistic bits together and considering them as a single system consisting of two bits:
The symbol “” is called the tensor product or Kronecker product. How can we convert this strange expression to an actual distribution on two bits, like in Eq. 3.22? First, note that for deterministic bits the operation “” reduces to simply concatenating strings. For example,
This makes sense since having a bit in state and another one in state is the same as having two bits in the state . As always, to extend this rule to probabilistic bits, we ask our good friend linearity for help! By linearity, we can expand both terms in Eq. 3.24 and then apply the concatenation rule:
Note that we have recovered the distribution in Eq. 3.22. In other words, we have the following identity between (3.24) and (3.22):
This means that the way we defined the tensor product operation “” is indeed consistent with our earlier argument that the probability distribution of a two-bit system is obtained by multiplying the probabilities of individual bits, see Eq. 3.23.
Note that Eq. 3.26 is very similar to the distributive law for addition and multiplication:
The only difference is that instead of numbers we have vectors and instead of multiplication we have the concatenation rule . A major difference between concatenation and multiplication is that the order of elements is important in concatenation. Generally, since concatenating and is not the same as concatenating and . By the way, you can check that using the vector notation, you can write the tensor product as follows:
where the second expression is a block vector whose both entries are vectors.
The tensor product gives a quick way of understanding what is going on in (3.12), which we repeat here for convenience:
Note that we prepare each bit independently in the state . Therefore, the joint state of both bits is
in agreement with Quirky.
Homework 3.3 (Tensor product).
Find two probabilistic bits and such that
Hack.
Choose and . One can then simply check using Eq. 3.22 that the product distribution indeed coincides with the one supplied in the statement of the question:
The tensor product also allows us to write more compact formulas for local operations. Namely, if is an operation on one bit then
This agrees with the formulas discussed in Section 3.1.2.
Since the two-bit distributions described above are obtained by taking a product of two one-bit distributions, , they are called product states or product distributions. As you saw in 3.5, product distributions naturally model a situation when two bits arise independently, such as when tossing two coins. But is every two-bit distribution a product distribution? Interestingly, this is not the case, as we will see in the following section.