I am trying to perform a path integral but I am having trouble with the Weyl ordering of my Hamiltonian.
The Lagrangian of the system in question is
$$L~=~\frac{1}{2}f(q)\dot{q}^2,$$
where $f(q)$ is any function of the coordinate $q$. From this Lagrangian I obtain the Hamiltonian which is
$$H~=~\frac{p^2}{2f(q)},$$
where $p=f(q)\dot{q}$ is the canonical momenta.
Now, I want to perform a Path integral with this Hamiltonian. This is why I want that after quantization this Hamiltonian be Weyl-ordered.
My question is: Can I Weyl-order this Hamiltonian without knowing the explicit form of $f(q)$?