compute q-exp if None