I want to dope CuI conventional unit cell using Quantum ESPRESSO.
In previous papers they used different formulas of defect formation energies,and they use supercell. So I'm confused.
What's the formula of the formation energy of a defect in my case?