[step:Identify sheaf cohomology with Dolbeault cohomology]
For integers $p,q$ with $0 \le p,q \le 2$, let $A^{p,q}(X)$ denote the complex [vector space](/page/Vector%20Space) of smooth $(p,q)$-forms on $X$. For every such pair $(p,q)$, let
\begin{align*}
\bar\partial_{p,q}:A^{p,q}(X)\to A^{p,q+1}(X)
\end{align*}
denote the Dolbeault operator in bidegree $(p,q)$, and write $\bar\partial$ for $\bar\partial_{p,q}$ when the bidegree is determined by the source and target. Define $A^{p,-1}(X):=0$ and define the Dolbeault cohomology group by
\begin{align*}
H^{p,q}_{\bar\partial}(X):=\ker\left(\bar\partial_{p,q}:A^{p,q}(X)\to A^{p,q+1}(X)\right)\big/\operatorname{im}\left(\bar\partial_{p,q-1}:A^{p,q-1}(X)\to A^{p,q}(X)\right).
\end{align*}
By the Dolbeault theorem for compact complex manifolds, the natural Dolbeault resolution of $\Omega_X^p$ induces a complex-linear isomorphism
\begin{align*}
H^q(X,\Omega_X^p)\cong H^{p,q}_{\bar\partial}(X).
\end{align*}
Therefore
\begin{align*}
h^{p,q}(X)=\dim_{\mathbb C}H^{p,q}_{\bar\partial}(X).
\end{align*}
In the remaining steps, write $H^{p,q}(X)$ for $H^{p,q}_{\bar\partial}(X)$ under this identification.
[/step]