boundlab.ibp.MatmulNoise#
- class boundlab.ibp.MatmulNoise[source]#
Bases:
OpHandlerInterval bound for the error-error product: \([-a, a] @ [-b, b] \subseteq \pm(a @ b)\) for \(a, b \ge 0\), with the reasons blended by mass.
Methods
__init__Whether this handler applies to these operands (default: always).
Transform the operands; sub-operations go through
interp.<op>so the enclosing domain's handlers apply to them too.A copy of this handler that takes precedence over
otherwhen both are ready for the same call.- condition(x, y, **kwargs)[source]#
Whether this handler applies to these operands (default: always).
- handle(interp, x, y, **kwargs)[source]#
Transform the operands; sub-operations go through
interp.<op>so the enclosing domain’s handlers apply to them too.
- override_handler(other)#
A copy of this handler that takes precedence over
otherwhen both are ready for the same call.