I want to prove that the commutant of the space of compact operators is $\{cI\}$. Let $A\in K(H)'$. Then $Af \otimes\overline{f} (x)=f \otimes\overline{f}Ax$, because $f \otimes\overline{f}$ is rank one, therefore compact. The previous relation comes down to $<x,f>Af=<Ax,f>f$. How can I formally prove that now follows $Af=cf$? For now, $c=c(f)$.
Then I do the same for $g$, then for $f+g$, and then I can conclude that $c$ is really a constant, by taking $f$ and $g$ linearly independent.