To determine the ``answer'' of a quantum computation it is necessary
to make a measurement. As noted earlier, the technology for making a
projective measurement of individual nuclear spins does not yet
exist. In liquid-state NMR, instead of using just one molecule to
define a single quantum register, we use a large ensemble of molecules
in a test tube. Ideally, their nuclear spins are all placed in the
same initial state, and the subsequent RF pulses affect each molecule
in the same way. As a result, weak magnetic signals from (say) the
proton spins in TCE add to form a detectable magnetic field called the
``bulk magnetization''. The signal that is measured in high-field NMR
is the magnetization in the
-plane, which can be picked up by
coils whose axes are placed transversely to the external field.
Because the interaction of any given nuclear spin with the coil is
very weak, the effect of the coil on the quantum state of the spins is
negligible in most NMR experiments. As a result, it is a good
approximation to think of the generated magnetic fields and their
detection classically. In this approximation, each nuclear spin
behaves like a tiny bar magnet and contributes to the bulk
magnetization. As the nuclear spins precess, so does the
magnetization. As a result, an oscillating current is induced in the
coil, provided it is electronically configured to be ``tuned'' to the
precession frequency. By observing the amplitude and phase of this
current over time, we can keep track of the absolute magnetization in
the plane and its phase with respect to the rotating frame. This
process yields information about the qubit states represented by the
state of the nuclear spins.
To see how one can use the bulk magnetization to learn about the qubit
states, consider the TCE molecule with three spin-
nuclei
used for information processing. The bulk magnetizations generated by
the protons and the carbons precess at
and
, respectively. The proton and carbon contributions to
the magnetization are detected separately with two coils tuned to
(proton magnetization) and
(carbon
magnetization). For simplicity, we restrict our
attention to the two carbons and assume that the protons are not
interacting with the carbons. (It is possible to actively remove such
interactions by using a technique called ``decoupling''.)
At the end of a computation, the qubit state of the two nuclear spins
is given by a density matrix
. We can assume that this state
is the same for each molecule of TCE in the sample. As we mentioned
earlier, the density matrix is relative to logical frames for each
nuclear spin. The current phases for the two logical frames with
respect to a rotating reference frame at the precession frequency of
the first carbon are known. If we learn something about the state in
the reference frame, that information can be converted to the desired
logical frame by a rotation around the
-axis. Let
be the
state of the two nuclear spins in the reference frame. In this frame,
the state evolves in time as
according to a Hamiltonian
that consists of a chemical shift term for the difference in the
precession frequency of the second carbon and of a coupling term. To
a good approximation,
| (4) |
We can also detect the magnetization
in the
-direction and
combine it with
to form a complex number representing
the planar magnetization.
| (6) | |||
| (7) |
.
What can we infer about
| FIG. 7: Simulated magnetization signals (left) and spectra (right).
(a) The |
To see how the coupling affects the observed magnetization, we rewrite the
expression for
to take advantage of the fact that the up/down states
are invariant under the full Hamiltonian.
and
.
Using a similar calculation to the one leading to Eq. 8,
the first term can be written as
| (10) | |||
| (11) |
In addition to the unitary evolution due to the internal Hamiltonian,
relaxation processes tend to decay
toward the equilibrium
state. In liquid state, the equilibrium state
is close to
where
is the total dimension of
the state space. The difference between
and
is the equilibrium ``deviation'' density matrix and has
magnetization only along the
-axis (see Sect. 2.6).
Because the only observed magnetization is planar, the observed signal
decays to zero as the state relaxes to equilibrium. To a good
approximation we can write
| (12) |
For QIP, we wish to measure the probability
that a given qubit,
say the first, labeled
, is in the state
. We have
,
which is the expectation of
. One can measure this
expectation by first applying a
-pulse to qubit
, thus changing the state to
. This pulse has the
effect of rotating initial, unobservable
-magnetization to
observable
-magnetization. From
one can then infer
, which is the desired number. For the
coupled pair of carbons,
is given by
the sum of the real components of the amplitudes of the
and the
contributions to
. However, the problem
is that these amplitudes are determined only up to a scale. A second
problem is that the available states
are highly mixed
(close to
). The next section discusses how to compensate for
both problems.
As a final comment on NMR measurement, note that the ``back reaction''
on the nuclear spins due to the emission of electromagnetic energy is
weak. This is what enables us to measure the bulk magnetization over
some time. The ensemble nature of the system gives us direct, if
noisy, access to expectations of observables such as
,
rather than a single answer--
or
. For algorithms
that provide a definite answer, having access only to expectations is
not a problem, because it is easy to distinguish the answer from the
noise. However, using expectations can increase the need for quantum
resources. For example, Shor's factoring algorithm includes a
significant amount of classical post-processing based on highly random
answers from projective measurements. In order to implement the
algorithm in an ensemble setting, the post-processing must be
performed reversibly and integrated into the quantum computation to
guarantee a definite answer. This post-processing can be done with
polynomial additional quantum resources.