Bitcoin's current transaction signatures rely on elliptic-curve cryptography. A powerful enough quantum computer could, in principle, derive a private key from a public key that has already appeared on the blockchain and then spend the associated coins.