From cs 229 page 6:
Intuitively, the EM algorithm alternatively updates Q and θ by a) setting Q(z) = p(z|x; θ) following Equation (8) so that ELBO(x; Q, θ) = log p(x; θ) for x and the current θ, and b) maximizing ELBO(x; Q, θ) w.r.t θ while fixing the choice of Q.
i.e. to say, ELBO is $$\Sigma_{z}Q(z)\log[\frac{p(X,Z;\theta)}{Q(Z)}]$$
where the Q(z) is set equal to the posterior of z given x in the expectation step. This choice of $Q(Z)$ brings the ELBO closest to the evidence ($P(X,Z;\theta)$) $$Q(Z) = p(Z/X;\theta)$$
From wikipedia: 
Which one is correct? There is a $Q(Z)$ difference in the denominator. If they are both the same, how?