quantax.optimizer.minsr_pinv_eig#
- quantax.optimizer.minsr_pinv_eig(rtol: float | None = None, atol: float = 0.0, tol_snr: float = 0.0) Callable #
Obtain the pseudo-inverse solver for the inverse problem in MinSR \(Tx=b\), where \(T\) is a Hermitian matrix.
- Parameters:
rtol – The relative tolerance for pseudo-inverse. Default to be \(10^{-12}\) for double precision and \(10^{-6}\) for single precision.
atol – The absolute tolerance for pseudo-inverse, default to 0.
tol_snr – The tolerence of signal-to-noise ratio (SNR), default to 0 which means no regularization based on SNR. For details see this paper.
- Returns:
A solver function with two arguments T and b and one output x as the solution of \(T x = b\).