16.1 Quantum bits 305
binary codewords, and the corresponding sources can be conceived as an extension of
a binary source. Thus, each bit in a given codeword is allowed one out of two pos-
sible states, and this corresponds to the most fundamental representation of classical
information.
In quantum information theory (QIT), and its derivative, quantum computation (QC),
the elementary unit of information is the quantum bit or qubit. As we shall see, the
striking property of the qubit is to escape any definition of being 0 or 1. It is correct,
however, to say that it can be either 0 or 1. To clarify, somewhat, such a mystery, consider
a closed box with a coin inside. We shake the box. The coin must then be resting in
the heads or tails position (excluding here any other possibility, for simplicity). The
question is, “What is the coin’s position?” The intuitive and classical answer is, “It must
be either heads or tails.” According to the quantum definition, the coin is described by
a qubit. The answer is that the coin position, or state, is “neither heads nor tails, but a
superposition of both.” As long as we do not open the box, we cannot know in which
state the coin actually exists. By opening the box, we make a measurement of the coin
state, and the outcome is a classical bit of information, namely heads or tails. This basic
example provides an intuitive notion of the nature of the qubit, which I shall formalize
through this chapter.
In the above, we have used different new terms, such as state, superposition of states,
and measurement, which (to some readers) represents as many hints of the domain
of quantum mechanics. In this introductory chapter, we shall approach the notion of
qubit without approaching quantum mechanics any closer. Indeed, there is no need to
present a more complicated picture if we can introduce the qubit and its properties and
formalism by simpler means. We have realized from the preceding explanation that the
qubit is a piece of information that combines in some ways the information of both 0
and 1. Therefore, we may simply view the qubit as a two-dimensional (2D) vector, with
one dimension defining the 0 information component, and the other dimension the 1
information component.
We shall now formalize the 2D vector representation of the qubit. Given a 2D vector
space with basis u, v, one can then define the qubit state, q, under the linear combination
q = α u + β v, (16.1)
where α, β are complex numbers,
1
which represent the vector’s coordinates in the
2D space. Assuming that ( u, v) is an orthonormal basis,
2
and using the column
1
To recall essential basics, complex numbers z are defined as z = a + ib,where(a, b) are real numbers
and i the “pure imaginary” basis having the property i
2
=−1. The real numbers a and b are called the
real and the imaginary parts of z, respectively. The length or modulus of z is defined as |z|=
√
a
2
+ b
2
.
Complex numbers can be equivalently written as z =|z|e
iθ
where θ = tan
−1
(b/a)istheargument of
z,andwheree
iθ
≡ cos θ + isinθ is the imaginary-exponential function. The complex-conjugate of z,
indifferently called z
∗
or
¯
z,isdefinedasz
∗
=
¯
z = a − ib =|z|e
−iθ
. A key property is z
∗
z = z
¯
z =|z|
2
=
a
2
+ b
2
.
2
To recall from vector-space algebra, an orthonormal basis is any set of n vectors u
1
, u
2
,..., u
n
, which
satisfy for all i, j = 1,...,n the scalar-product condition u
i
· u
j
= δ
ij
,whereδ
ij
is the Kronecker symbol
(δ
ij
= 1fori = j and δ
ij
= 0fori = j). For i = j, the condition gives u
2
i
=| u
i
|
2
= 1, or | u
i
|=1.