In the interview (in another thread) Moffat said he doesn't think Sherlock is a virgin. So whether it was a one night stand, a girlfriend, or an experiment; only Moffit knows.
Do you have a link to that interview?