xt-kt-transform.cpp File Reference

Transforms real-space real-time correlators into momentum-space real-time correlators. More...

Transforms real-space real-time correlators into momentum-space real-time correlators.

Takes two or three arguments:

- real-space length of lattice, column L/2 + 1 (1-indexed) is taken as zero point
- first input file
- [ second input file, optional ]
- If only one input file is provided, the data is read in as-is
- If two input files are provided, the data is added together and multiplied by 0.25: ½[P·M+M·P] = [X·X+Y·Y]; X·X = Y·Y (U(1) symmetry) => XX = ¼[PM+MP]

Data files are expected to be of the form

t Re(0) Im(0) Re(1) Im(1) Re(2) Im(2) ....

lines starting with '#' are copied directly into the output stream.