Quantum Computing for Beginners: Qubits to Security
Quick answer
A plain guide to qubits, what quantum computers can and cannot do, a two-qubit example in Python, and NIST's post-quantum encryption standards and 2035 target.
Quantum computing for beginners starts with one idea: a quantum computer uses qubits, which can hold more than a plain 0 or 1, to attack a few specific kinds of problem. It is not a faster laptop. As of late November 2026 the practical reason to learn about it is security, not speed.
Key takeaways
- A qubit can act like a bit, storing a zero or a one, and it can also be in a blend of both until it is measured.
- According to IBM, classical computers are expected to remain the best solution for most kinds of tasks.
- NIST finalised its first three post-quantum encryption standards in August 2024 and targets 2035 to deprecate and remove quantum-vulnerable algorithms from its standards.
- Hardware roadmaps from vendors are plans, not results.
On this page:
- What is a qubit?
- Will quantum computers replace laptops?
- What does a two-qubit circuit do?
- Why does this matter for security now?
- How far has the hardware come?
- What should an Indian organisation do first?
- Should you learn quantum programming now?
- Next step
- Frequently asked questions
| Question | Classical computer | Quantum computer |
|---|---|---|
| Basic unit | Bit: 0 or 1 | Qubit: can act like a bit, or sit in a blend |
| Everyday tasks (email, video, databases) | The right tool | Not expected to be better |
| Where it may help | Most problems | A few specific, narrow problems |
| Can you buy one for home use? | Yes | Not as an everyday consumer product |
What is a qubit?
A qubit is the quantum version of a bit. According to IBM's explainer, a qubit can act like a bit, storing either a zero or a one. The difference is that it can also be prepared in a blend of the two.
Think of a classical bit as a light switch and a qubit as a dimmer that can rest between off and on until you look. The moment you measure it, you get a plain 0 or 1. The blend is not a free speed-up. It is a resource that clever algorithms can use for particular problems. IBM describes quantum computing as an emergent field of computer science and engineering, which is a fair reminder that the field is still maturing. Read the IBM quantum computing explainer for the vendor's own definitions.
Will quantum computers replace laptops?
No. IBM's page says that for most kinds of tasks and problems, classical computers are expected to remain the best solution. It adds that quantum computing is not ideal for every, or even most, problems.
So treat claims such as "a thousand times faster" with care. They usually describe one narrow task. A quantum computer is better seen as a special accelerator that sits beside normal machines, the way a graphics chip does, and is used only when a problem fits.
What does a two-qubit circuit do?
The classic first circuit applies a Hadamard gate to one qubit and then a CNOT gate across two. The result is a pair of qubits that always agree when measured: you see 00 half the time and 11 half the time, and never 01 or 10. This is a standard textbook result.
You can check it with ordinary Python. The list holds amplitudes for the states 00, 01, 10 and 11. Squaring an amplitude gives the chance of seeing that result.
from math import sqrt
h = 1 / sqrt(2)
state = [1, 0, 0, 0] # start in 00
# Hadamard on the first qubit: mixes 00 with 10 and 01 with 11
state = [
h * (state[0] + state[2]),
h * (state[1] + state[3]),
h * (state[0] - state[2]),
h * (state[1] - state[3]),
]
# CNOT (first qubit controls the second): swaps 10 and 11
state[2], state[3] = state[3], state[2]
for label, amp in zip(["00", "01", "10", "11"], state):
print(label, round(amp ** 2, 2))It prints 00 0.5, 01 0.0, 10 0.0 and 11 0.5. Simulating this on a laptop is easy for two qubits. The trouble is that the list doubles in length with every extra qubit, which is one reason simulating large quantum machines on classical hardware becomes impractical.
Why does this matter for security now?
Because data encrypted today may need to stay secret for years. NIST says quantum computers could break the current encryption that provides security and privacy for just about everything we do online. That is why it has already published replacements.
In its 13 August 2024 announcement, NIST released three finalised standards: FIPS 203 (ML-KEM, derived from CRYSTALS-Kyber), FIPS 204 (ML-DSA, from CRYSTALS-Dilithium) and FIPS 205 (SLH-DSA, from SPHINCS+), described as a second digital signature standard meant as a backup. NIST's project lead said organisations should not wait for future standards before adopting these three.
On its post-quantum cryptography project page, NIST says it will deprecate and ultimately remove quantum-vulnerable algorithms from its standards by 2035, with high-risk systems transitioning much earlier. The page also says an additional key-encapsulation method, HQC, was selected for ongoing standardisation. Note what is not claimed: neither page gives a date by which a quantum computer will break today's encryption. The standards exist so that the move can happen before that question has an answer.
How far has the hardware come?
Machines exist, but they are small and error-prone compared with what the algorithms need. Vendors publish roadmaps, and these are goals. IBM's quantum roadmap states a goal of executing 100 million quantum operations on 200 qubits by 2029.
The same page names processors called Heron, with 156 programmable qubits, and Nighthawk, in versions with 120 programmable qubits. Read these as a company's engineering plan and current products, not as proof that a given date will be met. When you see a headline about a quantum breakthrough, ask whether it is a measured result on a useful task or a roadmap target.
What should an Indian organisation do first?
Start with an inventory, because you cannot migrate what you have not listed. This is a planning exercise built on NIST's 2035 target, with made-up system names.
- List systems that hold long-lived data, such as health, tax or insurance records. Example: "claims-archive", "patient-records".
- For each, note which encryption and signature methods it uses, for example for web traffic, stored files and software updates.
- Mark systems that keep data for many years as higher priority, since NIST says high-risk systems should move much earlier than 2035.
- Ask each software vendor how it plans to support the NIST standards.
- Pick one low-risk system for a trial migration.
Our guide to cybersecurity master's programmes and the upcoming look at cybersecurity threats to watch in 2027 cover related ground.
Should you learn quantum programming now?
Learn it if the topic interests you, but do not drop core skills for it. Three realistic paths are below, with no salary claims.
| Path | Start with | Good for |
|---|---|---|
| Quantum-safe security engineer | Networking, cryptography basics, the NIST standards | People drawn to security |
| Quantum software learner | Python, linear algebra, a vendor's free learning material | Curious developers and maths-minded students |
| General developer with a quantum module | Solid software fundamentals first | Most beginners |
For most readers the third row is right. Strong fundamentals carry over to every path; see 12 career options in software development and AI skills for software engineers. If terms like machine learning are muddled, start with AI vs machine learning vs generative AI vs agentic AI.
Next step
Run the two-qubit script above, then change it so the Hadamard is applied twice and see what happens. After that, read the NIST announcement and list three systems you use that rely on encryption. For updates, check the NIST and IBM pages linked here, since both change as plans and standards move.
Frequently asked questions
What is a qubit, in simple words?
A qubit is the quantum version of a bit. According to IBM, it can act like a bit, storing a zero or a one, and it can also be prepared in a blend of both until it is measured.
Will quantum computers replace my laptop?
No. IBM says classical computers are expected to remain the best solution for most kinds of tasks, and that quantum computing is not ideal for every, or even most, problems.
Can quantum computers break my bank's encryption today?
NIST warns that quantum computers could break current encryption, which is why it finalised post-quantum standards in August 2024. Its pages do not give a date by which that will happen, so do not trust specific-year claims.
What is post-quantum cryptography?
It is encryption designed to resist attack by quantum computers. NIST's first finalised standards are FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), released on 13 August 2024.
What is NIST's 2035 date?
NIST says it will deprecate and ultimately remove quantum-vulnerable algorithms from its standards by 2035, with high-risk systems transitioning much earlier. It is a US standards target, useful as a planning guide.
Should a developer learn quantum programming now, or later?
Learn it now if curious, but keep core software and security skills first. A two-qubit simulation in Python is a good start before moving to any vendor's tools.