
A. Quantum State and Quantum Bit
In a classical computer, information is represented by two
states, 0 and 1. For example, the two states are represented
by the on/off state of a switch, the state in which a charge is
accumulated and the state in which it is not, and the high/low
voltage. On the other hand, quantum mechanics allows the
superposition of two different states, so the ”quantum” bit,
the smallest unit of information in the quantum world, can
be described using two complex numbers αand β.αand β
are called complex probability amplitudes and represent the
weight with which the 0 and 1 states are superimposed. The
reason why αand βare complex numbers is that in quantum
theory, discrete quantities such as 0 and 1 have the properties
of waves and can interfere.
The states corresponding to the 0 and 1 of the classical bits
can be represented using Dirac’s bracket notation, which is a
simplified representation of the column vector, as follows:
|0i=1
0,|1i=0
1
Since |0iand |1iform an orthonormal basis, the qubit state
|ψican be represented by a linear combination of |0iand |1i.
|ψi=α|0i+β|1i=α
β
1) Probability Amplitude: In quantum mechanics, the ob-
server cannot directly interfere with the complex probability
amplitude, and the probability of 0 or 1 is determined only
when a measurement operation is performed. The complex
probability amplitude influences the probability distribution of
the measurement result. The probability that the measurement
result will be 0 or 1 is denoted as p0and p1, respectively. Then
these probabilities are expressed as the square of the absolute
value of the complex probability amplitude:
p0=|α|2, p1=|β|2
A normalization condition |α|2+|β|2= 1 is imposed to
make the sum of the probabilities be equal to 1.
When a measurement is performed, the quantum state
transitions to the state corresponding to the measurement
result. Specifically, when the measurement result is 0, the state
transitions to |0i; when it is 1, the state transitions to |1i.
This measurement is called a projective measurement in the
orthonormal basis |0iand |1i.
2) Multiple Qubits: When there are n qubits, their states
are represented using tensor products.
The states of the n classical bits are represented by n 0
or 1 number, with a total of 2npatterns. Since quantum
mechanics allows the superposition of all these patterns, the
state of n qubits can be described by 2ncomplex probability
amplitudes. Each complex probability amplitude represents
which bit sequence is superimposed with which weight.
|ψi=c00...0|00 . . . 0i+c00...1|00 . . . 0i+· · ·+c11...1|11 . . . 1i=
c00...0
c00...1
.
.
.
c11...1
The complex probability amplitudes are assumed to be
normalized: X
ii,...,in
|cii,...,in|2= 1
Then, when we measure the quantum state of these n
qubits, the bit sequence ii, . . . , inis obtained randomly with
probability pii,...,in=|cii,...,in|2, and the state after the
measurement is |ii, . . . , ini.
Thus, the state of n-qubits must be described by a complex
vector of 2ndimensions, which is exponentially large with
respect to n. This is where the difference between a classical
bit and a qubit becomes apparent. The operations on an n-
qubits system are then represented as a 2n×2ndimensional
unitary matrix.
B. Quantum Gates
We first describe how operations on qubits are represented,
which is closely related to the following properties of quantum
mechanics:
•Liniarity: The time evolution of a quantum state is
always linear with respect to the superposition of the
states. Since the quantum state of a qubit is represented as
a normalized two-dimensional complex vector, operations
on a qubit, linear operations, are represented by a 2×2
complex matrix.
•Unitarity: Furthermore, using the normalization condi-
tion that the sum of the probabilities is always 1, we can
derive the following constraint on quantum operations U:
U†U=UU†=I
In other words, quantum operations are represented by
unitary matrices.
Here, let us review the terminology. In quantum mechanics,
a linear transformation of a state vector is called an operator,
and the term operator refers to any linear transformation that
is not necessarily unitary. On the other hand, linear transfor-
mations that satisfy the unitarity are called quantum gates.
A quantum operation can be thought of as an operator on a
quantum state that is physically feasible, at least theoretically.
1) Single Qubit Gates: The first single-qubit gate is the X
gate, corresponding to NOT in classical computers. The X gate
is one of the Pauli operators of basic quantum arithmetic and
is a matrix such that
X=0 1
1 0
X gate acts as follows:
X|0i=|1i, X |1i=|0i
Next is the V and V†gates, both of which are a square root
of the X gate as described below:
2