What is Quantum Computing? Learn How it Works
Technology giants like Google, IBM, Amazon, and Microsoft are pouring resources into quantum computing. The goal of quantum computing is to create the next generation of computers and overcome classic computing limits.
Despite the progress, there are still unknown areas in this emerging field.
This article is an introduction to the basic concepts of quantum computing. You will learn what quantum computing is and how it works, as well as what sets a quantum device apart from a standard machine.
Quantum computing is a new generation of computers based on quantum mechanics, a physics branch that studies atomic and subatomic particles. These supercomputers perform computations at speeds and levels an ordinary computer cannot handle.
These are the main differences between a quantum device and a regular desktop:
Unlike a standard computer, its quantum counterpart can perform multiple operations simultaneously. These machines also store more states per unit of data and operate on more efficient algorithms.
Incredible processing power makes quantum computers capable of solving complex tasks and searching through unsorted data.
The adoption of more powerful computers benefits every industry. However, some areas already stand out as excellent opportunities for quantum computers to make a mark:
The key behind a quantum computers power is its ability to create and manipulate quantum bits, or qubits.
Here is the state of a qubit q0:
The likelihood of q0 being 0 when measured is a2. The probability of it being 1 when measured is b2. Due to the probabilistic nature, a qubit can be both 0 and 1 at the same time.
For a qubit q0 where a = 1 and b = 0, q0 is equivalent to a classical bit of 0. There is a 100% chance to get to a value of 0 when measured. If a = 0 and b = 1, then q0 is equivalent to a classical bit of 1. Thus, the classical binary bits of 0 and 1 are a subset of qubits.
Now, lets look at an empty circuit in the IBM Circuit Composer with a single qubit q0 (Figure 1).The Measurement probabilities graph shows that the q0 has 100% of being measured as 0. The Statevector graph shows the values of a and b, which correspond to the 0 and 1 computational basis states column, respectively.
In the case of Figure 1, a is equal to 1 and b to 0. So, q0 has a probability of 12 = 1 to be measured as 0.
A connected group of qubits provides more processing power than the same number of binary bits. The difference in processing is due to two quantum properties: superposition and entanglement.
When 0 < a and b < 1, the qubit is in a so-called superposition state. In this state, it is possible to jump to either 0 or 1 when measured. The probability of getting to 0 or 1 is defined by a2 and b2.
The Hadamard Gate is the basic gate inquantum computing. The Hadamard Gate moves the qubit from a non-superposition state of 0 or 1 into a superposition state. While in a superposition state, there is a 0.5 probability of it being measured as 0. There is also a 0.5 chance of the qubit ending up as 1.
Lets look at the effect of adding the Hadamard Gate (shown as a red H) on q0 where q0 is currently in a non-superposition state of 0 (Figure 2). After passing the Hadamard gate, the Measurement Probabilities graph shows that there is a 50% chance of getting a 0 or 1 when q0 is measured.
The Statevector graph shows the value of a and b, which are both square roots of 0.5 = 0.707. The probability for the qubit to be measured to 0 and 1 is 0.7072 = 0.5, so q0 is now in a superposition state.
When we measure a qubit in a superposition state, the qubit jumps to a non-superposition state. A measurement changes the qubit and forces it out of superposition to the state of either 0 or 1.
If a qubit is in a non-superposition state of 0 or 1, measuring it will not change anything. In that case, the qubit is already in a state of 100% being 0 or 1 when measured.
Let us add a measurement operation into the circuit (Figure 3). We measure q0 after the Hadamard gate and output the value of the measurement to bit 0 (a classical bit) in c1:
To see the results of the q0 measurement after the Hadamard Gate, we send the circuit to run on an actual quantum computer called ibmq_armonk. By default, there are 1024 runs of the quantum circuit. The result (Figure 4) shows that about 47.4% of the time, the q0 measurement is 0. The other 52.6% of times, it is measured as 1:
The second run (Figure 5) yields a different distribution of 0 and 1, but still close to the expected 50/50 split:
If two qubits are in an entanglement state, the measurement of one qubit instantly collapses the value of the other. The same effect happens even if the two entangled qubits are far apart.
Let us look at an example. A quantum operation that puts two untangled qubits into an entangled state is the CNOT gate. To demonstrate this, we first add another qubit q1, which is initialized to 0 by default. Before the CNOT gate, the two qubits are untangled, so q0 has a 0.5 chance of being 0 or 1 due to the Hadamard gate, while q1 is going to be 0. The Measurement Probabilities graph (Figure 6) shows that the probability of (q1, q0) being (0, 0) or (0, 1) is 50%:
Then we add the CNOT gate (shown as a blue dot and the plus sign) that takes the output of q0 from the Hadamard gate and q1 as inputs. The Measurement Probabilities graph now shows that there is a 50% chance of (q1, q0) being (0, 0) and 50% of being (1, 1) when measured (Figure 7):
There is zero chance of getting (0, 1) or (1, 0). Once we determine the value of one qubit, we know the others value because the two must be equal. In such a state, q0 and q1 are entangled.
Let us run this on an actual quantum computer and see what happens (Figure 8):
We are close to a 50/50 distribution between the 00 and 11 states. We also see unexpected occurrences of 01 and 10 due to the quantum computers high error rates. While error rates for classical computers are almost non-existent, high error rates are the main challenge of quantum computing.
The circuit shown in the Entanglement section is called the Bell Circuit. Even though it is basic, that circuit shows a few fundamental concepts and properties of quantum computing, namely qubits, superposition, entanglement, and measurements. The Bell Circuit is often cited as the Hello World program for quantum computing.
By now, you probably have many questions, such as:
There are no shortcuts to learning quantum computing. The field touches on complex topics spanning physics, mathematics, and computer science.
There is an abundance of good books and video tutorials that introduce the technology. These resources typically cover pre-requisite concepts like linear algebra, quantum mechanics, and binary computing.
In addition to books and tutorials, you can also learn a lot from code examples. Solutions to financial portfolio optimization and vehicle routing, for example, are great starting points for learning about quantum computing.
Quantum computers have the potential to exceed even the most advanced supercomputers. Quantum computing can lead to breakthroughs in science, medicine, machine learning, construction, transport, finances, and emergency services.
The promise is apparent, but the technology is still far from being applicable to real-life scenarios. New advances emerge every day, though, so expect quantum computing to cause significant disruptions in years to come.
Original post:
What is Quantum Computing? Learn How it Works
- 3 Reasons to Buy This Artificial Intelligence (AI) Quantum Computing Stock on the Dip - Nasdaq - April 25th, 2025 [April 25th, 2025]
- 3 Reasons to Buy This Artificial Intelligence (AI) Quantum Computing Stock on the Dip - Nasdaq - April 25th, 2025 [April 25th, 2025]
- Yale experts weigh in on the future of quantum computing amid political tension - Yale Daily News - April 25th, 2025 [April 25th, 2025]
- Yale experts weigh in on the future of quantum computing amid political tension - Yale Daily News - April 25th, 2025 [April 25th, 2025]
- Expert outlines impact of quantum computing | UNC-Chapel Hill - The University of North Carolina at Chapel Hill - April 25th, 2025 [April 25th, 2025]
- Levi & Korsinsky Announces the Filing of a Securities Class Action on Behalf of Quantum Computing Inc.(QUBT) Shareholders - PR Newswire - April 25th, 2025 [April 25th, 2025]
- Quantum Computing Market to Hit $2.2B: Survey - IoT World Today - April 25th, 2025 [April 25th, 2025]
- Quantum Computing: The war of stories has already started - businesslife.co - April 25th, 2025 [April 25th, 2025]
- 3 Reasons to Buy This Artificial Intelligence (AI) Quantum Computing Stock on the Dip - The Motley Fool - April 25th, 2025 [April 25th, 2025]
- Why CoreWeave, Quantum Computing, and Digital Turbine Plunged Today - Yahoo Finance - April 25th, 2025 [April 25th, 2025]
- Quantum computing to revolutionise innovation and scientific discovery: Jyotiraditya Scindia - Social News XYZ - April 25th, 2025 [April 25th, 2025]
- Discover Why Quantum Computing Stocks Are Soaring Today - 24/7 Wall St. - April 25th, 2025 [April 25th, 2025]
- Quantum Computing Is a Hot Topic in the Artificial Intelligence Sector. But Which Stocks Will Still be Around Decades From Now? - The Motley Fool - April 10th, 2025 [April 10th, 2025]
- Quantum computing breakthrough could make 'noise' forces that disrupt calculations a thing of the past - Yahoo - April 10th, 2025 [April 10th, 2025]
- JPMorgan Goes Big on Quantum Computing. How It Plans to Use the Technology. - Barron's - April 10th, 2025 [April 10th, 2025]
- The U.S. just made the discovery of the century, this new superconducting material is set to give quantum computing a major boost. - Farmingdale... - April 10th, 2025 [April 10th, 2025]
- The dream of quantum computing is closer than ever - USA Today - April 10th, 2025 [April 10th, 2025]
- Cleveland Clinic hosts forum on quantum computing in healthcare - Cleveland.com - April 10th, 2025 [April 10th, 2025]
- Cloud-based Quantum Computing Market Share, Value, and Growth Analysis | Scope By 2032 - openPR.com - April 10th, 2025 [April 10th, 2025]
- BTQ Technologies Announces Strategic Partnership with QPerfect, Accelerating Neutral Atom Quantum Computing Applications - PR Newswire - April 10th, 2025 [April 10th, 2025]
- The Coming Convergence Of AI And Quantum Computing - Forbes - April 10th, 2025 [April 10th, 2025]
- BTQ Technologies to Invest Over $2 Million in QPerfect to Advance Neutral Atom Quantum Computing - The Quantum Insider - April 10th, 2025 [April 10th, 2025]
- Quantum Computing and Drug Development - - April 10th, 2025 [April 10th, 2025]
- Ep857 The threat and opportunity represented by quantum computing - IBS Intelligence - April 10th, 2025 [April 10th, 2025]
- DARPA Just Picked IonQ in a Major Win for the Quantum Computing Company. Is That Enough to Buy IONQ Stock on the Dip? - Barchart.com - April 10th, 2025 [April 10th, 2025]
- SPECIAL | The dream of quantum computing is closer than ever - iHeart - April 10th, 2025 [April 10th, 2025]
- Google, Microsoft and IBM are bullish on quantum computing. Are the chips of the future for real? - CNBC - April 8th, 2025 [April 8th, 2025]
- Levi & Korsinsky Notifies Shareholders of Quantum Computing Inc.(QUBT) of a Class Action Lawsuit and an Upcoming Deadline - PR Newswire - April 8th, 2025 [April 8th, 2025]
- Cleveland Clinic and CAS to Leverage Quantum Computing and AI in Drug Discovery Effort - HPCwire - April 8th, 2025 [April 8th, 2025]
- How Quantum Computing and Advanced AI Are Redefining the Boundaries of Human Thought - Built In - April 8th, 2025 [April 8th, 2025]
- Bitcoin Developer Proposes Hard Fork to Protect BTC From Quantum Computing Threats - CoinDesk - April 8th, 2025 [April 8th, 2025]
- QUBT INVESTOR ALERT: Bronstein, Gewirtz and Grossman, LLC Announces that Quantum Computing Inc. Investors with Substantial Losses Have Opportunity to... - April 8th, 2025 [April 8th, 2025]
- Quantum Computing Inc. Class Action: The Gross Law Firm Reminds Quantum Computing Inc. Investors of the Pending Class Action Lawsuit with a Lead... - April 8th, 2025 [April 8th, 2025]
- QUBT Investors Have Opportunity to Lead Quantum Computing Inc. Securities Fraud Lawsuit with the Schall Law Firm - PR Newswire - April 8th, 2025 [April 8th, 2025]
- Americans once again make headlines in computing with the discovery of a quantum highway that raises great hopes. - Farmingdale Observer - April 8th, 2025 [April 8th, 2025]
- Three Canadian companies vying for U.S. quantum computing funding as race to develop technology heats up - The Globe and Mail - April 3rd, 2025 [April 3rd, 2025]
- What will quantum computing actually look like? - Defense One - April 3rd, 2025 [April 3rd, 2025]
- Are businesses ready for the disruption of quantum computing? - Kyndryl - April 3rd, 2025 [April 3rd, 2025]
- Rigetti Computing Selected to Participate in DARPAs Quantum Benchmarking Initiative - GlobeNewswire - April 3rd, 2025 [April 3rd, 2025]
- IonQ Selected by DARPA for Quantum Benchmarking Initiative (QBI) to Advance Quantum Computing - Business Wire - April 3rd, 2025 [April 3rd, 2025]
- Atom Computing selected by DARPA to explore near-term utility-scale quantum computing with neutral atoms - PR Newswire - April 3rd, 2025 [April 3rd, 2025]
- Advanced quantum computing could transform particle physics research - Digital Watch Observatory - April 3rd, 2025 [April 3rd, 2025]
- IonQ in focus as DARPA picks it for quantum computing initiative (IONQ:NYSE) - Seeking Alpha - April 3rd, 2025 [April 3rd, 2025]
- Shareholders that lost money on Quantum Computing Inc.(QUBT) should contact The Gross Law Firm about pending Class Action - QUBT - PR Newswire - April 3rd, 2025 [April 3rd, 2025]
- Top benefits and advantages of quantum computing - TechTarget - April 3rd, 2025 [April 3rd, 2025]
- Quantum Computing Breakthrough: Photon Router Transforms Microwave Qubits into Light Pulses - The Debrief - April 3rd, 2025 [April 3rd, 2025]
- Quantum Computing Inc. Secures Quantum Photonic Vibrometer Order with Delft University of Technology - PR Newswire - April 3rd, 2025 [April 3rd, 2025]
- Rigetti Computing Has Room to Grow. Why the CEO Is Tempering Expectations for Quantum. - Barron's - April 3rd, 2025 [April 3rd, 2025]
- Cautious Optimism: Evaluating Alphabets Position in the Nascent Quantum Computing Market - TipRanks - April 3rd, 2025 [April 3rd, 2025]
- D-Wave Stock Slips. Why Nvidias Quantum Computing Event Hurt the Shares. - Barron's - March 22nd, 2025 [March 22nd, 2025]
- Nvidia Is Going Big on Quantum Computing, and It Isnt Going It Alone - Barron's - March 22nd, 2025 [March 22nd, 2025]
- 6 Top Quantum Computing Stocks to Buy in 2025 - The Motley Fool - March 22nd, 2025 [March 22nd, 2025]
- Recommended Reading Evaluating the Performance of Quantum Process Units at Large Width and Depth - Quantum Computing Report - March 22nd, 2025 [March 22nd, 2025]
- When will quantum computing be available? It depends - TechTarget - March 22nd, 2025 [March 22nd, 2025]
- Quantum-computing stocks fall again as Jensen Huang and other CEOs temper expectations around the bleeding-edge tech: Not good enough yet for... - March 22nd, 2025 [March 22nd, 2025]
- Is quantum computing the future of tech and where to find investment opportunities By Investing.com - Investing.com - March 22nd, 2025 [March 22nd, 2025]
- Jensen Huang backpedals on remarks that sent quantum computing stocks spiraling - TechSpot - March 22nd, 2025 [March 22nd, 2025]
- D-Wave Introduces Quantum Blockchain Architecture, Featuring Enhanced Security and Efficiency over Classical Computing - Business Wire - March 22nd, 2025 [March 22nd, 2025]
- Nvidia CEO Jensen Huang says he was wrong about quantum computing. But he might be right - Quartz - March 22nd, 2025 [March 22nd, 2025]
- Nvidia will build accelerated quantum computing research center - VentureBeat - March 22nd, 2025 [March 22nd, 2025]
- Quantum Computing Stocks Jump Ahead Of Nvidia GTC Conference Next Week - Investor's Business Daily - March 18th, 2025 [March 18th, 2025]
- 5 wild things quantum computing could unlock now that Big Tech believes a breakthrough is within reach - Business Insider - March 18th, 2025 [March 18th, 2025]
- Want to Invest in Quantum Computing? 3 Stocks That Are Great Buys Right Now. - The Motley Fool - March 18th, 2025 [March 18th, 2025]
- How Quantum Computing And The Metaverse Will Transform Your Career - Forbes - March 18th, 2025 [March 18th, 2025]
- QUBT INVESTOR ALERT: Bronstein, Gewirtz and Grossman, LLC Announces that Quantum Computing Inc. Shareholders Have Opportunity to Lead Class Action... - March 18th, 2025 [March 18th, 2025]
- Cloudflare is already selling security tools for the quantum computing era - Quartz - March 18th, 2025 [March 18th, 2025]
- Norma and Neowiz Partner to Explore Quantum Computing and AI for Game Development - The Quantum Insider - March 18th, 2025 [March 18th, 2025]
- China to spend $55 billion on R&D in 2025 Semiconductor, AI and quantum computing fields to benefit - Tom's Hardware - March 18th, 2025 [March 18th, 2025]
- D-Wave Quantum leads massive rally in quantum computing stocks as its revenue outlook goes parabolic - Sherwood News - March 18th, 2025 [March 18th, 2025]
- Arqit leads quantum computing stocks higher ahead of Nvidia's GTC event - Seeking Alpha - March 18th, 2025 [March 18th, 2025]
- Quantum Computing (QUBT) to Release Earnings on Thursday - MarketBeat - March 18th, 2025 [March 18th, 2025]
- Nvidia's Jensen Huang to unveil cutting-edge AI and quantum computing processors - Firstpost - March 18th, 2025 [March 18th, 2025]
- Quantum Computing Just Took Another Giant Leap--What It Means for Investors - PR Newswire - March 18th, 2025 [March 18th, 2025]
- 4 Quantum Computing Stocks On Watch Today As GTC 2025 Kicks Off - Barchart - March 18th, 2025 [March 18th, 2025]
- The Gross Law Firm Reminds Quantum Computing Inc. Investors of the Pending Class Action Lawsuit with a Lead Plaintiff Deadline of April 28, 2025 -... - March 18th, 2025 [March 18th, 2025]
- Quantum Computing Market Size to Grow Worth USD 888.5 Million at - openPR - March 18th, 2025 [March 18th, 2025]
- China to spend $55 billion on R&D in 2025 Semiconductor, AI and quantum computing fields to benefit - MSN - March 18th, 2025 [March 18th, 2025]
- Nvidia GTC And Quantum Computing Drivers Of The Stock Market, Trump Put Fails But May Not Be Dead - Benzinga - March 18th, 2025 [March 18th, 2025]
- Google, Microsoft, and others are racing to crack open quantum computing. Here's how their breakthroughs stack up. - Business Insider - March 9th, 2025 [March 9th, 2025]
- Could Investing in This Quantum Computing Stock Be Like Buying Nvidia Prior to the Dawn of the Artificial Intelligence (AI) Revolution? - Yahoo... - March 9th, 2025 [March 9th, 2025]