quantdata.sanos.tridiag#
Grid Sanos tridiagonal solver for SANOS-type transition operators, c.f. http://arxiv.org/abs/2211.13227
- quantdata.sanos.tridiag.solve_sanos_tridiagonal(*, w_minus, w_plus, rhs, backbone=<quantdata.utils.backbone.BackboneNumpy object>)[source]#
Solve SANOS tridiagonal system with boundary structure from w_minus/w_plus.
The system size is
N = (N-2) + 2where: -w_minusandw_plushave shape(..., N-2)-rhshas shape(..., N)This avoids materializing full tridiagonal bands and is more memory efficient for the SANOS parameterization.