(a) Absorption spectra of (BN)2/C6/(BN)2 quantum-well structure as a function of net doped charge Q/e. (b)–(f) The induced charge density distributions of (BN)2/C6/(BN)2 with different net charge at the resonance energy point.