IBM Q Experience

From HandWiki

The IBM Q Experience is an online platform that gives users in the general public access to a set of IBM's prototype quantum processors via the Cloud, an online internet forum for discussing quantum computing relevant topics, a set of tutorials on how to program the IBM Q devices, and other educational material about quantum computing. It is an example of cloud based quantum computing. As of May 2018, there are three processors on the IBM Q Experience: two 5-qubit processors and a 16-qubit processor. This service can be used to run algorithms and experiments, and explore tutorials and simulations around what might be possible with quantum computing. The site also provides an easily discoverable list of research papers published using the IBM Q Experience as an experimentation platform.

IBM's quantum processors are made up of superconducting transmon qubits, located in a dilution refrigerator at the IBM Research headquarters at the Thomas J. Watson Research Center.

Users interact with a quantum processor through the quantum circuit model of computation, applying quantum gates on the qubits using a GUI called the quantum composer, writing quantum assembly language code[1] or through Qiskit.[2]


In May 2016, IBM launched the IBM Q Experience,[3] with a five qubit quantum processor and matching simulator connected in a star shaped pattern, which users could only interact with through the quantum composer, with a limited set of two-qubit interactions, and a user guide that assumed background in linear algebra.

In July 2016, IBM launched the IBM Q Experience community forum.

In January 2017, IBM made a number of additions to the IBM Q Experience,[4] including increasing the set of two-qubit interactions available on the five qubit quantum processor, expanding the simulator to custom topologies up to twenty qubits, and allowing users to interact with the device and simulator using quantum assembly language code.

In March 2017, IBM released Qiskit[5] to enable users to more easily write code and run experiments on the quantum processor and simulator, as well as introduced a user guide for beginners.

In May 2017, IBM made an additional 16 qubit processor available on the IBM Q Experience.[6]

In January 2018, IBM launched a quantum awards program, which it hosts on the IBM Q Experience. [7]

Quantum Composer

Screen shot showing the result of running a GHZ state experiment using the IBM Quantum Composer

The Quantum Composer is a graphic user interface (GUI) designed by IBM to allow users to construct various quantum algorithms or run other quantum experiments. Users may see the results of their quantum algorithms by either running it on a real quantum processor and using "units" or by using a simulator. Algorithms developed in the Quantum Composer are referred to as a "quantum score", in reference to the Quantum Composer resembling a musical sheet.[8]

The IBM Q Experience currently contains a library teaching users how to use the Quantum Composer. The library consists of two guides: Beginner's Guide, Full User Guide. There are additional tutorials about using the IBM Q Experience machines in the github repo for Qiskit accessed from

The composer can also be used in scripting mode, where the user can write programs in the QASM-language instead.

Example script

Below is an example in the QASM-language of a very small program, built for IBMs 5-qubit computer. The program instructs the computer to generate the state [math]\displaystyle{ |\Psi\rangle=\frac{1}{\sqrt{2}}\left(|000\rangle+|111\rangle\right) }[/math], a 3-qubit GHZ state, which can be thought of as a variant of the Bell state but with three qubits instead of just the classical two. It then measures the state, forcing it to collapse to one of the two possible outcomes.

include ""
qreg q[5];                // allocate 5 qubits (set automatically to |00000>)
creg c[5];                // allocate 5 classical bits

h q[0];                   // hadamard-transform qubit 0
cx q[0], q[1];            // conditional pauli X-transform (ie. "CNOT") of qubits 0 and 1
                          // At this point we have a 2-qubit Bell state (|00> + |11>)/sqrt(2)

cx q[1], q[2];            // this expands entanglement to the 3rd qubit

measure q[0] -> c[0];     // this measurement collapses the state
measure q[1] -> c[1];     // qubit 1 and 2 read the same value as qubit 0
measure q[2] -> c[2];

Every instruction in the QASM language is the application of a quantum gate, initialization of the chips registers to zero or measurement of these registers.

Beginner's guide

The Beginner's Guide introduces users to the terminology and conceptual knowledge of quantum mechanics needed to compose quantum scores. The beginners guide introduces readers to the elementary concepts of quantum computing: behavior of qubits, quantum entanglement, and quantum gates.

Full user guide

The full user guide is more in depth and analytical compared to the beginner's guide, and is recommended for those with experience in linear algebra or quantum computing. Unlike the beginners guide, the full user guide contains quantum algorithm examples, with explanations comparing quantum algorithms to their classical counterparts.[9]

Both of the Beginner and Full User Guides can be updated by anyone via the Qiskit GitHub repository. [10]


IBM reports that there are over 80,000 users of the IBM Q Experience, who have collectively run over 3 million experiments.[11]

Many of these users are active researchers who have collectively published at least 72 academic papers using the platform.[12] [13][14][15][16][17][18][19][20][21][22][23][24][25][26][27][28]

University professors are also integrating examples and experiments based on the IBM Q Experience into their educational curricula.[29]

Dr. Christine Corbett Moran, a postdoctoral fellow at the California Institute of Technology, used the IBM Q Experience while she was doing research in Antarctica.[30]

Tara Tosic, a physics student at the École Polytechnique Fédérale de Lausanne (EPFL), used the IBM Q Experience while she was doing research in the Arctic.[31]

