The usual inner product on $L^2$ is $\langle f, h \rangle = \int f(x)\overline{h}(x) dx.$ Assume that $T:L^2(\mathbb R)\to L^2(\mathbb R)$ be an (linear) operator.
Assume that $\langle Tf, f \rangle =0$ for all $f\in L^2(\mathbb R).$
Can we say that $\langle Tg, f \rangle =0$ for all compactly supported function $g$ and $f$?
Side thought: I might need to use polarization identity