The state of any quantum mechanical system is described by a state vector in an appropriate Hilbert space. A Hilbert space is a complex linear vector space. [Greenwood00] This is similar to more familiar vector spaces with the exception that vectors may have complex lengths. A linear vector space is one in which the sum or constant multiple of a vector within the space is within the space as well. [Griffiths95]

In the case of our *n* bit quantum register, our Hilbert space will be
of dimension 2^{n}. The orthogonal basis for the Hilbert space can be
conveniently chosen to be the 2^{n} possible basis states that the
quantum register can be found in when measured.

With the chosen basis, the projection of the state vector on the i'th basis vector will be the amplitude of the portion of the wave function corresponding to the register being solely in the i'th state.

The state vector can be written
= (*a*_{1}, *a*_{2},...*a*_{N})^{T}, where *N* = 2^{n}. *a*_{i} is the amplitude of the wave
function in the i'th state, or equivalently the projection of the
state vector onto the i'th basis state. The probability of measuring
the register in the i'th state is then:

If we we insist that

| *a*_{j}|^{2} = 1

then the
probability of measuring the register to be in the i'th state becomes
simply |
In the absence of measurement the state vector of any quantum system,
including our quantum register, will evolve according to the
Schrödinger wave equation. The Schrödinger equation has the
property that if the solution is normalized at any time, it is
normalized at all times. [Griffiths95] Therefore if we initialize our
quantum register to be normalized, we can be sure that at all future
times the probability of measuring the quantum register in the i'th
state will be given simply by
| *a*_{i}|^{2}.

A consequence of the Schrödinger equation is that the evolution of the system must be reversible. At any point in time, if we know the solution to Schrödinger's equation, we can derive its solution at all past and future times. Thus any transformation we wish to perform on our system should be reversible. For our quantum register this means that for any operation we use, we must be able to say what the state of the register was before the operation, given the operation and the resulting state. [Grover00] These remarks apply only to quantum systems evolving in isolation of their environment. Any measurement of the register will irreversibly alter the system, collapsing its wave function into one of its base states.