I’d love to know what these pills are for – 9 weeks is very young to need medication other than worming and that can be given as a liquid if pill taking is difficult.
If it’s not possible to open the mouth without freaking your baby out, I’d hide it in a ham or cheese flat, and give the pilled piece first followed up immediately by a second unpilled piece – make it that she concentrates on the next piece and swallows the first!
Talk to your vet if this fails – she does have to be interested in a treat!! Can you hide the pill in raw mince (hamburger?). Most puppies love this.