The quality at bat stat takes hard hit balls into consideration and a few other things.
From GameChanger
QAB's are calculated using the formula below:
GameChanger QAB - [(2-strike at-bats ≥ 3 pitches seen) + (at-bats ≥ 6 pitches seen) + (hard hit balls) + (2-out RBI’s) + (sac bunt) + (sac fly)] / (total # of plate appearances) = QAB %
From GameChanger
QAB's are calculated using the formula below:
GameChanger QAB - [(2-strike at-bats ≥ 3 pitches seen) + (at-bats ≥ 6 pitches seen) + (hard hit balls) + (2-out RBI’s) + (sac bunt) + (sac fly)] / (total # of plate appearances) = QAB %