I had a hip fracture (not a replacement). These take longer than hip replacements to heal.
The doctor told me 12 weeks before I could walk and ride again.
I was on a trainer at 5 weeks, riding on the road at 8 weeks.
It probably took me 2 months or so after that to regain the strength. A few days per week in the weight room, and lots of riding every day.
If you have access to a trainer, I recommend you give it a try. Let pain be your guide.
__________________
Ride, Rest, Repeat. ROUVY:
terrymorse