let me calculate $\mathbb{E}[y^\top y]=\text{tr}\,\mathbb{E}[yy^\top]$ (using <A HREF="https://en.wikipedia.org/wiki/Isserlis%27_theorem">Isserlis theorem</A>): $$\mathbb{E}[y^\top y]=\sum_{ij}\mathbb{E}\bigl[A_{ij}\epsilon_j\epsilon_i\bigr]+\sum_{ijkl}\mathbb{E}\bigl[B_{ij} \epsilon_j \epsilon_l B_{kl} \epsilon_k\epsilon_i\bigr]$$ $$\qquad=\sum_{ij}A_{ij}\delta_{ij}+\sum_{ijkl}B_{ij}B_{kl}(\delta_{jl}\delta_{ki}+\delta_{ji}\delta_{lk}+\delta_{jk}\delta_{li})$$ $$\qquad=\text{tr}\,A+(\text{tr}\,B)^2+\text{tr}\,B^2+\text{tr}\,BB^\top.$$