quantum key distribution
When two people want to keep a conversation private, they need a shared secret key — but how do you agree on a secret over a wire someone might be tapping? Today we use clever math (public-key cryptography) that is hard, but not impossible, to break. Quantum key distribution proposes a different guarantee, rooted not in math but in physics: it uses the strange rules of quantum mechanics to share a secret key in a way that, by the laws of nature, reveals whether anyone listened in. The headline idea is that the very act of measuring a quantum particle disturbs it — so an eavesdropper cannot peek at the key without leaving fingerprints.
Concretely, quantum key distribution sends the bits of a key encoded on single quantum particles — typically individual photons of light — over an optical link. The two parties then publicly compare a sample of their results. Because measuring a quantum state unavoidably changes it (you cannot copy an unknown quantum state — the no-cloning theorem), any eavesdropper who intercepts and measures the photons introduces detectable errors. If the error rate is low, the parties know no one listened and they keep the key; if it is suspiciously high, they discard it and try again. The end product is a shared secret key whose secrecy is checked by physics, not assumed from the difficulty of a math problem.
Why it matters and the crucial honesty: QKD only establishes a secret key. By itself it encrypts nothing — you still use that key with an ordinary encryption algorithm to protect your actual data. And it is not a magic shield that makes all other cryptography obsolete. It does not solve authentication (you still need another method to be sure you are talking to the right party, or an attacker can sit in the middle), it needs special hardware and (today) mostly direct fiber or line-of-sight links over limited distances, and it is largely a niche, expensive technology, not a replacement for the cryptography running your bank login. The mainstream answer to future quantum computers is post-quantum cryptography, which is software, not QKD.
Two banks connect their buildings with a dedicated fiber and run QKD over it. They share a stream of photons, then publicly check a sample. The error rate is low, so they trust the key and use it to encrypt the day's transfers with an ordinary cipher. Had a tapper spliced the fiber, the error rate would have spiked and the banks would have thrown the key away unused.
QKD checks for eavesdroppers; an ordinary cipher does the encrypting.
QKD distributes a key; it does not encrypt your data and it does not authenticate the other party — without a separate authentication step it is still vulnerable to a man-in-the-middle. It is niche hardware over short links, not the general fix for quantum threats; that role belongs to post-quantum cryptography.