feynlag.operators.to_momentum_space

feynlag.operators.to_momentum_space(expr, fields)[source]

Full derivative pipeline: Leibniz-expand then ∂_μ φ → i p(φ) φ.

Derivatives of expressions containing none of the fields (constants, VEVs) are dropped.