Remark 1.6.1. Normalization in Scriber Labs PIML Project.
Note that the following remark pertains specifically to the Scriber Labs project, low-fidelity inverse Scrödinger solver via physics-informed machine learning.
In the context of the Rather than enforcing normalization as a soft penalty in the loss function — which would compete with other loss terms and never guarantee exact satisfaction—we enforce it by construction inside the forward pass of the network. Given the raw output \(\psi_{\mathrm{raw}}(x)\) of a multilayer perceptron, we rescale it to unit norm:
\begin{equation*}
\psi(x) = \frac{\psi_{\mathrm{raw}}(x)}{\sqrt{\sum_{i} \psi_{\mathrm{raw}}(x_i)^2} \, \Delta x + \epsilon} \, ,
\end{equation*}
where \(\epsilon = 10^{-8}\) is a small constant added for numerical stability during early training, when the network output may be near zero.
This approach, sometimes called hard normalization or normalization by construction ensures that every wavefunction emitted by the model is a valid quantum state at every training step. Moreover, it eliminates the need for a dedicated normalization loss term and prevents the optimizer from trading physical validity against other objectives such as the Schrödinger residual or data mismatch.