Calculates the von Neumann entropy \( \sum_i s_{ii}^2 \mathrm{log}(s_{ii}^2) \).
References syten::STensorImpl::log2(), overThreshold(), std::pow(), real(), SYTEN_ASSERT, and SYTEN_ZERO_THRESHOLD.
This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.