qTesla explained in plain terms means understanding the lattice-based digital signature scheme that a twelve-author team built to be provably secure, compact and fast, a design that reached the second round of NIST’s post-quantum process on the strength of about 300 lines of C code. The central question is why signatures need a lattice when RSA and elliptic curves already sign perfectly well, and the answer is that a quantum computer would break those classics, so a scheme built on a different hard problem keeps signatures trustworthy when that day comes.
qTesla is a family of post-quantum signature schemes based on the decisional ring learning with errors problem, which means its security rests on the hardness of noisy linear equations over polynomial rings. It consolidates a line of research starting with Lyubashevsky’s Fiat-Shamir with Aborts framework and the Bai-Galbraith variant, which means it inherits a decade of refinement, and because its reference implementation is so small, it is unusually easy to read, audit and trust.
This article makes the case for qTesla, what it is, how it works, and where it runs in the real world.
Key takeaways
- qTesla is a lattice-based digital signature scheme.
- It is based on ring learning with errors.
- It reached round two of the NIST process.
- Its reference code is about 300 lines of C.
- It did not advance to round three.
What qTesla is
qTesla is a signature scheme that turns a lattice problem into a verifiable stamp on a message, and that lattice foundation is what makes it unusual among signature designs. Each signature proves that whoever held the secret key approved exactly those bytes, which means a document can be checked by anyone holding the public key, and because the maths resists quantum attack, the stamp should survive the arrival of quantum computers.
Its signature feature is the compact implementation. Most post-quantum schemes need thousands of lines, but qTesla’s portable C code is about 300 lines, which means an auditor can read the whole thing in an afternoon, and because small code has fewer places to hide a bug, the size itself is a security argument.
The scheme was a reaction to the complexity of lattice signatures. Early designs were secure but sprawling, so the qTesla team asked whether the Fiat-Shamir with Aborts idea could be distilled to its essentials, because a signature that is simple to implement is a signature that will be implemented correctly, and that practicality is what made qTesla worth building.
It became one of the best-known post-quantum signatures in the world, and it is named in every discussion of the field. The team submitted it to NIST in 2017, it was selected for round two in January 2019 alongside Dilithium and Falcon, signing takes about 0.9 milliseconds on an ordinary processor, and it is still the first example engineers meet when they learn that lattice signatures can be small, which means the scheme survives as a reference even though NIST did not take it to round three in July 2020.
Our guide to ML-KEM explains the lattice standard qTesla was measured against, and our guide to digital signatures explains the classical signatures post-quantum schemes are designed to replace.
How qTesla works
Everything starts with the key pair, which sets the trust. The secret key holds small polynomials and the public key holds their noisy products with a random ring element, which means the public key looks random, and because recovering the secret means solving ring learning with errors, the key is safe as long as that problem stays hard.
Each step begins with the randomness, which sets the signature’s freshness. The signer expands a seed into random polynomials, which means every signature uses fresh randomness, and because the scheme switched from deterministic to probabilistic signatures in round two, the same message never signs the same way twice.
Rejection sampling is what makes the design work as a whole. The signer computes a candidate signature and checks whether it would leak information about the secret, which means a bad candidate is thrown away and the process repeats, and because only safe candidates are released, the signatures reveal nothing about the key.
Verification spreads the effect further. The verifier recomputes the challenge from the message and the signature and checks that the numbers line up, which means a forged signature fails the arithmetic, and because verification needs only the public key, anyone can check a signature without asking the signer for anything.
The parameter sets are what turn the scheme into a family. qTesla-p-I targets NIST security category one and qTesla-p-III targets category three, which means a deployment picks the strength it needs, and because both sets share the same code, switching levels is a configuration change rather than a rewrite.
The result comes from the side-channel protection, read out as a signature that resists more than maths. The design includes countermeasures against certain side-channel and fault attacks, which means a signature remains safe even when an attacker watches power use or injects glitches, and that hardening is exactly what a deployed signature scheme needs.

