Takes the natural logarithm of a rank 0 STensor.
Given a real rank-0 STensor, returns its natural logarithm.
References syten::STensorImpl::STensor::autodiff_enabled(), syten::STensorImpl::STensor::get_and_renew_autodiff(), if_constexpr, imag(), std::log(), syten::STensorImpl::STensor::rank(), real(), syten::STensorImpl::STensor::set_autodiff_node(), SYTEN_ASSERT, SYTEN_TENSOR_RANK, and syten::STensorImpl::STensor::visit().
Referenced by syten::MPS::block_entropies().