  This paper presents simulations of the state vector dynamics for a pair of
atomic samples which are being probed by phase shift measurements on an optical
beam passing through both samples. We show how measurements, which are
sensitive to different atomic components, serve to prepare states which are
close to being maximally entangled.
