Yea, you are a bit naive in this regard then. Please go and read those work visa(H1-B) horror stories. First find a company who will be willing to sponsor the work visa which is more than half of the battle.
The follow-up question would of course then be, how likely/wide-spread is it that companies will sponsor working visas for new tech-hires? I assume that it would be more likely if already being employed in a company, that then sent you to USA as an expat.