Cook the pasta according to the package directions. Drain and rinse first with hot water, then cold water. Drain and place the noodles in a large mixing bowl. Add teriyaki sauce and toss well to coat the noodles. Add the ham, pineapple, and carrots. Toss to combine.
Garnish with peanuts and cilantro, if desired. Serve immediately or refrigerate until serving.