set_level
full name: tenpy.tools.optimization.set_level
parent module:
tenpy.tools.optimization
type: function
- tenpy.tools.optimization.set_level(level=1)[source]
Set the global optimization level.
- Parameters:
level (int | OptimizationFlag | str | None) – The new global optimization level to be set.
None
defaults to keeping the current level.