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
- The Smartest Quantum Computing Stocks to Buy With $10,000 in August - The Motley Fool - August 1st, 2025 [August 1st, 2025]
- The Upside Is Enormous: 2 Quantum Computing Stocks Rosenblatt Is Pounding the Table On - Yahoo Finance - August 1st, 2025 [August 1st, 2025]
- Innovation is a golden opportunity for quantum computing - University of California, Riverside - August 1st, 2025 [August 1st, 2025]
- 3 Quantum Computing Stocks That Wall Street Is Most Bullish About Right Now - The Motley Fool - August 1st, 2025 [August 1st, 2025]
- Could Quantum Computing Crack Bitcoins Encryption? Not YetBut Maybe Soon! - The Times of Israel - August 1st, 2025 [August 1st, 2025]
- Xanadu and HyperLight Advance Photonic Chips for Quantum Computing with New Performance Metrics - Quantum Computing Report - August 1st, 2025 [August 1st, 2025]
- Quantum Computing & Crypto: Real Threat or Hype? - Fireblocks - August 1st, 2025 [August 1st, 2025]
- Quantum Computing Company Infleqtion to Set up Shop in Chicago - The Times Weekly - August 1st, 2025 [August 1st, 2025]
- Rigetti vs. Quantum Computing: Which Quantum Stock Is a Smarter Bet? - Zacks Investment Research - July 30th, 2025 [July 30th, 2025]
- World Day Against Trafficking in Persons: Can AI and quantum computing turn the tide? - Finextra Research - July 30th, 2025 [July 30th, 2025]
- SoftBank Uses Quantum Computing to Optimize 5G Base Stations - The Fast Mode - July 30th, 2025 [July 30th, 2025]
- Keysight Technologies and the Quantum Computing Infrastructure Revolution - AInvest - July 30th, 2025 [July 30th, 2025]
- Prediction: Quantum Computing Stock Will Be Worth This Much in 2030 - Yahoo Finance - July 28th, 2025 [July 28th, 2025]
- 3 Quantum Computing Stocks with Positive Investor Sentiment 7/28/2025 - TipRanks - July 28th, 2025 [July 28th, 2025]
- Prediction: Quantum Computing Stock Will Be Worth This Much in 2030 - The Motley Fool - July 28th, 2025 [July 28th, 2025]
- D-Wave Quantum Inc. Stock (QBTS) Opinions on Quantum Computing Surge - Quiver Quantitative - July 28th, 2025 [July 28th, 2025]
- Could a Quantum Computing Bubble Be About to Pop? History Offers a Clear Answer - The Motley Fool - July 28th, 2025 [July 28th, 2025]
- After Soaring 40% in July, Is It Too Late to Buy This Supercharged Quantum Computing Stock? - The Motley Fool - July 28th, 2025 [July 28th, 2025]
- SuperQ Quantum and Economic Development Lethbridge Hosting Masterclass on Business Optimization Using Quantum Computing with Approximately One Hundred... - July 28th, 2025 [July 28th, 2025]
- Quantum Computing Stocks: Market Pros Flag Names Investors Should Watch - Business Insider - July 27th, 2025 [July 27th, 2025]
- The University of Chicago Partners with IBM to Strengthen Quantum Computing Startups in Illinois - Polsky Center for Entrepreneurship and Innovation - July 27th, 2025 [July 27th, 2025]
- After Aerospace, Quantum Computing Tussle Erupts Between Andhra Pradesh And Karnataka - NDTV - July 27th, 2025 [July 27th, 2025]
- Gov. Pritzker Announces Infleqtion to Accelerate Quantum Computing in Illinois and Locate Computing Headquarters in Chicago - RiverBender.com - July 27th, 2025 [July 27th, 2025]
- Why Quantum Computing Could Be the Biggest Breakthrough Since Fire - Inc.com - July 27th, 2025 [July 27th, 2025]
- The Real Reason Quantum Computing Stocks Are Soaring (It's Not What You Think) - The Motley Fool - July 27th, 2025 [July 27th, 2025]
- Is Quantum Computing Inc. the Next Nvidia? - The Motley Fool - July 27th, 2025 [July 27th, 2025]
- Why Some Investors Are Betting Big on Quantum Computing as a Moonshot Artificial Intelligence (AI) Play - The Motley Fool - July 27th, 2025 [July 27th, 2025]
- University of Chicago and IBM Provide IBM Quantum System Two Access and Resources for Illinois Quantum Startups - Quantum Computing Report - July 27th, 2025 [July 27th, 2025]
- 14 Stocks Jim Cramer Discussed As He Went All In On Quantum Computing - Insider Monkey - July 27th, 2025 [July 27th, 2025]
- Whos News: Leadership Updates at Q-CTRL, IonQ, University of Maryland, eleQtron, and JPMorgan Chase - Quantum Computing Report - July 27th, 2025 [July 27th, 2025]
- Buy the Dip on This Quantum Computing Stock - Yahoo Finance - July 24th, 2025 [July 24th, 2025]
- UChicago partners with IBM to strengthen quantum computing startups in Illinois - University of Chicago News - July 24th, 2025 [July 24th, 2025]
- Gold clusters mimic atomic spin properties for scalable quantum computing applications - Phys.org - July 24th, 2025 [July 24th, 2025]
- Global Quantum Computing Market Report 2026-2046, with Profiles of 217 Companies Shaping the Quantum Computing Ecosystem, Including Market Leaders,... - July 24th, 2025 [July 24th, 2025]
- Quantum Computing Inc. (QUBT): A Bear Case Theory - Yahoo Finance - July 24th, 2025 [July 24th, 2025]
- Universal Quantum Joins Open Quantum Institute to Advance Endometriosis Drug Discovery with Quantum Computing - The Quantum Insider - July 24th, 2025 [July 24th, 2025]
- Unpacking the Latest Options Trading Trends in Quantum Computing - Nasdaq - July 24th, 2025 [July 24th, 2025]
- Quantum Computing: Stay Far From The Quantum Realm, Strong Sell (NASDAQ:QUBT) - Seeking Alpha - July 24th, 2025 [July 24th, 2025]
- 2025: An eventful year for quantum computing - The New Indian Express - July 24th, 2025 [July 24th, 2025]
- Riverlane and OQC Move Toward Fault-Tolerant Quantum Computing with QEC Integration - HPCwire - July 24th, 2025 [July 24th, 2025]
- Billionaires Are Buying This Quantum Computing Stock Hand Over Fist (Hint: It's Not IonQ or D-Wave Quantum) - Yahoo Finance - July 24th, 2025 [July 24th, 2025]
- Unlocking the Future: How Advanced Ceramics Are Powering Quantum Computing and Semiconductor Innovation - openPR.com - July 24th, 2025 [July 24th, 2025]
- Global Quantum Computing Market Report 2025: Revenue, Trends, and Key Players - Yahoo Finance - July 22nd, 2025 [July 22nd, 2025]
- Billionaires Are Buying This Quantum Computing Stock Hand Over Fist (Hint: It's Not IonQ or D-Wave Quantum) - Mitrade - July 22nd, 2025 [July 22nd, 2025]
- 3 Quantum Computing Stocks with Potential to Beat the Market 7/21/2025 - TipRanks - July 22nd, 2025 [July 22nd, 2025]
- 2 Top Quantum Computing Stocks to Buy in July - Yahoo Finance - July 20th, 2025 [July 20th, 2025]
- Want to Invest in Quantum Computing Without the Crazy Risk? Buy These 3 Stocks. - The Motley Fool - July 20th, 2025 [July 20th, 2025]
- Is quantum computing the next big thing in stocks? - Yahoo Finance - July 20th, 2025 [July 20th, 2025]
- Are We in a Quantum Computing Bubble? - The Motley Fool - July 20th, 2025 [July 20th, 2025]
- Is Quantum Computing Stock a Buy for Less Than $20? - The Motley Fool - July 20th, 2025 [July 20th, 2025]
- After Plummeting by 18%, Could This Quantum Computing Stock Stage a Second-Half Comeback? - AOL.com - July 20th, 2025 [July 20th, 2025]
- New Platform Leverages AI and Quantum Computing to Predict Salmonella Antimicrobial Resistance | Newswise - Newswise - July 18th, 2025 [July 18th, 2025]
- Quantum Computing Seen As Top Cybersecurity Threat by 65% of Firms - IoT World Today - July 18th, 2025 [July 18th, 2025]
- SuperQ Quantum Computing Partners with Web Summit to Expand Global Reach - TipRanks - July 18th, 2025 [July 18th, 2025]
- They Put Light and Quantum Into One Chip!: Scientists Unveil Silicon Breakthrough That Could Reshape the Future of Computing Forever - Rude Baguette - July 16th, 2025 [July 16th, 2025]
- What is quantum computing? Heres everything you need to know right now - Fast Company - July 16th, 2025 [July 16th, 2025]
- Warren Buffett Is Invested in These Three Magnificent Quantum Computing Stocks. Here's the Best of the Bunch. - The Motley Fool - July 16th, 2025 [July 16th, 2025]
- Quantum Computing Breakthrough: Rigetti Doubles Performance with Industry-First 36-Qubit Multi-Chip System - Stock Titan - July 16th, 2025 [July 16th, 2025]
- Why Is Sumitomo Corporation Taking on Quantum Computing? Pioneering Real-World Applications at the Forefront of Social Implementation -... - July 16th, 2025 [July 16th, 2025]
- Oxford Ionics and Iceberg Quantum Partner to Accelerate Fault-Tolerant Quantum Computing - HPCwire - July 16th, 2025 [July 16th, 2025]
- Analysts See over 30% Upside in These 3 Quantum Computing Stocks 7/14/2025 - TipRanks - July 16th, 2025 [July 16th, 2025]
- How Mass. is becoming a hub for the quantum computing industry - WBUR - July 16th, 2025 [July 16th, 2025]
- Ohio awards millions to Miami University for 'quantum computing workforce' - spectrumlocalnews.com - July 16th, 2025 [July 16th, 2025]
- Could IonQ Be the Nvidia of Quantum Computing? - 24/7 Wall St. - July 16th, 2025 [July 16th, 2025]
- Quantum (QUBT) Computing Rallies 8.7% Ahead of Q2 Earnings - Yahoo Finance - July 16th, 2025 [July 16th, 2025]
- Wanted: enabling technologies in quantum computing for artificial intelligence (AI) and cyber security - Military Aerospace - July 16th, 2025 [July 16th, 2025]
- What's Going On With Quantum Computing Stock Today? - Quantum Computing (NASDAQ:QUBT) - Benzinga - July 16th, 2025 [July 16th, 2025]
- ZenaTech creates quantum computing prototype to advance AI drone solutions - Evertiq - July 16th, 2025 [July 16th, 2025]
- AmpliTechs Cryogenic LNAs Power the Future of Quantum Computing and AI - Yahoo Finance - July 16th, 2025 [July 16th, 2025]
- Quantum Computing Inc. Stocks: Time to Buy or Wait? - StocksToTrade - July 16th, 2025 [July 16th, 2025]
- Think Quantum Computing Will Be the Next Big Thing? These Are the 2 Stocks to Buy Today - 24/7 Wall St. - July 14th, 2025 [July 14th, 2025]
- Rigetti Computing (RGTI): At the Quantum Inflection Point A Leveraged Play on Institutional Adoption - AInvest - July 14th, 2025 [July 14th, 2025]
- NTT Research and Tohoku University Collaborate on Quantum Enhanced Coherent Ising Machines - Quantum Computing Report - July 14th, 2025 [July 14th, 2025]
- Better Quantum Computing Stock: D-Wave Quantum vs. IonQ - MSN - July 14th, 2025 [July 14th, 2025]
- Better Quantum Computing Stock: D-Wave Quantum vs. IonQ - The Motley Fool - July 12th, 2025 [July 12th, 2025]
- ZenaTech Creates First Quantum Computing Prototype Enabling Disruptive AI Drone Speed and Precision for Future Commercial and US Defense Applications... - July 12th, 2025 [July 12th, 2025]
- Nearly two-thirds of organizations consider quantum computing as the most critical cybersecurity threat in 35 years - Capgemini - July 12th, 2025 [July 12th, 2025]
- Why Quantum Computing Stock Skyrocketed 69.3% in June -- and What Comes Next? - Nasdaq - July 12th, 2025 [July 12th, 2025]
- Quantum Computing - Why BTC isn't the biggest worry for COINBASE:BTCUSD by Profit_Through_Patience - TradingView - July 10th, 2025 [July 10th, 2025]
- 3 Artificial Intelligence (AI) Stocks Could Lead the Quantum Computing Revolution - The Motley Fool - July 10th, 2025 [July 10th, 2025]