Quantum computers can break mathematical algorithms used in digital signatures, enabling them to calculate private keys from public keys and forge digital signatures, which can compromise smart contract execution and digital signature integrity. Quantum- resistant cryptography can mitigate these threats by securing data against quantum computing attacks.