Here are three example exercises for an early phase of muscle recovery after surgery:
Exercise 1: One leg stabilization exercise
Starting position is a slightly angled monopod stand on the affected leg. Now tap the floor with the toe of the other leg in maximum reach, one after the other to the front, left, right and back.
Then repeat this exercise at least 10 times.
Exercise 2: Standing scale
Hold this position for ten seconds. Then change the supporting leg and repeat the exercise 5 times with each side.
Exercise 3: One Legged Bridge
Repeat the exercise with both legs in two rounds 10 times.