Can you jailbreak an iphone to virgin mobile?

I know virgin mobile has iphone now, but they are an ungodly price. So i was wondering if it's possible to get a used iphone from another company and jailbreak it to use with virgin mobile, and how to jailbreak it.

Why would a virgin iphone be in jail?

No, an AT&T unlocked iPhone won't work on Virgin Mobile. Verizon and Sprint iPhones won't also work either. Just buy the iPhone on Virgin Mobile.

Jailbreaking won't help. You have it mistaken for unlocking.

A jailbreak allows third party programs into your phone, like FREE apps, themes, and tweaks.

Unlocking your phone allows you to use it on different carriers.
You can buy phones unlocked. If you're in Canada, all TELUS iPhones come unlocked. So you could buy one from Telus and use it on virgin mobile.

Or you can buy an unlocked iPhone online.

No you need get it unlocked.