Uncertainty quantification for matrix compressed sensing and quantum tomography problems