<div class="pull-left">https://steemitimages.com/DQmd6MgQoWc9bRQdP7TZxa3h9wG2YvMDUm7vr7SjfKvoWqm/image.png</div> This one is cool. IBM has made some of their [quantum computers](https://en.wikipedia.org/wiki/Quantum_computing) available to the general public via the [IBM Quantum Experience](https://quantumexperience.ng.bluemix.net/qx/experience) website. I came across this resource only in the last few days. I had no idea that such an amazing resource was made available on the web to the general public. This post describes the website and presents a few simple quantum programs. Sign up is easy and it only takes a few minutes. Once logged in you can start playing with one of their 5 qubit quantum computers. The website provides user guides for the [newbie](https://quantumexperience.ng.bluemix.net/qx/tutorial?sectionId=beginners-guide&page=introduction) as well as the [advanced user](https://www.qiskit.org/ibmqx-user-guides/full-user-guide/introduction.html). The main part of the interface is the Composer Page in which you get to program in 'gates' that actually manipulate the quantum bits ([qubits](https://en.wikipedia.org/wiki/Qubit)) and then read them to give you the macro-world outputs of classical 0's and 1's. To prevent spamming of this limited computer resource, users are given computing credits. Each run of a program uses up credits. When they go to zero you are done but don't worry because IBM will top up your account on a daily basis (I believe). Also, if you want to test out your programs without using up your credits you can simply push the Simulate button instead of the Run button. You get an unlimited number of simulations and so can test and explore your quantum programs to your heart's content. For this post I am only going to be using the Simulate button to test the programs and generate the results. I don't want to waste my precious few credits until I feel that am ready to test a proper quantum program. #### Test 1 - Let's Just Measure The Qubits The computer gives you 5 qubits which are all initialized into the |0> state. Here is my first test to see if that is true. I am just going to set up five measurement gates to read the outputs: The Program: ![](https://steemitimages.com/DQmQbNVd1S5qjcuYgHDrR797tDwBLjVgYaviFGuhapeqxwE/image.png) The Results: ![](https://steemitimages.com/DQmT93TsTYPe66NHnySyQ9B6d76GF9rQRf97X9uKo887jno/image.png) The little pink icon of a gauge in the program composer diagram means that the qubit is being measured. These gates are always needed in any program to read the outputs of your quantum calculation. When the test is run the results come out with every bit set to |0> which is as expected. Boring yes, but we need to go step by step. #### Test 2 - Flipping The Qubits Let's see if we can simply flip these qubits from |0> to |1> using the 'not' operator which is given by the green 'X' symbol. The Program: ![](https://steemitimages.com/DQmcfSUiRkEspfemU5Q9BvtXeJLWTuNx1qnci7BrYgiouja/image.png) The Results: ![](https://steemitimages.com/DQmYXgue2AEAZNLZCbUvJSPijqa8Qi6qeitq1gzULy4Aqbf/image.png) When the test is run the results come out with 100% of the bits flipped from |0> set to |1> which again is as expected. So far so good. Now on to superposition. #### Test 3 - Putting The Qubits Into Superposition The first two programs used qubits but did not use any superposition which is one of the hallmarks of quantum mechanics. Let's set this up. Superposition is created using the Hadamard gate. It rotates the vector of the qubit from the initial |0> state to something that is a superposition of both the |0> and the |1> states <b>at the same time</b>. The quantum computer, if it is good, should make it equally likely to get a |0> or a |1> when the measurement is finally made. The Program: For this one I am only going to do 4 qubits so that the results of the output can be seen on one screen. ![](https://steemitimages.com/DQmTi56PNq3PRKTYXqBNEDt66nbEYDatSt81vzCaam9dnhT/image.png) The Results: ![](https://steemitimages.com/DQmeqsJuxDZLr3GiN4yD6kpPWeKzWb3zWqbQwp4rmxuDSfE/image.png) Since I am using four qubits in this test, there will be 2<sup>4</sup> = 16 states as the possible measured outcomes. Each of the sixteen outcomes is equally likely. Since 1/16 = 0.0625 the results should all be more or less close to this value. The outcome chart shows that this is basically true. The simulations only perform 100 test shots so there will always be statistical variation around the expected results. #### Test 4 - Qubit Entanglement The next hallmark of quantum mechanics and quantum computers is that you can entangle the qubits. Entanglement is critical for quantum computing because if it is done properly you can model systems that would be very hard, if not impossible, to model using classical computers (i.e. breaking codes, traveling salesman problems *etc*.). For this test I am just going to program in one of the Bell Theorem examples given in the advanced section of the [IBM Q-Experience website](https://www.qiskit.org/ibmqx-user-guides/full-user-guide/003-Multiple_Qubits_Gates_and_Entangled_States/050-Entanglement_and_Bell_Tests.html). The Program: ![](https://steemitimages.com/DQmRocfUU3Zqa81CPTjydPiXTQiUpDBro36N2rnUZciCj8B/image.png) The Results: ![](https://steemitimages.com/DQmXBpp3S4t8gQGGtertZbWEKo22pAAvMYBB4PcQzdMZDfW/image.png) Bell's Theorem is very deep and it would take at least an entire post (probably several posts) to explain it properly. In brief, Bell's Theorem proves that entangled quantum states will yield outcomes with probabilities that cannot ever be replicated using the interaction of classical mechanics. Per the IBM web page: > "Bell showed that if these measurements are chosen correctly for a given entangled state, the statistics can not be explained by any local hidden variable theory, and that there must be correlations that are beyond classical." #### Closing Words As I said at the start of this post, I came across this resource only in the last few days. I think this is an amazing find and if you are oriented towards the STEM fields then I encourage you to sign up and start playing around with it as it is an incredible opportunity for education and if you have the skills, maybe even research. *All images that do not have explicit credits are screenshots that were taken during my live setups and executions of the quantum programs. This is a fair use activity and falls within Steemit publishing guidelines.* <center>![](https://steemitimages.com/DQmcb6Ae7N5q8gudPbNrprwcJWPooGHhZRuAmQdsiva2HVv/image.png) <sub>I, Procrastilearner, donate the above image to the Public Domain.</sub></center>
post_id | 38,062,682 |
---|---|
author | procrastilearner |
permlink | the-online-quantum-computer-that-you-can-use |
category | steemstem |
json_metadata | "{"app": "steemit/0.1", "format": "markdown", "links": ["https://en.wikipedia.org/wiki/Quantum_computing", "https://quantumexperience.ng.bluemix.net/qx/experience", "https://quantumexperience.ng.bluemix.net/qx/tutorial?sectionId=beginners-guide&page=introduction", "https://www.qiskit.org/ibmqx-user-guides/full-user-guide/introduction.html", "https://en.wikipedia.org/wiki/Qubit", "https://www.qiskit.org/ibmqx-user-guides/full-user-guide/003-Multiple_Qubits_Gates_and_Entangled_States/050-Entanglement_and_Bell_Tests.html"], "image": ["https://steemitimages.com/DQmd6MgQoWc9bRQdP7TZxa3h9wG2YvMDUm7vr7SjfKvoWqm/image.png"], "tags": ["steemstem", "science", "technology", "steemeducation", "education"]}" |
created | 2018-03-12 00:45:42 |
last_update | 2018-03-12 01:31:30 |
depth | 0 |
children | 4 |
net_rshares | 1,360,123,517,723 |
last_payout | 2018-03-19 00:45:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 3.492 SBD |
curator_payout_value | 0.927 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 6,701 |
author_reputation | 10,660,504,989,847 |
root_title | "The Online Quantum Computer That You Can Use!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pharesim | 0 | 80,736,459,259 | 0.02% | ||
lafona-miner | 0 | 182,133,949,751 | 2.5% | ||
kushed | 0 | 1,810,688,216 | 0.89% | ||
steem-id | 0 | 8,305,645,981 | 0.89% | ||
mrs.agsexplorer | 0 | 8,597,589,826 | 2% | ||
justtryme90 | 0 | 71,122,219,105 | 2.5% | ||
anwenbaumeister | 0 | 25,866,089,948 | 0.89% | ||
grandpere | 0 | 10,529,207,370 | 5% | ||
liberosist | 0 | 50,781,302,730 | 0.89% | ||
timsaid | 0 | 5,185,265,262 | 1% | ||
velourex | 0 | 858,106,283 | 0.89% | ||
rjbauer85 | 0 | 230,656,190 | 5% | ||
anarchyhasnogods | 0 | 8,188,659,242 | 2.5% | ||
lamouthe | 0 | 1,134,747,639 | 5% | ||
steemedia | 0 | 106,659,501 | 0.89% | ||
meerkat | 0 | 26,991,299,162 | 0.89% | ||
curie | 0 | 43,976,049,432 | 0.89% | ||
cebymaster | 0 | 132,898,959 | 0.89% | ||
hendrikdegrote | 0 | 516,027,101,501 | 0.97% | ||
steemstem | 0 | 134,023,725,748 | 5% | ||
cotidiana | 0 | 118,743,874 | 0.89% | ||
teofilex11 | 0 | 623,387,847 | 0.89% | ||
foundation | 0 | 485,906,906 | 5% | ||
the-devil | 0 | 718,096,384 | 5% | ||
timothyb | 0 | 1,729,099,023 | 2.5% | ||
thevenusproject | 0 | 2,734,197,474 | 5% | ||
dna-replication | 0 | 1,398,041,107 | 5% | ||
borislavzlatanov | 0 | 383,118,640 | 5% | ||
jamhuery | 0 | 899,748,170 | 5% | ||
jade56 | 0 | 321,438,789 | 5% | ||
mobbs | 0 | 6,620,249,847 | 3% | ||
bp423 | 0 | 111,607,450 | 0.89% | ||
kryzsec | 0 | 6,187,591,775 | 5% | ||
fredrikaa | 0 | 8,834,003,771 | 2.5% | ||
locikll | 0 | 421,326,191 | 1.78% | ||
dber | 0 | 2,089,331,062 | 5% | ||
dreamien | 0 | 69,285,374 | 0.89% | ||
kerriknox | 0 | 20,395,974,155 | 5% | ||
alexander.alexis | 0 | 281,372,464 | 1% | ||
blessing97 | 0 | 168,664,596 | 5% | ||
ertwro | 0 | 2,081,428,010 | 5% | ||
coloringiship | 0 | 152,310,965 | 0.04% | ||
nitesh9 | 0 | 1,246,256,757 | 5% | ||
churchboy | 0 | 652,081,859 | 5% | ||
himal | 0 | 368,509,861 | 5% | ||
abigail-dantes | 0 | 75,165,756,273 | 5% | ||
leczy | 0 | 408,708,633 | 5% | ||
ovij | 0 | 526,531,550 | 5% | ||
mountainwashere | 0 | 1,646,594,463 | 5% | ||
somethingburger | 0 | 377,671,868 | 5% | ||
zest | 0 | 10,182,340,730 | 24% | ||
tormiwah | 0 | 231,916,918 | 1.5% | ||
zeeshan003 | 0 | 97,465,472 | 5% | ||
carloserp-2000 | 0 | 820,776,643 | 5% | ||
pangoli | 0 | 68,318,776 | 5% | ||
rachelsmantra | 0 | 214,559,082 | 5% | ||
gra | 0 | 1,875,349,393 | 5% | ||
kenadis | 0 | 1,352,976,755 | 5% | ||
amavi | 0 | 766,866,072 | 1% | ||
gentleshaid | 0 | 856,167,864 | 5% | ||
musicayfarandula | 0 | 51,824,215 | 10% | ||
sco | 0 | 215,255,327 | 1% | ||
bennettitalia | 0 | 57,518,796 | 0.04% | ||
hadji | 0 | 235,392,702 | 5% | ||
steemstem-bot | 0 | 4,002,540,625 | 25% | ||
procrastilearner | 0 | 21,093,618,679 | 100% | ||
anasuleidy | 0 | 282,147,106 | 100% | ||
simoxenham | 0 | 605,245,501 | 100% | ||
de-stem | 0 | 2,052,102,529 | 5% | ||
teresah | 0 | 542,446,862 | 100% | ||
norvicgarcia | 0 | 563,331,433 | 100% |
I am very happy that every day technology offers us opportunities to learn, this is demonstrated with this quantum computer online. enjoy it!
post_id | 38,076,553 |
---|---|
author | anasuleidy |
permlink | re-procrastilearner-the-online-quantum-computer-that-you-can-use-20180312t024421275z |
category | steemstem |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemstem"]}" |
created | 2018-03-12 02:44:24 |
last_update | 2018-03-12 02:44:24 |
depth | 1 |
children | 0 |
net_rshares | 4,830,547,376 |
last_payout | 2018-03-19 02:44:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 141 |
author_reputation | 873,194,740,389,779 |
root_title | "The Online Quantum Computer That You Can Use!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
procrastilearner | 0 | 4,830,547,376 | 23% |
Excellent post friend, good news!
post_id | 38,076,816 |
---|---|
author | norvicgarcia |
permlink | re-procrastilearner-the-online-quantum-computer-that-you-can-use-20180312t024625116z |
category | steemstem |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemstem"]}" |
created | 2018-03-12 02:46:30 |
last_update | 2018-03-12 02:46:30 |
depth | 1 |
children | 0 |
net_rshares | 4,830,547,376 |
last_payout | 2018-03-19 02:46:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 33 |
author_reputation | 92,849,116,967 |
root_title | "The Online Quantum Computer That You Can Use!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
procrastilearner | 0 | 4,830,547,376 | 23% |
the technology advances and with it the physical, good things are to come
post_id | 38,077,023 |
---|---|
author | teresah |
permlink | re-procrastilearner-the-online-quantum-computer-that-you-can-use-20180312t024821691z |
category | steemstem |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemstem"]}" |
created | 2018-03-12 02:48:27 |
last_update | 2018-03-12 02:48:27 |
depth | 1 |
children | 0 |
net_rshares | 4,830,547,376 |
last_payout | 2018-03-19 02:48:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 73 |
author_reputation | 9,648,158,833,183 |
root_title | "The Online Quantum Computer That You Can Use!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
procrastilearner | 0 | 4,830,547,376 | 23% |
<center><a href="www.steemit.com/@steemstem"><img src="https://media.discordapp.net/attachments/384404201544876032/405507994583957505/steemSTEM.png"></a><br><table><tr><th> </th><th> </th><th><a href="https://steemit.com/steemstem/@steemstem/helpful-guidelines-for-crafting-steemstem-content">Guidelines</a></th><th><a href="https://steemit.com/steemstem/@steemstem/steemstem-winter-2017-2018-project-update">Project Update</a></th><th> </th><th> </th></tr></table><br><a href="https://steemit.com/steemstem/@steemstem/being-a-member-of-the-steemstem-community"><b>Being A SteemStem Member</b></a></center>
post_id | 38,219,010 |
---|---|
author | steemstem-bot |
permlink | re-the-online-quantum-computer-that-you-can-use-20180312t204203 |
category | steemstem |
json_metadata | {} |
created | 2018-03-12 20:42:03 |
last_update | 2018-03-12 20:42:03 |
depth | 1 |
children | 0 |
net_rshares | 146,967,640,089 |
last_payout | 2018-03-19 20:42:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.446 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 606 |
author_reputation | 3,811,633,288,089 |
root_title | "The Online Quantum Computer That You Can Use!" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
justtryme90 | 0 | 142,244,438,210 | 5% | ||
procrastilearner | 0 | 4,723,201,879 | 23% |