One of the standard gates used in quantum algorithms is the
controlled-not. The controlled-not gate (
) acts on two
qubits. The action of
can be described by ``if the first
qubit is
, then flip the second qubit.''
Consequently, the effect of
on the logical states is given
by the mapping
![]() |
(20) |
| (21) |
To implement the controlled-not using NMR techniques one can decompose
the gate into a sequence of
rotations around the main axes
on each of the two qubits, and a
rotation around
. One way to find a decomposition
is to first realize that the two-qubit
rotation
is equivalent to a
combination of two gates, each conditional on the logical state of
qubit
. The first gate applies a
rotation
around the
-axis (
) to qubit
conditional on qubit
's state being
. The second applies the
rotation
to qubit
conditional on
qubit
's state being
. By following
the two-qubit rotation with a
rotation around
-axis
(
) on qubit
, the total
effect is to cancel the rotation if qubit
is in state
; if qubit
is in state
, the rotations add to a
rotation
on qubit
. If we precede this sequence with
and follow it by
(this operation is called
``conjugating'' by a
-rotation), then the overall
effect is a conditional
operation. Note how the
conjugation rotated the operation's axis according to the Bloch sphere
rules. The controlled-not is obtained by eliminating the
with a
-rotation on qubit
. That is, the effect of
the complete sequence is
, which is
the controlled-not up to a global phase. The decomposition thus
obtained can be represented as a quantum network with rotation gates
as shown in Fig. 9. The corresponding NMR pulse
sequence implementation is shown in Fig. 10.
| FIG. 9: Quantum network for implementing the controlled-not using
operations available in NMR. The conventions for depicting gates are
as explained in [2]. The two one-qubit |
| FIG. 10: Pulse sequence for realizing the controlled-not. The
control bit is spin |
The effect of the NMR pulse sequence that implements the controlled-not can be visualized for logical initial states with the help of the Bloch-sphere representation of the states. Such a visualization is shown for two initial states in Fig. 11.
| FIG. 11:
Sequences of states for the controlled-not pulse sequence. The first
column has both spins initially in the logical
|
The effects of the pulse sequence for the controlled-not can be shown
with the Bloch sphere as in Fig. 11 only if the
intermediate states are products of states on each qubit. Things are
no longer so simple if the initial state of the spins is
,
for example. This is representable as spin
's arrow
pointing along the
-axis, but the
-coupling leads to a
superposition of states (a maximally entangled state) no longer
representable by a simple combination of arrows in the Bloch sphere.