People have also used the IBM Q Experience for various non-academic purposes. One user has begun developing games using the IBM Q Experience,[32] including one titled "quantum battleships".[33]


  1. "Qiskit OPENQASM Specification". 2018-10-27. 
  2. "Qiskit Python API". 
  3. "IBM Makes Quantum Computing Available on IBM Cloud to Accelerate Innovation". 2016-05-04. 
  4. "IBM Quantum Experience Update". 
  5. "Quantum computing gets an API and SDK". 2017-03-06. 
  6. "Beta access our upgrade to the IBM QX". 
  7. "Now Open: Get quantum ready with new scientific prizes for professors, students and developers". 2018-01-14. 
  8. "IBM Q experience". IBM. Retrieved 3 July 2017. 
  9. "Welcome to the IBM Quantum Experience". IBM. Retrieved 4 July 2017. 
  10. "IBM Q Experience User Guides". 2018-10-16. 
  11. "IBM Collaborating With Top Startups to Accelerate Quantum Computing". 2018-04-05. 
  12. "QX Community papers". 
  13. Rundle, R. P.; Tilma, T.; Samson, J. H.; Everitt, M. J. (2017). "Quantum state reconstruction made easy: a direct method for tomography". Physical Review A 96 (2): 022117. doi:10.1103/PhysRevA.96.022117. Bibcode2017PhRvA..96b2117R. 
  14. Corbett Moran, Christine (29 June 2016). "Quintuple: a Python 5-qubit quantum computer simulator to facilitate cloud quantum computing". arXiv:1606.09225 [quant-ph].
  15. Huffman, Emilie; Mizel, Ari (29 March 2017). "Violation of noninvasive macrorealism by a superconducting qubit: Implementation of a Leggett-Garg test that addresses the clumsiness loophole". Physical Review A 95 (3): 032131. doi:10.1103/PhysRevA.95.032131. Bibcode2017PhRvA..95c2131H. 
  16. Deffner, Sebastian (23 September 2016). "Demonstration of entanglement assisted invariance on IBM's Quantum Experience". Heliyon 3 (11): e00444. doi:10.1016/j.heliyon.2017.e00444. PMID 29159322. 
  17. Huang, He-Liang; Zhao, You-Wei; Li, Tan; Li, Feng-Guang; Du, Yu-Tao; Fu, Xiang-Qun; Zhang, Shuo; Wang, Xiang; Bao, Wan-Su (9 December 2016). "Homomorphic Encryption Experiments on IBM's Cloud Quantum Computing Platform". arXiv:1612.02886 [cs.CR].
  18. Wootton, James R (1 March 2017). "Demonstrating non-Abelian braiding of surface code defects in a five qubit experiment". Quantum Science and Technology 2 (1): 015006. doi:10.1088/2058-9565/aa5c73. Bibcode2017QS&T....2a5006W. 
  19. Fedortchenko, Serguei (8 July 2016). "A quantum teleportation experiment for undergraduate students". arXiv:1607.02398 [quant-ph].
  20. Berta, Mario; Wehner, Stephanie; Wilde, Mark M (6 July 2016). "Entropic uncertainty and measurement reversibility". New Journal of Physics 18 (7): 073004. doi:10.1088/1367-2630/18/7/073004. Bibcode2016NJPh...18g3004B. 
  21. Li, Rui; Alvarez-Rodriguez, Unai; Lamata, Lucas; Solano, Enrique (23 November 2016). "Approximate Quantum Adders with Genetic Algorithms: An IBM Quantum Experience". Quantum Measurements and Quantum Metrology 4 (1): 1–7. doi:10.1515/qmetro-2017-0001. Bibcode2017QMQM....4....1L. 
  22. Hebenstreit, M.; Alsina, D.; Latorre, J. I.; Kraus, B. (11 January 2017). "Compressed quantum computation using the IBM Quantum Experience". Phys. Rev. A 95 (5): 052339. doi:10.1103/PhysRevA.95.052339. 
  23. Alsina, Daniel; Latorre, José Ignacio (11 July 2016). "Experimental test of Mermin inequalities on a five-qubit quantum computer". Physical Review A 94 (1): 012314. doi:10.1103/PhysRevA.94.012314. Bibcode2016PhRvA..94a2314A. 
  24. Linke, Norbert M.; Maslov, Dmitri; Roetteler, Martin; Debnath, Shantanu; Figgatt, Caroline; Landsman, Kevin A.; Wright, Kenneth; Monroe, Christopher (28 March 2017). "Experimental comparison of two quantum computing architectures". Proceedings of the National Academy of Sciences 114 (13): 3305–3310. doi:10.1073/pnas.1618020114. PMID 28325879. 
  25. Devitt, Simon J. (29 September 2016). "Performing quantum computing experiments in the cloud". Physical Review A 94 (3): 032329. doi:10.1103/PhysRevA.94.032329. Bibcode2016PhRvA..94c2329D. 
  26. Steiger, Damian; Haner, Thomas; Troyer, Matthias (2018). "ProjectQ: An Open Source Software Framework for Quantum Computing". Quantum 2: 49. doi:10.22331/q-2018-01-31-49. 
  27. Santos, Alan C. (2017). "O Computador Quântico da IBM e o IBM Quantum Experience". Revista Brasileira de Ensino de Física 39 (1). doi:10.1590/1806-9126-RBEF-2016-0155. 
  28. Caicedo-Ortiz, H. E.; Santiago-Cortés, E. (2017). "Construyendo compuertas cuánticas con IBM's cloud quantum computer" (in Spanish). Journal de Ciencia e Ingeniería 9: 42–56. 
  29. Sheldon, Sarah (10 June 2016). "Students try hand at cracking quantum code". 
  30. Nay, Chris (26 July 2016). "Quantum Experiences: Q&A with Caltech’s Christine Corbett Moran". 
  31. Tosic, Tara (16 November 2018). "IBM Q in the Arctic: 76.4° North". IBM Research Blog. 
  32. Wootton, James (12 March 2017). "Why we need to make quantum games". 
  33. Wootton, James (7 March 2017). "Quantum Battleships: The first multiplayer game for a quantum computer". 

External links