A woman who performs public service for this state is entitled to be paid the same compensation for her service as is paid to a man who performs the same kind, grade, and quantity of service, and a distinction in compensation may not be made because of sex.