In quantum field theory and statistical mechanics, the Witten index at the inverse temperature β is defined as a modification of the standard partition function: