I have $N$ observations $\{y_i\}_{i=1..N}$ $$y_i = h_i x_i + w_i$$ where $\{x_i\}_i$ are the realizations of uniform distributed QPSK symbol $x$, i.e. $x_i \in \{\pm\frac{1}{\sqrt{2}} \pm j\frac{1}{\sqrt{2}}\}$,
$\{w_i\}_i$ are the realizations of circular complex gaussian noise $w \sim \mathcal{CN}(0,\sigma^2)$,
and $\{h_i\}_i$ are the realizations of random variable $h$, but known (for example via perfect channel estimation of a channel that is static during the duration that spans over $N$ observations).
The random variables $x$ and $w$ are i.i.d. ($h$ is known during the observation duration.)
I want to estimate the noise variance $\sigma^2$.
I tried using $\{\frac{y_i}{h_i}\}_i$ but their variances are scaled by $h_i$ and not be the same anymore.
Any hints?
(well, this is not a homework but maybe it is as simple as a homework for some people. So I keep the homework tag.)
Update: Note that the $N$ values $y_i$ are realizations, not random variables, for the desired $\sigma^2$ estimator.
Let me express my question in another way: I have $N$ values $y_i$ and $N$ values $h_i$, and I am looking for a function $f()$ that $\hat{\sigma}^2 = f(y_1,...,y_N,h_1,...,h_N)$.
So, $\hat{\sigma}^2$ is an estimation of $\sigma^2$, and is a random variable. It would be great that expected value of $\hat{\sigma}^2$ is $\sigma^2$ so that the estimator is unbiased.