  We show that the relativistic motion of a quantum system can be used to
generate quantum gates. The nonuniform acceleration of a cavity is used to
generate well-known two-mode quantum gates in continuous variables. Observable
amounts of entanglement between the cavity modes are produced through
resonances which appear by repeating periodically any trajectory.
