Sample complexity of Schrödinger potential estimation