https://en.m.wikipedia.org/wiki/Grover%27s_algorithm
Grover’s algorithm is currently the best known algorithm for attacking *symmetric/one-way* cryptosystems using QC. It reduces the bit-security by half, so SHA256 would have 128 bit security, which is good.
Flaws in the hash, like a bias, are more likely to be abused (cryptanalysis).