322 Quantum bits and quantum gates
R
=
R
I
CC
R
0
0
Figure 16.8 Deutsch gate or CCR gate, with corresponding 8 ×8 matrix in reduced form, where
R is a unitary rotation operator.
Deutsch or CC
R
gate
A particular type of CCU gate, called the Deutsch gate, is obtained when one chooses
U ≡ R
n
(θ), as shown in Fig. 16.8. To make the Deutsch gate, a restriction applies to
the rotation angle θ . Indeed, in the Deutsch gate the angle θ should be incommensurate
with π , which means that θ/π is not a rational fraction.
8
With such a property, any qubit
|v on the Bloch sphere that lies at an angle ±xθ from the gate’s target qubit |u can
be reached with arbitrary precision by applying the CCR gate a finite number of times
k, i.e., |w=R
k
(±θ)|u=R(±kθ)|u can be made arbitrarily close to |v if k/x ≈ 1.
In particular, the rotation angle kθ can be made arbitrarily close to π/2, which makes
the Deutsch gate closely similar to a Toffoli gate (R(π/2) = X ). Consider, finally, that
single 2 × 2 rotations defined as R ≡ R
n
(θ) make it possible to transform any input
qubit |uinto any output qubit |von the Bloch sphere. A controlled-R gate has the same
complete transformation capability on the 2-qubit space, and a CCR or Deutsch gate
on the 3-qubit space. It is beyond the scope of this chapter to establish formally that,
actually, quantum circuits based only on 3-qubit CCR or Deutsch gates and CCNOT
gates are capable of achieving any n-qubit transformations in the n-qubit space.
16.4 Quantum circuits
The matrix representation of 2- and 3-qubit gates may look somewhat impractical to
handle, except in generic cases when they can be put in some reduced form. Therefore,
it would seem that quantum-gate circuits with multiple gates and control qubits are not
easy to model and analyze. In reality, however, gate circuits are far simpler to handle! I
shall illustrate this through a few examples. Consider first the 2-qubit quantum circuit
involving single-qubit gates (J, K ) and controlled-U gates as shown in Fig. 16.9, with,
for instance, J = X . The circuit is seen to involve two different controlled-U gates
(U, U
) and two single-qubit gates (X, K ), where U, U
, K are any unitary gates. We
do not need to calculate the corresponding matrix. Instead, consider the evolution of the
8
A rational fraction or rational number can be expressed as the ratio a/b of two integers a, b.