Unlocked iPhones are gsm.
You will need a CDMA iPhone like I told you earlier here. https://forums.macrumors.com/threads/1383787/
And most likely you will have to purchase it from virgin or they might not let you activate it on their network.
In other words wait and don't buy anything yet.