Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In quantum
physics, unitarity means that the sum of probabilities of all possible
outcomes of any event is always 1. This is necessary for the theory to
be consistent.This implies that the operator which describes the
progress of a physical system in time must be a unitary operator. This
operator, when the Hamiltonian operator is independent of time, is e^{-i
hat{H} t}.Similarly, the S-matrix that describes how the physical system
changes in a scattering process must be a unitary operator as well; this
implies the optical theorem.In quantum field theory one usually uses a
mathematical description which includes unphysical fundamental
particles, such as a longitudinal photons. These particles must not
appear as the end-states of a scattering process. Unitarity of the
S-matrix and the optical theorem in particular implies that such
unphysical particles must not appear as virtual particles in
intermediate states. The mathematical machinery which is used to ensure
this includes gauge symmetry and sometimes also Faddeev-Popov ghosts.