BetaWarning

  • full name: tenpy.tools.misc.BetaWarning

  • parent module: tenpy.tools.misc

  • type: exception

exception tenpy.tools.misc.BetaWarning[source]

Warning category that we emit in new code that still needs to be tested better.

When adding new features like algorithms, we might raise a Warning of this category to indicate that the features are not yet super well tested. Thus, this warning gives a hint that the user needs to be cautious and should not jump to conclusion if the results are unexpected. Rather, it’s appropriate to test robustness, ideally by cross-checking with another well-tested algorithm.