Light controls two-atom quantum computation