Online Wick's Theorem Calculator

Type your expression here:

Input expression: [,,c(p)a(q)][-][,,c(r)a(s)]

Latex code: \delta_{q r}a^{\dagger}_{p}a_{s}-\delta_{p s}a^{\dagger}_{r}a_{q}

Simplified expression:

Here I provide an online program for simplification of elementary operators using Wick's theorem. You may know that manually working out is rather awkward. You can input the expressions according to the following examples (Please excuse me for the ungly input grammars ...). Note that no spaces are allowed between the commas.

Sample input: