Yang Hui (simplified Chinese: 杨辉; traditional Chinese: 楊輝; pinyin: Yáng Huī, ca. 1238–1298), courtesy name Qianguang (謙光), was a Chinese mathematician and writer during the Song dynasty. Originally, from Qiantang (modern Hangzhou, Zhejiang), Yang worked on magic squares, magic circles and the binomial theorem, and is best known for his contribution of presenting Yang Hui's Triangle. This triangle was the same as Pascal's Triangle, discovered by Yang's predecessor Jia Xian. Yang was also a contemporary of Qin Jiushao, another well-known Chinese mathematician.