We have considered a two state quantum system, a qubit. However a
quantum system is by no means constrained to be a two state system.
Much of the above discussion for a 2 state quantum system is
applicable to a general
state quantum system.
In an
state system our Hilbert Space has
perpendicular axes,
or eigenstates, which represent the possible states the system can be
measured in. As with the two state system, when we measure our
state quantum system, we will always find it to be in exactly one of
the
states, and not a superposition of the
states. The system
is still allowed to exist in any superposition of the
states while
it is not being measured.
Mathematically if two state quantum system with coordinate
axes
,
can be fully described by:
Then an
state quantum system with coordinate axes
can be fully described by:
In general a quantum system with
base states can be represented by
the
complex numbers
to
. When this is done the
state may be written as:
Where it is understood that
refers to the complex weighting
factor for the
'th eigenstate.
Using this information we can construct a quantum memory register out
of the qubits described in the previous section. We may store any
number
in our quantum memory register as long as we have enough
qubits, just as we may store any number
in a classical register as
long as we have enough classical bits to represent that number. The
state of the quantum register with
states is give by the formula
above. Note that in general a quantum register composed of
qubits
requires
complex numbers to completely describe its state: an
qubit register can be measured to be in one of
states, and
each state requires one complex number to represent the projection of
that total state onto that state. In contrast a classical register
composed of
bits requires only
integers to fully describe its
state.
This means that is some sense one can store an exponentially greater amount of information in a quantum register than in a classical memory register of the same number of (q)bits. Here we see some of the first hints that a quantum computer can be exponentially more powerful than a classical computer in some respects. Recall that from our discussion of complexity that problems whose best known algorithms yield a solution in polynomial time are generally thought of as being tractable, and that problems whose best known algorithms take exponential time are thought of as intractable. If a quantum computer really is exponentially faster than a classical computer, then some intractable problems may become tractable! This is a large part of the motivation for the study of quantum computing.