“More often than not, the only reason we need experiments is that we're not smart enough.” ― Scott AaronsonIBM is currently offering free time on one of their quantum computers for interested researchers. Yup, you can program a real life quantum computer right now! In fact, I highly recommend signing up which you can do here. Go ahead and check it out. It took me about 24 hours to get my account approved so you can come back here afterwards to finish reading this post.
What got me interested in this opportunity was that while I have tried to keep up on the field of quantum computing, it basically is magic to me. I've been building up some general rules in my head about quantum systems, but any sort of question about them that did more than scratch the surface left me shrugging my shoulders. Also it was hard to separate fact from fiction.
Quantum Laws (in Matt's head):That's why IBM's offer interested me so much. Let's be honest, there's always going to be some magic when it comes to quantum systems, but the opportunity to actually get hands on time programming one would at least turn the whole experience into alchemy if not science for me.
- Quantum is a system like everything else.
- A quantum state is a configuration of the system.
- A quantum state changes; it naturally wants to evolve, but it can always be undone.
- Evolution of a closed system is a unitary transformation on its Hilbert space.
- Only the Keeper can block quaffle shots thrown by the opposing team
- Do not feed your qubits after midnight
Participating in IBM's Quantum Experience:After your account is approved you immediately have access to a research portal which IBM calls the "Quantum Experience". It's currently in Beta, but beyond a few bugs in the composer, (which I'll talk about in a bit), it's a very well polished site.
|Are you ready to experience some quantums!?|
|Don't worry, it starts out with simpler concepts.|
|An example score in the composer. Yes, this is the default example for Grover's algorithm, but I renamed it since it's all about how you frame the problem.|
|Red pill or blue pill?|
|Qubit 2 is the gatekeeper|
Running it For Real:
That's all fun but the real reason you are probably using IBM's service is to actually run programs on their quantum computer. I'll admit the "good old days" of punch card mainframes was before my time but the whole setup is somewhat similar. You are given "Units" which are then used up when you run a program vs simulate it. IBM currently is being very generous with giving them out and you can request more for free. The typical program uses around 3 units to run. The results are probabilistic, so each run can be made up of multiple "shots", and then in the end the average of the results is presented to you. Further display options, such as blotch spheres where the results are plotted as a vector on a 3D sphere take even more shots to generate.
|I feel a bit guilty about not just running this once, but it's the same price!|
To further help you save units, as well as get you the results sooner, if your quantum score has previously been run by someone IBM will give you the option to see the saved results vs re-running it yourself.
|Well I guess I wasn't that original...|
If you do choose to run your program you are added to the queue. So far, most of my results have been available within a couple of minutes.
|Someone else is quantuming ahead of me|
|Looks like the plain-text is '00'. As I said, it's all about framing the problem.|
Remember earlier when I said the runs were probabilistic? You can really see that in the results above. The correct answer was '00', but around 24% of the time a different answer was chosen.
Issues With the Composer:
I need to submit bug reports, (the bug icon is prominently displayed in the lower right corner of the screen on the portal site), but I've been hesitant to since all the issues I've run into have been very minor. Sometimes the composer gets a bit wonky, (gates get stuck or aren't saved when you run your simulation), but the problem goes away when I refresh my screen. Also, it would be nice if the transitions between composer and users guide were quicker or I could have them open side by side, (opening multiple browser windows does not work). All in all though, I haven't run into any major issues considering this program is currently a beta release.
You are not going to be able to hack any Gibsons with IBM's quantum computer. It's very limited, but that is kind of the point. It shows where the field of quantum computing is right now. IBM is providing an amazing free learning opportunity with this service and if you are at all interested in the future of computing I highly recommend checking it out.