Technique could improve the sensitivity of quantum sensing devices