Let $\mathbf{a}_{i} \in \mathbb{R}^{M}$ with $\|\mathbf{a}_{i}\|^{2} = 1$, $\forall i = 1, \ldots, N$.
I need to solve the following problem in closed form:
\begin{align} \displaystyle \mathrm{argmin}_{\mathbf{X}} & \; \sum_{i=1}^{N} \frac{c_{i}}{\mathbf{a}_{i}^{\mathrm{H}} \mathbf{X} \mathbf{a}_{i}} \\ \displaystyle \mathrm{s.t.} & \; \mathbf{X} \succeq \mathbf{0}, \\ & \; \mathrm{tr}(\mathbf{X}) \leq 1 \end{align}
with $c_{i} > 0$, $\forall i = 1, \ldots, N$.
Tentative solution (1). The problem should be convex and thus I tried writing the KKT conditions
\begin{align} \mathrm{tr}(\mathbf{X}) \leq 1, \; \mathbf{X} & \succeq \mathbf{0}, \\ \mu \geq 0, \; \boldsymbol{\Psi} & \succeq \mathbf{0}, \\ \sum_{i=1}^{N} \frac{c_{i} \mathbf{a}_{i} \mathbf{a}_{i}^{\mathrm{H}}}{(\mathbf{a}_{i}^{\mathrm{H}} \mathbf{X} \mathbf{a}_{i})^{2}} + \mu \mathbf{I} - \boldsymbol{\Psi}& = 0, \\ \mu(\mathrm{tr}(\mathbf{X}) - 1) = 0, \; \boldsymbol{\Psi} \mathbf{X} & = \mathbf{0} \\ \end{align}
but they don't seem to provide a closed-form solution.
Tentative solution (2). I tried to change the optimization variable from $\mathbf{X}$ to $x_{1}, \ldots, x_{N}$ with $x_{i} = \mathbf{a}_{i}^{\mathrm{H}} \mathbf{X} \mathbf{a}_{i}$, but I don't know how to change the constraints accordingly (for sure, we'll have $0 \leq x_{i} \leq 1$, $\forall i = 1, \ldots, N$, but then what?).
Along the lines of attempt (2), you can formulate the problem in terms of the eigenpairs $(\lambda_i,v_i)$ of $X$. We can assume that $\|v_i\|=1$. Let $a_i=\sum_{j=1}^n w_{ij} v_j$. Then the objective becomes $$ \sum_{i=1}^n\frac{c_i}{\sum_{j=1}^nw_{ij}^2\lambda_j}. $$ The constraints are $\lambda_i\geq0$, $\sum_{i=1}^n\lambda_i\leq1$. Take the norm squared of $a_i=\sum_{j=1}^n w_{ij} v_j$ to get $\sum_{j=1}^n w_{ij}^2=1$.
If you disregard the eigenvectors you can get a relaxation. Let $q_{ij}=w_{ij}^2\geq0$. Form vectors $q_i=[q_{i1}\ldots q_{in}]^T$. You get $$ \min \sum_{i=1}^n \frac{c_i}{q^T_i\lambda} $$ with the constraints $\lambda\geq0$, $1^T\lambda\leq1$, $q_i\geq0$, $1^Tq_i=1$. Since the constants $c_i$ are positive you want to maximize the denominator. Hence $q_i=\lambda$. The relaxed problem is equivalent to $$ \max_{1^T\lambda=1} \|\lambda\|^2 $$ This is just a QP with equality constraints. It has a closed form solution.
Not an answer, but maybe it can lead you somewhere.