Step 1: Electric potential due to point charges.
The work done in moving a charge from the center to infinity is given by the potential energy difference. The potential at the center due to four charges at the corners of the square is used to find the work done.
Step 2: Conclusion.
The work done in moving the charge from the center to infinity is \( \frac{q^2}{\pi \epsilon_0 a} \), which corresponds to option (4).