Quantum Cryptanalysis on IBM Quantum Hardware: Extending Even--Mansour Period Recovery from to
This paper presents a genuine, uncompiled demonstration on real IBM quantum hardware of textbook-faithful quantum cryptanalysis using Simon's algorithm to recover hidden periods for Even-Mansour and Feistel cipher structures up to record sizes (N=10), while providing a comprehensive benchmark of five attacks across four symmetric-cipher paradigms with explicit caveats regarding their scope, error mitigation reliance, and lack of threat to full-scale modern encryption.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a world where secret codes aren't just locked in a vault, but hidden inside a maze that only a ghost can walk through. This is the realm of quantum cryptanalysis, a branch of science where researchers use the strange, spooky rules of quantum physics to test how strong our digital locks really are. To understand this, you need to know three simple things. First, "symmetric ciphers" are like a single key that locks and unlocks a treasure chest; if you have the key, you can open it, but if you don't, you're stuck. Second, "quantum computers" are special machines that can try many paths in a maze at the same time, unlike normal computers that must try one path, then another, then another. Finally, there's a famous trick called "Simon's algorithm," which is like a super-smart detective that can find a hidden pattern in a chaotic mess much faster than a regular detective, but only if the mess has a very specific, repeating structure.
Why does anyone care? Because if a quantum computer can find these patterns easily, the secret keys protecting our bank accounts, messages, and national secrets could be cracked. But here's the catch: building a quantum computer that is big enough and quiet enough to actually do this is incredibly hard. They are currently very noisy, like trying to hear a whisper in a rock concert. This paper is about a team of researchers who tried to teach a real, noisy quantum computer to find these hidden patterns in secret codes, pushing the limits of what is currently possible in the real world.
The Paper: A Quantum Detective on a Noisy Stage
The researchers, working with a real quantum computer made by IBM (specifically the "ibm_kingston" chip), decided to play a game of "find the hidden pattern." They focused on a specific type of secret code structure called the Even-Mansour cipher. Imagine this cipher as a machine that takes a secret number (the key) and scrambles a message. The goal of the attack is to find the "period"—a hidden repeating rhythm in how the machine scrambles the data. If you find the rhythm, you can figure out the secret key.
In the past, scientists had only managed to do this on real hardware for very tiny, simple versions of the code (where the secret number was just 4 bits long). This team wanted to see how far they could push the real machine. They managed to successfully find the hidden rhythm for a version where the secret number was 10 bits long. That might not sound like a lot to you, but in the world of quantum hardware, jumping from 4 to 10 is a massive leap. It's like going from balancing on one foot to running a marathon on a tightrope.
They didn't stop there. They also tested their detective skills on other types of code structures:
- The 3-Round Feistel: A structure used in older codes (like the famous DES). They successfully found the hidden rhythm for block sizes of 6 and 8.
- Bernstein-Vazirani: A simpler linear puzzle. They found a 16-bit secret in just one single question (query), which is exactly what the math promised.
- Grover's Search: They tested a method for searching unstructured keys, showing that the quantum computer could find a key in about 13 steps when a normal computer would need 256 steps.
The Reality Check: How Good Was It?
Here is the most important part of the story, and the part where the authors are very, very honest. While they found the patterns, they didn't break the code in a way that would let them steal your bank account today.
For the larger puzzles (where the secret was 6 bits or more), the quantum computer got a bit "noisy" and confused. It didn't point to the one correct answer immediately. Instead, it gave a list of the top candidates. The researchers then used a regular computer to check the top 16, 32, 64, or 128 candidates from the quantum list. The true secret key was usually found very high up on that list (often within the top 63 candidates), which is much better than guessing randomly.
The authors are very clear: This is not a "quantum advantage" yet.
- No Magic Bullet: They did not break the full, real-world versions of famous codes like AES or RSA. They only broke simplified, reduced versions of the structures.
- No Super-Speed: For the larger puzzles, the quantum computer didn't solve the whole thing alone. It narrowed down the list of suspects, but a regular computer still had to do the final work. The speedup they saw was in the number of questions asked, not in the total time it took to crack the code.
- Noise vs. Perfection: They used "error mitigation" (a fancy way of saying they cleaned up the noisy data) rather than "error correction" (which would fix the errors perfectly). This means their results are impressive for today's technology, but they are not the final, perfect solution.
The Big Picture
The team also ran a massive simulation on a supercomputer to see how far this could go if they had perfect, noise-free machines. They found that while a quantum computer could theoretically handle these puzzles easily, a normal computer would run out of memory trying to simulate a quantum computer with just 25 qubits (the basic units of quantum information). A slightly larger puzzle would require 4.5 petabytes of memory—more than most data centers have!
So, what is the takeaway? This paper is a "world record" for how big a secret code structure a real, noisy quantum computer has successfully analyzed. It proves that the math works on real hardware, even if the hardware is still a bit shaky. It's a proof of concept that says, "We can do this, but we need better, quieter machines before we can actually break the real world's secrets." The authors have made their code and data public so anyone can check their work, ensuring that this isn't just a claim, but a reproducible step forward in the race between quantum computers and secret codes.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.