Sanyanggae LogoSanyanggae

☁️ Cloud & Security

Quantum computing and post-quantum cryptography: algorithms, hardware and migration

Understand qubit states, Shor’s algorithm, error correction and the migration of existing cryptographic systems.

사냥개 (Sanyanggae)Published Updated 10 min read

This is a translation of the Korean original. Korean original · Translation review: AI review

Quantum computing and post-quantum cryptography: algorithms, hardware and migration · Explanatory diagram · Qubits and operations, Algorithm conditions, Crypto migration.
Explanatory diagram by Sanyanggae · Qubits and operations · Algorithm conditions · Crypto migration.

Quantum computers calculate with quantum states and operations. Superposition does not let them read out every candidate answer or solve every problem faster than a conventional computer.

1. Qubits and measurement

Complex amplitudes describe a qubit’s state, and measurement yields a probabilistic outcome. Entanglement and operations on multiple qubits are resources for particular algorithms. The intermediate states cannot all be retrieved as classical data. Hardware based on superconducting circuits, ions and other approaches has different control and error characteristics.

2. The threat implied by Shor’s algorithm

Shor’s algorithm can solve integer factorization and related problems efficiently on a sufficiently large fault-tolerant quantum computer. Today’s small devices cannot immediately break every RSA key. Distinguish the number of physical qubits from the number of error-corrected logical qubits.

3. Start migration with actual assets

Inventory keys, certificates, protocols and data that needs to be kept for a long time. Identify products supporting standardized post-quantum algorithms and test interoperability, performance and key-size effects. Post-quantum cryptography runs on conventional computers and is distinct from quantum key distribution. Use reviewed implementations and verify the scope of the standards you adopt.

4. Understanding the algorithm through a small period

Factoring 15 illustrates Shor’s core idea. The remainders of successive powers of 2 modulo 15 repeat as 2, 4, 8, 1. The period is 4. Raising 2 to half that period gives 4. The greatest common divisors of 15 with 4 − 1 and 4 + 1 yield the factors 3 and 5.

You can perform this calculation on paper or with an ordinary computer. The quantum procedure is useful for extracting period information efficiently for large numbers. Depending on the chosen number and the period obtained, the factors may not follow immediately, so the conditions must be checked and the process may need repeating. Factoring 15 should not be reported as breaking a real RSA-size key. The required resources change dramatically with scale.

Saying that superposition “computes and reads every answer at once” obscures that distinction. Operations change amplitudes and use interference so that useful information can emerge from measurement. A single measurement cannot produce a list of all candidates. Knowing which problem structure the algorithm uses and what it extracts helps explain why quantum computers do not automatically speed up every computation.

5. From physical hardware to a cryptographic threat

Physical qubits are affected by their surroundings and control errors. Error correction uses multiple physical resources to handle logical information reliably. When a product announcement gives a qubit count, check whether the qubits are physical or logical and what errors and operating conditions apply. A count alone cannot compare machines’ ability to solve large cryptographic problems.

The depth of logical operations, error probabilities, connectivity and control times matter too. Devices with the same qubit count can support different operations. A simple circuit succeeding in one experiment differs from the conditions needed to perform a long error-corrected computation repeatedly. Basing an entire migration plan on a single date for a capable quantum computer adds substantial uncertainty.

Consider data that must remain secret for a long time separately. Someone may collect encrypted traffic now and try to decrypt it with future computing power. Besides the feasibility of decryption today, consider retention periods and how long system replacement takes. Different data stays sensitive for different periods, so distinguish document types and uses of keys. Asset lifetimes and dependencies give a more practical basis for action than dates that exaggerate the risk.

6. A small post-quantum migration trial

NIST’s Post-Quantum Cryptography project publishes standards and updates for key establishment and digital signatures. A key encapsulation mechanism establishes a shared secret for communication. A digital signature verifies the association between the signer’s key and the message. These functions are distinct. List the ones each protocol requires before introducing changes.

If you are testing a fictional internal document-signing service, check signing, verification, certificate distribution and the path for verifying archived signatures. A server can support the new algorithm while clients that verify the signatures cannot interpret it. Check the effects of key and signature sizes on storage and transmission, along with error messages and behavior in older versions. Replacing the algorithm is only one part of migration.

An inventory may include code libraries, certificates, VPNs, device firmware, external APIs and backups. Ask vendors for support plans and record replacement cycles for equipment you cannot easily modify. Start the trial on a small scale while following the real path through interoperating systems. Compare performance on the same device with the same message sizes and security parameters, and state what the measured time includes.

Define when a failed trial should revert to the previous configuration. Quietly allowing a weaker setup for compatibility can make actual protection differ from expectations. Observe which paths use the new setup and which use the old one. Log standards and establish procedures for checking negotiation results and causes of failure.

For learning, work through qubit states, algorithm requirements, error correction and applications separately. For security operations, use that understanding to manage current assets, long-term confidentiality, supported products and replacement paths. Preparations can start without knowing when the hardware will arrive. The word “quantum” alone does not justify immediately replacing every existing cryptographic function.

Read standard names alongside their functions. NIST FIPS 203 covers ML-KEM, while FIPS 204 and 205 cover the signature schemes ML-DSA and SLH-DSA respectively. A product labeled “post-quantum ready” needs further checking for the features and standards it supports. Supporting key establishment alone does not migrate document signing. A standardized algorithm and validation of a particular library implementation are separate matters. Check the product version, parameters and scope of validation to distinguish configurations with similar names.

Sources and further reading

This article explains information from public sources. Citing an organization does not imply its review or endorsement.

About the publisher and contact

Related articles