In physics, the fundamental description of physical theories frequently revolves around the concept of a Lagrangian. My expertise encompasses diverse algebraic formulations within the domain of Quantum Field Theory (QFT). For instance, considerations extend to formulations pertinent to the free scalar field, chiral bosons, and chiral fermions. Notably, within the realm of Algebraic Quantum Field Theory (AQFT), the principal elements invariably involve smeared operators paired with test functions denoted as $O(f)$, these residing in distinct spaces tailored to specific requirements.
Oftentimes, the mean values of these operators, whether they involve commutators or anticommutators, remarkably intertwine with the inner product within the particle space, delineated as $<f, g>$.
I find myself contemplating whether, given a theory by its Lagrangian, a method exists to determine the corresponding inner product $<f, g>$ inherent to that theory within the particle space encapsulated by the AQFT formalism.