Seven police officers were killed after being ambushed in central Peru, the National Police said on Saturday.