I conjecture that:
$$ \sum_{n=-\infty}^{\infty}(-1)^n e^{-\left(x - \frac{n}{2}\right)^2} = K\cos(2\pi q x)$$
for some $K \in \mathbb{R}, q \in \mathbb{Z}$. Let $G(x)$ denote the left side.
It's easy to show that $G(x + 1) = G(x)$ (by a shifting sum argument).
Furthermore it can be shown that $G(-x) = G(x)$ by noting that for each summand
$$(-1)^n e^{-\left(x- \frac{n}{2}\right)^2} $$ If we invert it $$(-1)^n e^{-\left(-x- \frac{n}{2}\right)^2}$$ Thats the same as $$(-1)^n e^{-\left(x+ \frac{n}{2}\right)^2}$$ And since the sum is over all natural numbers that implies this mapping is a bijection of terms in the sum to terms in the sum.
But is the set of functions $\mathbb{C} \rightarrow \mathbb{C}$ that satisfy $ F(x+1) = F(x) , F(x) = F(-x)$ really equal to
$K\cos(2\pi q x)$?
I worry that some pathological examples might arise that satisfy both equations but are excluded from this list. What other conditions should I chase? Trying to show that the second derivative is a multiple of the original function has not been very fruitful. I end up with the expression
$$ G'' = 2\sum_{n=-\infty}^{\infty}(-1)^{n+1} \left(1 - 2\left( x - \frac{n}{2} \right)^2 \right) e^{-\left(x - \frac{n}{2}\right)^2} $$
(if we let $u = e^{x^2} G$ then I think this yields)
$$ (4x^2 - 2)e^{-x^2} U -4xe^{-x^2}U' + e^{-x^2} U'' = (e^{x^2}U)'' $$
But involving matrix exponentials to solve this seems like a mess.