blog

  • IBM status of qubits qbits

Quantum Computing Explained

Forfatter: 
bigdata
IBM Quantum Results Ready!

Jun 14th, 2016 was a pivotal day in my life.

It was the date when I executed my first program on a quantum computing server. This machine is very cold - 0.018 Kelvin (that's 2,7 degrees celsius colder that the universe). Inside the enigmatic machine, there are five so-called q-bits. Consider them as small balls, which can either be black, white or gray. On top of this, IBM has created a language that can manipulate the balls, turning them into small elements, which can be programmed to perform certain actions.

That all sounds very regular, but consider this: the balls can be black, white, or black and white at the same time (let's call that state for gray). They are the size of exactly one atom - and can affect each other through something called quantum entanglement, meaning they do not need to touch each other to change their states. In fact, in order to do do what they do, they need to exist in multiple parallel universes at the same time.

 

dice two dice
Source : Pixabay (CC)

Practically, we look at a given problem from a solution perspective. Let's say we have two dice, each with six sides, and we want to calculate the different combinations of the two, that give the number 5. Intuitively, we know it must be 1+4 and 2+3, but a classic computer program would have to run through each combination, evaluate the result, and only output the result if the success criteria (sum = 5) is met. That is at least 2 steps.

A quantum computer only needs one step. We start by identifying the result 5, and the quantum computer will then - through the weird logical operators - return all the input values that meet the success criteria in one go.

So is it magic? No. Is it exotic and awesome? Hell, ya'!

 

quantum computer code
Quantum computer code or a multidimentional music score?

The IBM quantum computer has created a visual programming language called "scores". It follows the analogies of musical scores on a note sheet or strings on a guitar. Each "note" is an operation, like add, subtract, and entangle, and once your score is completed, you can "play" it inside the quantum computer. The result is a "chord", like on a guitar, and the digital representations of the chord are the results. 

In this example, I have three q-bits (or three guitar strings) that can either be 0 or 1. Initially, they are all 0 [0,0,0]. The green boxes with the "X" turn them into [1,1,1]. Then, I use the turquoise operator with the "+" sign to change the value of the third bit to be 0 (a so-called NOT operation). If I did the same again, it would be 1, as NOT 0 = 1, and NOT 1 = 0. Finally, a measurement of the three q-bits return the results from interdimensional space to the real world and provides the output [1,1,0] - as expected.

 

result of qunatum computing
Result of the quantum computing experiment.

"What's all the fuzz about", you may ask, "you've just added two numbers, my PC can do that too?" - and yes, that is correct. But imagine a more sophisticated quantum computer. One with 256 qbits. Such a device is a just few years around the corner.

Remember the example with the dice. A quantum computer could calculate the two combinations that had a sum of 5 in just one calculation, where a regular computer needed alt least 2 tries.  

A 256-bit number is rather large: 2^256 = 115.792.089.237.316.195.423.570.985.008.687.907.853.269.984.665.640.564.039.457.584.007.913.129.639.936. Or, in other words, the estimated number of atoms in the entire universe. A normal computer would need 1 trillion billion lifespans of the universe to complete a fraction of this calculation. A quantum computer would need less than 1/100 of a second. Thus, it would be able to crack SSL, the internet communication cryptography standard for secure transmissions. Effectively, anyone with a 256 qbit quantum computer would be able to read all your mails, have a peek at you account balance in your bank, and log in to your Facebook account.

So, progress moves forward. New cryptography standards emerge, and we will in time be able to counter the threat. However, we will also gain access to unlimited computing power, giving us a giant leap in everything from cancer research and space exploration to artificial intelligence. Here, at Innovation Lab, we are keeping a close eye on this technology, as we are sure it will shape the next 10 years of the future.

Want to try? Go ahead! Dig into quantum computing yourself at IBM Quantum Computing, and have fun. Questions? send me a mail at: bigdata@ilab.dk

Regs,

Mads Voigt Hingelberg