First-half goals from Ryan Christie and Olivier Ntcham earned the win for Neil Lennon's men, who have played a game more than closest challengers Rangers.
The result leaves Hearts second from bottom in the table, above Hamilton Accies - who they face on Saturday - on goal difference.