You'll need to use the same passport to enter and exit the country. When you enter China you'll be given a card that serves both as your arrival and departure card. I'm not sure as to the rationale of entering with your Canadian passport and exiting with your American passport...what is the reason for doing it?