Carrier transport engineering in wide bandgap semiconductors for photonic and memory device applications