Perfect Forward Secrecy ensures that future leakage of the private key does not betray secrecy of past communications.
A Quantum Computer that breaks say, 2048-bit RSA also breaks the PFS-enabled Diffie-Hellman style key exchanges, it's almost exactly the same trick, a variant of the Discrete Logarithm Problem.