Catalysis of the reaction: pentaerythritol trinitrate + NADPH = NADP+ + nitrate + pentaerythritol dinitrate.