I know we can edit the layers (and make different cifs) and do the calculation for each layer separately to find their HOMO-LUMO. But I was wondering if there's a way to calculate HOMO-LUMO of each layer, while the layers are stacked in the heterostructure in a single cif. Thanks!
*I'm using Quantum Espresso. But I guess the problem is same the regardless of the code one is using.