  We present a simulation of the quantum Zeno effect (QZE) on a quantum
computer as an example of the relation between this effect and the bang-bang
decoupling method in control theory. Although the true QZE can not be strictly
implemented on a quantum computer where all the operations, except the final
measurements, must be unitary ones, we can simulate it by coupling the system
to a number of ancillas and replacing the projective measurements of the QZE by
suitable unitary gates.
