I would like to calculate the inverse Laplace transform of the function $e^{-\sqrt s}$. I understand that this is given by $$ {\cal L}^{-1} [e^{-\sqrt s}] = \frac{1}{2\pi i} \int_{-i\infty}^{i\infty} e^{-\sqrt s + s t}ds = \frac{1}{2\sqrt \pi}\exp\left(-\frac{1}{4t}\right)t^{-3/2}.$$ The way I know how to do this is to take the branch cut of the the square root function on the line $(-\infty,0]$ and then close the contour of integration while avoiding this branch cut (and therefore coming along the negative real axis from $-\infty$ to $0$ and then encircling the origin before going back out to $-\infty$.) This then allows us to figure out the value of the vertical portion of the contour, since the total value is $0$.
However, my question is whether one can do the same problem, not by deforming the contour to avoid the branch cut but by moving the branch cut. Suppose we take the branch cut of the square root to be on the positive real axis. Then it seems to me that we can close the contour in the left half plane without coming back to the origin. Since the total value of the integral should still vanish, one obtains $$ {\cal L}^{-1}[e^{-\sqrt s}] = -\frac{1}{2\pi i}\lim_{r\to\infty}\int_{\pi/2}^{3\pi/2}\exp\left[-\sqrt r e^{i\theta/2} + re^{i\theta} t\right] i r e^{i\theta} d\theta,$$ where $r$ and $\theta$ are real, and this is meant to represent the closure of the contour in the left half plane. However it seems to me this should vanish, and so I am confused. Is this correct? If so, how does one proceed?



Integrate along the imaginary axis in Mellin's inversion formula.
Because the inversion is real valued, we only integrate the real part of the integrand.
With the integrand $F(s,t)=e^{-\sqrt{s}}\cdot e^{s\ t}$ we obtain
$$\Re(F(i \omega ,t))=\Re\left(e^{i t \omega -\sqrt{i \omega }}\right)= \begin{cases} e^{-\frac{\sqrt{-\omega }}{\sqrt{2}}} \cos \left(t \omega +\frac{\sqrt{-\omega }}{\sqrt{2}}\right) & \omega <0 \\ e^{-\frac{\sqrt{\omega }}{\sqrt{2}}} \cos \left(\frac{\sqrt{\omega }}{\sqrt{2}}-t \omega \right) & \omega \geq 0 \\ \end{cases} $$
We choose the integration path with $s= i \cdot \omega$ and $ds= i\cdot d\omega$ and integrate, the branch cut is only touched at $s=0$:
$$\frac{1}{2 \pi} \int_{-\infty}^{\infty} F(i \omega, t)\ d\omega=\frac{1}{2\pi}\left[\int_{-\infty }^0 e^{-\frac{\sqrt{-\omega }}{\sqrt{2}}} \cos \left(t \omega +\frac{\sqrt{-\omega }}{\sqrt{2}}\right) \, d\omega+\int_0^{\infty } e^{-\frac{\sqrt{\omega }}{\sqrt{2}}} \cos \left(\frac{\sqrt{\omega }}{\sqrt{2}}-t \omega \right) \, d\omega \right]=\frac{1}{2\pi}\left[\frac{\sqrt{\pi } e^{-\frac{1}{4 t}}}{2 t^{3/2}}+\frac{\sqrt{\pi } e^{-\frac{1}{4 t}}}{2 t^{3/2}} \right]=\frac{e^{-\frac{1}{4 t}}}{2 \sqrt{\pi } t^{3/2}}$$
Hence we get $\mathcal{L}_s^{-1}\left[e^{-\sqrt{s}}\right](t)= \frac{e^{-\frac{1}{4 t}}}{2 \sqrt{\pi } t^{3/2}}$, as expected.