Using classical shadow(or refer to this post for basic things about classical shadow), we can predict linear functions like $Tr(O\hat{\rho})$ with number of copies(referred paper): $$ 2\log(2M/\delta)*\frac{34}{\epsilon^2}||O-tr(O)/2^n||^2_{shadow}\tag{1} $$
If I want to measure the fidelity of quantum states, that is, if $\rho$ is pure state, and $\hat{\rho}$ is the actual state, and I want to predict the fidelity between $\rho$ and $\hat{\rho}$. The formula for this fidelity is $Tr(\rho\hat{\rho})$ which can easily be deduced from the definition of fidelity $F(\rho,\sigma)=Tr\sqrt{\rho^{1/2}\sigma\rho^{1/2}}$. And we can replace the $O$ in linear function $Tr(O\hat{\rho})$ with $\rho$, so we change the fidelity function into $Tr(\rho\hat{\rho})$, i.e., the quantum state fidelity.
And there is a result in this paper(referred paper), with eq. (S16) said that with some cased, we can realize $||O-tr(O)/2^n||^2_{shadow}\le3Tr(O)^2$, which should be $3Tr(\rho)^2=3$ in my case of predicting the fidelity. So now eq.(1) becomes: $$ 2\log(2M/\delta)*\frac{34}{\epsilon^2}*3 $$ which has nothing to do with the dimension of quantum states? It seems really strange to me, so do I make some mistakes?
References
Predicting Many Properties of a Quantum System from Very Few Measurements Eq.(S13)