  We investigate how to generate maximally entangled states in systems
characterized by the Hamiltonian of the XXZ model with defects. Some proposed
quantum computers are described by such model. We show how the defects can be
used to obtain EPR states and W states when one or two excitations are
considered.
