I have tried to make a compound Hg(1-x)Cd(x)Te. I have take first HgTe then by selecting Hg atoms replace with Cd atoms by substitutional alloy option in builders ( Normal distribution). Then repeat this in all three directions.
Send to the script generator add new calculator and from analysis block add band structure. But problem is that it shows 0ev band gap. I have take reference from tutorial of InGaAs.