Let us assume that we want to solve the linear system:
$$\mathbf{A}\mathbf{x} = \mathbf{b}$$
with the conjugate gradient method. $\mathbf{A}$ is a positive semi-definite Hermitian matrix.
The computational complexity of the conjugate gradient method is given as $O(\sqrt{\kappa} m)$, where $m$ is the number of non-zero entries in $\mathbf{A}$ and $\kappa = \frac{\lambda_{\text{max}}}{\lambda_{\text{min}}}$ (the condition number of $\mathbf{A}$). When the matrix is positive semi-definite the smallest eigenvalue is $0$. And yet the conjugate gradient method converges (and can even converge very rapidly). What am I missing here? Is the value of $\lambda_{\text{min}}$ supposed to be the smallest non-zero eigenvalue or does the computational complexity not hold for a positive semi-definite Hermitian matrix?
$$\boldsymbol{b} \in R(\boldsymbol{A})$$