Microsoft Research Blog

Microsoft Research Blog

The Microsoft Research blog provides in-depth views and perspectives from our researchers, scientists and engineers, plus information about noteworthy events and conferences, scholarships, and fellowships designed for academic and scientific communities.

Where cryptography and quantum computing intersect

May 8, 2017 | By Microsoft blog editor

By Kristin Lauter, Principal Researcher, Microsoft Research

Last week I spent time at the American Institute of Mathematics in San Jose, working with a group of 20 or so mathematicians and computer scientists on questions related to quantum arithmetic, at a conference co-organized by researchers in the Microsoft Research (MSR) Quantum Architectures and Computation (QuArC) group. You might ask, why is a cryptographer working on this topic? (And also, when will we have a quantum computer? 🙂 )

I was at this workshop thanks to a surprising intersection between cryptography and quantum computing: An algorithm for breaking a cryptographic hash function which we found more than 10 years ago turns out to be relevant for designing efficient circuits for quantum arithmetic! In 2008, we published an efficient and constructive algorithm to find paths in LPS graphs to break the cryptographic hash function. The hash function was one in a family I had proposed in 2005 with Denis Charles (MSR) and Eyal Goren, professor, McGill University. Finding preimages for this hash function involved identifying paths in the well-known Lubotzky-Phillips-Sarnak (LPS) graphs, the celebrated Ramanujan (yes, The Man Who Knew Infinity) graphs constructed in the 1980s. This had been an open problem for several decades; we were delighted when we solved it.

But due to the stove pipes among research communities, our algorithm was not known to a group of researchers in quantum arithmetic, who wanted to solve this problem for a completely different reason. In 2014, Neil Ross and Peter Selinger published an algorithm that they found independently in a different setting, but which turns out to be essentially the same as our algorithm. They were trying to solve the problem of decomposing operations on a single qubit into quantum circuits and for finding the shortest possible circuit.

Researchers in the QuArC group at Microsoft Research, Vadym Kliuchnikov, Krysta Svore, Martin Roetteler, and others, had played a crucial role in developing a framework for addressing questions in quantum arithmetic more broadly, including for topological qubits, the focus of Microsoft’s approach to quantum computing (for Ising anyons, Fibonacci anyons, and metaplectic anyons).  This is important for the future of quantum computing because once a quantum computer is built, we will need to efficiently express operations on qubits in terms of fundamental gates that can be realized in the physical world.  One of the candidates identified are the Clifford+T gates.  The connection between our LPS path-finding algorithm and this area was discovered in 2015 by Alex Gamburd, professor, Graduate Center, CUNY, and Peter Sarnak, professor, Princeton University, and now, topics from both cryptography and quantum arithmetic are included in the workshop.

I have recently become interested in quantum computation for another reason that is important to the future of cryptography. The security of our e-commerce and cloud-based systems and the privacy of much of our data rely on the strength of currently deployed public key cryptographic systems such as RSA and Elliptic Curve Cryptography (ECC).  Once robust quantum computers can be built at a large enough scale, polynomial time quantum algorithms can be implemented to attack the underlying math problems for these cryptosystems, rendering them insecure. However, it is not clear how soon a sufficiently large and robust quantum computing device will be built, and also which architecture and gate set will be realizable. This makes it difficult to estimate the concrete security for cryptosystems of a given bit length in a post-quantum environment, and difficult to estimate the appropriate timeline for migration to new cryptosystems. In collaboration with researchers in QuArC, we have been developing concrete quantum estimates for breaking current encryption systems. At the workshop, we discussed various possible quantum gate sets that might become real; some of the project groups focused on developing the mathematics to implement efficient computation if those gate sets are built.

There may be hard instances of the “path-finding problem”Âť for explicit choices of expander graphs, and such graphs could be the foundation for post-quantum cryptosystems, meaning classical protocols that are resistant to quantum attacks. This year, the National Institute of Standards and Technology (NIST) is running an international Post-Quantum Cryptography (PQC) competition, with submissions due in November, to determine possible replacements for currently deployed cryptographic systems. One of the possible candidates for standardization is based on the hard problem, path-finding in Supersingular Isogeny Graphs, introduced in our 2006 cryptographic hash function paper.  This paper was presented at an NIST workshop in 2005, a workshop leading to standardizing the new cryptographic hash function SHA-3, and was described in a news article in Science magazine in 2008.

In that paper we proposed the hard problem of finding paths or cycles in the Supersingular Isogeny Graph. This hard problem has since been used as the basis for proposals for encryption, key exchange and digital signatures, which are the three tracks of the NIST competition. Supersingular Isogeny Graphs consist of vertices, which are isomorphism classes of supersingular elliptic curves in characteristic p, and the edges are isogenies, or maps between curves that are homomorphisms, thus the name Supersingular Isogeny Graph. Originally studied and generalized by Arnold Pizer, professor emeritus, University of Rochester, these graphs have connections to deep theorems in number theory and beautiful properties such as optimal expansion constants. The expansion constants ensure that relatively short walks on the graph quickly approximate the uniform distribution in the output.


Supersingular Isogeny Graph

A small example of a Supersingular Isogeny Graph, for the prime p=2521, graph image by Denis Charles, principal applied scientist, Microsoft Research

Like many other public key systems, operations necessary to implement Supersingular Isogeny Graphs can be costly, so there is no guarantee that these systems would be competitive from a performance point of view. Also, like many of the other possible math-based candidates such as code-based cryptography, lattice-based cryptography and multivariate cryptosystems, relatively new math problems need to be studied for possible vulnerability to both classical and quantum algorithms. Thanks to the NIST PQC competition, we can expect mathematicians and cryptographers to be very busy during the next few years as we determine the best possible choices for our post-quantum cryptography standards.

Learn more

Up Next

Algorithms, Artificial intelligence, Mathematics, Security, privacy, and cryptography

Tales from the Crypt(ography) Lab with Dr. Kristin Lauter

Episode 19, April 11, 2018 - Dr. Lauter tells us why she feels lucky to do math for a living, explains the singular beauty of elliptic curves and the singular difficulty of supersingular isogeny graphs, talks about how homomorphic encryption allows us to operate on, while still protecting, our most sensitive data, and shares her dream of one day, seeing a Grace Hopper-like conference to celebrate women in mathematics.

Microsoft blog editor

Hardware, devices and quantum computing

The future is quantum with Dr. Krysta Svore

Episode 8, January 17, 2018 - If someone mentions quantum computing, and you find yourself outwardly nodding your head, but secretly shaking it, you’re in good company: some of the world’s smartest people admit they don’t really understand it either. Fortunately, some of the world’s other smartest people, like Dr. Krysta Svore, Principal Research Manager of the Microsoft Quantum – or QuArC - group at Microsoft Research in Redmond, actually DO understand quantum computing, and are working hard to make it a reality. Today, Dr. Svore shares her passion for quantum algorithms and their potential to solve some of the world’s biggest problems, explains why Microsoft’s topological quantum bit – or qubit – is a game changer for quantum computing, and assures us that, although qubits live in dilution refrigerators at temperatures near absolute zero, quantum researchers can still sit in the comfort of their offices and work with the computer programmer’s equivalent of Schroedinger’s Cat.

Microsoft blog editor

Hardware, devices and quantum computing

What problems will we solve with a quantum computer?

New paper suggests quantum computers will address problems that could have substantial scientific and economic impact With rapid recent advances in quantum technology, we have drawn ever closer to the threshold of quantum devices whose computational powers can exceed those of classical supercomputers. But when a useful, scalable general-purpose quantum computer arrives, what problems will […]

Microsoft blog editor