Text this: Optimal fidelity estimation for density matrix