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
- Want to Invest in Quantum Computing? 5 Stocks That Are Great Buys Right Now - The Motley Fool - October 17th, 2025 [October 17th, 2025]
- What Is One of the Best Quantum Computing Stocks to Buy Right Now? - Nasdaq - October 17th, 2025 [October 17th, 2025]
- IBM CEO On Growing Channel Revenue, Quantum Computing Opportunities, And Why AI Is Not Magic - CRN Magazine - October 17th, 2025 [October 17th, 2025]
- 2 Pure-Play Quantum Computing Stocks That Can Plunge Up to 62%, According to Select Wall Street Analysts - Yahoo Finance - October 17th, 2025 [October 17th, 2025]
- AI and quantum computing are converging. Both could get a boost - qz.com - October 15th, 2025 [October 15th, 2025]
- Quantum computing on the verge: a look at the quantum marketplace of today - Physics World - October 15th, 2025 [October 15th, 2025]
- Quantum computing stocks soared again yesterday. The reason why may surprise even their biggest boosters - Fast Company - October 15th, 2025 [October 15th, 2025]
- IONQ, RGTI, QBTS: Which Is the Better Quantum Computing Stock? - TipRanks - October 15th, 2025 [October 15th, 2025]
- D-Wave Helps Launch Q-Alliance to Build Italys Quantum Computing Hub in Lombardy - HPCwire - October 15th, 2025 [October 15th, 2025]
- Quantum crystals offer a blueprint for the future of computing and chemistry - Phys.org - October 15th, 2025 [October 15th, 2025]
- Qilimanjaro and QURECA Partner to Strengthen Quantum Education and Workforce Development - Quantum Computing Report - October 15th, 2025 [October 15th, 2025]
- Quantum Computing and the Next Big Threat to Encryption - The Engineer - Home - October 15th, 2025 [October 15th, 2025]
- Bose Quantum Secures Hundreds of Millions of Yuan in Series A++ Financing: Nobel Prize Usher in the Quantum Computing Exploration Era - 36Kr - October 15th, 2025 [October 15th, 2025]
- Aramco, NVIDIA Expect Gusher of Energy Insights From New Quantum Computing Emulator - The Quantum Insider - October 15th, 2025 [October 15th, 2025]
- 'Make or break': Why the next few years will be crucial for this Canadian company and quantum computing - Financial Post - October 15th, 2025 [October 15th, 2025]
- Isentroniq Raises 7.5M ($8.7M USD) to Advance Wiring Technology for Superconducting Qubits - Quantum Computing Report - October 15th, 2025 [October 15th, 2025]
- Why Is Quantum Computing Inc. Stock Jumping Today? - The Motley Fool - October 15th, 2025 [October 15th, 2025]
- 2 Pure-Play Quantum Computing Stocks That Can Plunge Up to 62%, According to Select Wall Street Analysts - Nasdaq - October 15th, 2025 [October 15th, 2025]
- Rigetti Computing Stock: Whats Next for the Quantum Computing Pioneer in the Next 3 Years? - TECHi - October 15th, 2025 [October 15th, 2025]
- Quantum computing is the next AI: are you ready for it? - Fast Company - October 13th, 2025 [October 13th, 2025]
- 2 Top Stocks in Quantum Computing and Robotics That Could Soar in 2026 - The Motley Fool - October 13th, 2025 [October 13th, 2025]
- Quantum computing firm with Seattle-area presence raising billions for expansion - The Business Journals - October 13th, 2025 [October 13th, 2025]
- 3 Quantum Computing Stocks That Could Help Make You a Fortune - The Motley Fool - October 13th, 2025 [October 13th, 2025]
- What Is One of the Best Quantum Computing Stocks to Buy Before Wall Street Catches On? - Yahoo Finance - October 13th, 2025 [October 13th, 2025]
- Quantum Computing Stocks IonQ, Rigetti, and D-Wave Have Soared Up to 5,400% Over the Trailing Year -- but History Offers a Dire Warning - Yahoo... - October 13th, 2025 [October 13th, 2025]
- BTQ Technologies and University of Cambridge Partner to Advance Inverse-Design Quantum Photonic Devices - Quantum Computing Report - October 13th, 2025 [October 13th, 2025]
- French-based quantum computing company to open U.S. headquarters in Chicago - The Daily Line - October 13th, 2025 [October 13th, 2025]
- What is quantum computing and why is Palm Beach County so interested in it? - The Palm Beach Post - October 11th, 2025 [October 11th, 2025]
- Alice & Bob Shortens Timeline to Quantum Computing Applications in Healthcare and Agriculture - The Quantum Insider - October 11th, 2025 [October 11th, 2025]
- WisdomTree rolls out quantum computing fund (WT:NYSE) - Seeking Alpha - October 11th, 2025 [October 11th, 2025]
- Individual electrons trapped and controlled above 1 K, easing cooling limits for quantum computing - Phys.org - October 11th, 2025 [October 11th, 2025]
- Quantum Computing Stocks To Keep An Eye On - October 7th - MarketBeat - October 11th, 2025 [October 11th, 2025]
- Analysts See over 20% Upside in These 3 Quantum Computing Stocks 10/10/2025 - TipRanks - October 11th, 2025 [October 11th, 2025]
- These Nobel Prize Winners Paved The Way For Quantum Computing - Forbes - October 11th, 2025 [October 11th, 2025]
- The Quantum Leap in Marketing: How Quantum Computing Will Redefine Analytics - Eye On Annapolis - October 11th, 2025 [October 11th, 2025]
- A Nobel for the physics that ushered in quantum computing - The Economist - October 11th, 2025 [October 11th, 2025]
- The Next Big Theme: Positioning For Early Growth In Quantum Computing - Seeking Alpha - October 11th, 2025 [October 11th, 2025]
- Quantum Computing Stocks Defy Broader Market Headwinds on October 10, 2025: A Glimpse into the Future of High-Tech Investment - FinancialContent - October 11th, 2025 [October 11th, 2025]
- Stockholm-based FirstQFM raises 1.2 million to accelerate commercial quantum computing with proprietary foundation models - EU-Startups - October 11th, 2025 [October 11th, 2025]
- Quantum Computing Stocks IonQ, Rigetti, and D-Wave Have Soared Up to 5,400% Over the Trailing Year -- but History Offers a Dire Warning - AOL.com - October 11th, 2025 [October 11th, 2025]
- Why Rigetti Computing (RGTI) Is Up 33.1% After Securing $5.7 Million in Quantum Hardware Orders - simplywall.st - October 11th, 2025 [October 11th, 2025]
- Tech Communication in London, UK - Defending Against Emerging Threat with Quantum Computing - PR Newswire - October 11th, 2025 [October 11th, 2025]
- Quantum Computing to Raise $750 Million in Private Placement. The Stock Falls. - Barron's - October 9th, 2025 [October 9th, 2025]
- If You Own Quantum Computing Stocks IonQ, Rigetti, or D-Wave, the Time to Be Fearful When Others Are Greedy Has Arrived - Yahoo Finance - October 9th, 2025 [October 9th, 2025]
- Physics Nobel: Three win prize for paving way for very powerful computers - BBC - October 9th, 2025 [October 9th, 2025]
- 3 Genius Ways to Invest in Quantum Computing and Artificial Intelligence (AI) - The Motley Fool - October 9th, 2025 [October 9th, 2025]
- Prediction: This Artificial Intelligence (AI) Stock Will Be the Nvidia of Quantum Computing by 2035 - Yahoo Finance - October 9th, 2025 [October 9th, 2025]
- D-Wave and the University of Southern California Bring Quantum Computing to LA Tech Week - Business Wire - October 9th, 2025 [October 9th, 2025]
- If You Own Quantum Computing Stocks IonQ, Rigetti, or D-Wave, the Time to Be Fearful When Others Are Greedy Has Arrived - The Motley Fool - October 9th, 2025 [October 9th, 2025]
- 3 Quantum Computing Stocks that Could Be The Next Nvidia - 24/7 Wall St. - October 9th, 2025 [October 9th, 2025]
- Why Quantum Computing Threat Will Impact Absolutely Everyone In Security: Experts - CRN Magazine - October 9th, 2025 [October 9th, 2025]
- What Are Memristors And Why Do They Matter For Quantum Computing? - The Quantum Insider - October 9th, 2025 [October 9th, 2025]
- Quantum Computing As a Service Enables Access to Programmable Bits for Utility Computing Applications - Quantum Zeitgeist - October 9th, 2025 [October 9th, 2025]
- What Is One of the Best Quantum Computing Stocks for Growth Investors? - The Motley Fool - October 9th, 2025 [October 9th, 2025]
- Quantum Computing Taps Investors for $750 million in Oversubscribed Deal - Yahoo Finance - October 9th, 2025 [October 9th, 2025]
- Quantum Computing Inc. Announces $750 Million Oversubscribed Private Placement of Common Stock Priced at the Market Under Nasdaq Rules - Yahoo Finance - October 9th, 2025 [October 9th, 2025]
- Quantum Leap or Speculative Bubble? Wall Street Bets Big on the Future of Computing - FinancialContent - October 7th, 2025 [October 7th, 2025]
- Analysts Think This Quantum Computing Stock Can Gain 80%. Should You Buy It Here? - Yahoo Finance - October 7th, 2025 [October 7th, 2025]
- IonQ and Rigetti stocks and the quantum computing bubble - Invezz - October 7th, 2025 [October 7th, 2025]
- These Quantum Computing Stocks Could Be the Secret Winners of the AI Boom - The Motley Fool - October 7th, 2025 [October 7th, 2025]
- Quantum Computing (QUBT) Shares Are Sliding Today: Here's Why - Benzinga - October 7th, 2025 [October 7th, 2025]
- This Little-Known Company Is Betting Big on Quantum Computing. Should You Buy Its Stock Here? - MSN - October 7th, 2025 [October 7th, 2025]
- Analysts Think This Quantum Computing Stock Can Gain 80%. Should You Buy It Here? - MSN - October 7th, 2025 [October 7th, 2025]
- This Little-Known Company Is Betting Big on Quantum Computing. Should You Buy Its Stock Here? - Barchart.com - October 7th, 2025 [October 7th, 2025]
- Where Will Quantum Computing Inc. Be in 1 Year? - Yahoo Finance - October 7th, 2025 [October 7th, 2025]
- Quobly reinforces its leadership with a holistic governance model for silicon quantum computing - Quantum Zeitgeist - October 7th, 2025 [October 7th, 2025]
- Quantum Computing Stock Could Rise 67%, Says Analyst. Heres Why. - Barron's - October 4th, 2025 [October 4th, 2025]
- Where Will Quantum Computing Inc. Be in 1 Year? - The Motley Fool - October 4th, 2025 [October 4th, 2025]
- Analyzing the Sharp Rise of Quantum Computing Inc. - StocksToTrade - October 4th, 2025 [October 4th, 2025]
- QUDORA closes a Strategic Partnership with Kensho to Accelerate Quantum Computing Commercialization in Taiwan - Quantum Zeitgeist - October 4th, 2025 [October 4th, 2025]
- Quantum Computing Inc. Stock (QUBT) Opinions on Recent Stock Offering and Analyst Upgrade - Quiver Quantitative - October 4th, 2025 [October 4th, 2025]
- How Quantum Computings Biggest Challenges Are Being Solved With Accelerated Computing - NVIDIA Blog - October 2nd, 2025 [October 2nd, 2025]
- Here's the Quantum Computing Stock Wall Street Loves the Most (Hint: It's Not IonQ or Rigetti) - Yahoo Finance - October 2nd, 2025 [October 2nd, 2025]
- D-Wave to Participate in Quantum Beach Conference, Highlighting Companys Leadership in the Commercialization of Quantum Computing - Yahoo Finance - October 2nd, 2025 [October 2nd, 2025]
- Quantum computing could have a major impact on investing - Business Insider - October 2nd, 2025 [October 2nd, 2025]
- Here's the Quantum Computing Stock Wall Street Loves the Most (Hint: It's Not IonQ or Rigetti) - The Motley Fool - October 2nd, 2025 [October 2nd, 2025]
- IBM and Vanguard Team Up to Build Investment Portfolios with Quantum Computing - TipRanks - October 2nd, 2025 [October 2nd, 2025]
- Connecticut to Invest $10 Million in QuantumCT for Quantum Infrastructure and Testbed Deployment - Quantum Computing Report - October 2nd, 2025 [October 2nd, 2025]
- Odra Quantum Computing School Debuts in Poland with Intensive Training and Hackathon - HPCwire - October 2nd, 2025 [October 2nd, 2025]
- Billionaires Are Piling Into a Quantum Computing Stock That Gained Over 3,700% in the Past Year - The Motley Fool - October 2nd, 2025 [October 2nd, 2025]