Write . The hypothesis says . Expanding at gives
whereas expanding at gives
Therefore for every , so
This is the complex polarization argument for a vanishing quadratic form.
The conclusion is false over a real inner product space. On , the nonzero operator
satisfies for every .