Dimensions in quantum physics