Turn Your Raspberry Pi into a Quantum Computer with Qrasp

We’ve been hearing about the potential of quantum computing for decades now, but the idea of working with an actual quantum computer has…

Cameron Coward
5 years ago

We’ve been hearing about the potential of quantum computing for decades now, but the idea of working with an actual quantum computer has always seemed like a distant possibility. That all changed recently when the first commercial quantum computer, the IBM Q System One, was introduced. Now, quantum computing is actually possible. Hassi Norlen wanted to experience that for himself, so he decided to create Qrasp — a Raspberry Pi quantum computer.

The IBMQ System One is, quite obviously, a major technological breakthrough. Quantum computing is fundamentally different than traditional computing, and far more difficult to achieve. But we’re reaching the physical limits of conventional computing, simply due to the fact that transistors — the basic units of computers today— are about as small as they can physically be. Quantum computing relies on sub-atomic qubits, which are smaller and, more importantly, can be worked with simultaneously in parallel.

As amazing as the IBM Q System One is, however, it isn’t something you can own yourself. It’s a quantum computer that is only accessible as a cloud service. Norlen wasn’t satisfied with that, and wanted the ability to do quantum computing in his own home. To do that, he turned to a surprising device: the humble Raspberry Pi.

The result is Qrasp, and you can build one yourself. To be clear, this doesn’t somehow turn the Raspberry Pi into a real quantum computer. Rather, it uses software called Qiskit to simulate a basic quantum computer. From a practical perspective, it’s a lot like running a quantum computer emulator on the Raspberry Pi. You won’t get the true benefits of quantum computing, but you can experience the way it works.

Qiskit is based on Python, which means it can run natively on a Raspberry Pi. Norlen’s Qrasp code takes advantage of that to run quantum computing simulations directly on the Pi, without even requiring internet access. Visualized results of those quantum computations are then displayed on a Sense HAT RGB LED matrix display. If you want to get a taste of quantum computing, Qrasp is a really affordable way to do so.

Cameron Coward
Writer for Hackster News. Proud husband and dog dad. Maker and serial hobbyist.
Latest articles
Sponsored articles
Related articles
Latest articles
Read more
Related articles