The Grover energy transfer algorithm for relativistic speeds