The quantum effects of electromagnetic fluxes