How do I install a non-load bearing wall on a carpeted concrete floor and finished drywall ceiling?
Michael has a good answer in the comments.

You need to cut your carpet where your wall would be.  Roll back your carpet a few feet so it is not damaged, install wall (this should be its own question if you have a specific problem), retack next to wall for carpet, stretch carpet out, and place carpet on tack strips.