Comparing qTesla with other post-quantum signatures
qTesla is one of several lattice signature schemes, and each was built with a different emphasis. Dilithium is the standard built for balanced performance, Falcon is the compact design built for small signatures, and qTesla is the one built to be simple and provably secure, while each approach trades something for something else.
The table below sets out the main contrasts between the leading approaches.
| Aspect | qTesla | Dilithium | Falcon |
|---|---|---|---|
| Hard problem | Ring LWE | Module LWE | NTRU lattices |
| Reference code | About 300 lines of C | Thousands of lines | Thousands of lines |
| Signature size | Moderate | Moderate | Small |
| Standardised | No, round two only | Yes, as ML-DSA | Yes, as FN-DSA |
| Best for | Auditable research | General purpose use | Constrained bandwidth |
The practical result is that qTesla is the right choice for auditable research, Dilithium suits general purpose use, and Falcon fits constrained bandwidth instead.
Where qTesla is used
Research uses it to study lattice signatures. A team that wants a clean, small implementation to experiment with reaches for qTesla, because 300 lines of code is a laboratory rather than a fortress, and that readability is the reason qTesla earns its keep in academia.
Hardware work uses it to test acceleration. Engineers built FPGA accelerators for qTesla that run key generation forty to a hundred times faster than software, because a small scheme is easy to put on a chip, and that feasibility is the reason the design was built for embedded use.
Benchmarking uses it as the compact reference. Engineers still quote qTesla when they discuss how small a lattice signature can be, because it is the clearest example of simplicity as a feature, and that number shapes how new schemes are measured.
Teaching uses it as the Fiat-Shamir example. Courses introduce qTesla when they explain rejection sampling, because it is the clearest case of a signer refusing to leak, and a student who understands qTesla understands why aborts are part of the protocol rather than a bug.
Standards work uses it as the road not taken. The NIST process recorded exactly why qTesla stopped at round two, because a scheme that was simple, fast and provably secure still lost to its rivals, and that lesson is the reason qTesla is cited in papers about standardisation itself.
Strengths and limits
The greatest strength of qTesla is its simplicity. A signature scheme whose reference code fits in 300 lines is a rare achievement, and that strength is real, measured in the audits it enabled and confirmed by the researchers who keep using it as a baseline.
It is also a strength that the security is provable. The scheme carries a tight reduction in the quantum random oracle model, and that proof is worth more than cleverness in a field where most security claims are only empirical.
The limits are real, though, and the biggest is that it was not standardised. A scheme without a standard has no large ecosystem behind it, which means production systems choose Dilithium instead, and a design that needs wide adoption must win the process, not just the benchmarks.
qTesla checklist
- Use qTesla for research and teaching, never as a production standard.
- Remember the twelve-author team submitted it to NIST in 2017.
- Note it is based on ring learning with errors.
- Compare it with Dilithium to see simplicity versus standardisation.
- Study rejection sampling, which is what keeps signatures safe.
- Check the parameter set, since p-I and p-III differ in strength.
- Keep the signing randomness fresh, since reuse leaks the key.
- Read the 2019 paper to see how the scheme was set.
- Choose qTesla when a signature scheme must be read and audited.
Frequently asked questions
What is qTesla in simple terms?
It is a lattice-based way to sign messages so anyone can verify the signature, designed to stay safe against quantum computers.
Who created qTesla?
A team of twelve researchers led by Erdem Alkim, Paulo Barreto, Nina Bindel and Patrick Longa, who submitted it to NIST in 2017.
How is qTesla different from Dilithium?
Both are lattice signatures, but qTesla is far smaller in code and did not standardise, while Dilithium became the ML-DSA standard.
Is qTesla still secure?
Its underlying problem is well studied, but without standardisation it is best treated as a research design rather than a production choice.
Where is qTesla used?
In research, in hardware acceleration, in benchmarking, and in teaching about lattice signatures.
When should I use qTesla?
When you study lattice signatures, when you audit small code, or when you need a clean example to learn from.
The bottom line
qTesla explained in one line is this: a signature in 300 lines, a 2017 design that proved lattice signatures could be small, fast and provable, and taught the field that simplicity is a security feature.
It is proof that a scheme can lose the standard and still win the argument, and the reason it still matters is that every lattice signature designed since has been judged partly by the lesson qTesla taught.
This article is general information about how qTesla works, not advice about choosing encryption for a particular device or system.







