Pure spinor formalism in flat space
The action in flat space is:
where

are matter fields and

are pure spinor ghosts, and

are their conjugate momenta. The BRST transformation is generated by the
BRST charge:
(6)
where

is some composed field built from
