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
- Prediction: This Quantum Computing Stock Will Surge in 2025 - Yahoo Finance - June 14th, 2025 [June 14th, 2025]
- How to capitalize on the red-hot quantum computing space, according to a veteran investor - CNBC - June 14th, 2025 [June 14th, 2025]
- Quantum Computing Stock Jumped 25% on WednesdayThese Are the Key Price Levels to Watch - Investopedia - June 14th, 2025 [June 14th, 2025]
- Prediction: This Quantum Computing Stock Will Surge in 2025 - The Motley Fool - June 14th, 2025 [June 14th, 2025]
- Why Quantum Computing Stock Is Skyrocketing This Week - The Motley Fool - June 14th, 2025 [June 14th, 2025]
- eleQtron and FMD Partner to Advance Scalable Quantum Chip Production in Europe - Quantum Computing Report - June 14th, 2025 [June 14th, 2025]
- Prediction: This Quantum Computing Stock Will Surge in 2025 - The Globe and Mail - June 14th, 2025 [June 14th, 2025]
- Why IONQ, RGTI and QBTS are Worth the Risk in Quantum Computing - TipRanks - June 14th, 2025 [June 14th, 2025]
- If I Could Own Only 1 Quantum Computing Stock, This Would Be It - The Motley Fool - June 14th, 2025 [June 14th, 2025]
- Senior Thesis Spotlight: A high-risk, but well-defined idea to advance quantum computing - Princeton University - June 14th, 2025 [June 14th, 2025]
- Prediction: This Quantum Computing Stock Will Surge in 2025 - MSN - June 14th, 2025 [June 14th, 2025]
- IonQ to buy Oxford Ionics for $1.08 billion to expand quantum computing research - Reuters - June 14th, 2025 [June 14th, 2025]
- IBM claims 'real world' edge in quantum computing race - Phys.org - June 14th, 2025 [June 14th, 2025]
- IonQ Announces Agreement to Acquire Oxford Ionics, Accelerating Path to Pioneering Breakthroughs in Quantum Computing - Business Wire - June 14th, 2025 [June 14th, 2025]
- Why Quantum Computing Stock Is Skyrocketing This Week - AOL.com - June 14th, 2025 [June 14th, 2025]
- Quantum-Computing Company with Bothell Site Announces Deal That Will 'Set a New Standard - 425business.com - June 14th, 2025 [June 14th, 2025]
- Quantum computing creates the fog and the lighthouse - cio.com - June 14th, 2025 [June 14th, 2025]
- The Quantum Computing Threat to Bitcoin Is Real -- and Coming Fast - The Motley Fool - June 14th, 2025 [June 14th, 2025]
- IBM just took a 'significant' step toward useful quantum computing - Yahoo Finance - June 10th, 2025 [June 10th, 2025]
- Is D-Wave Quantum a Better Quantum Computing Stock to Buy Than IonQ? - The Motley Fool - June 10th, 2025 [June 10th, 2025]
- IonQ buys UK quantum startup Oxford Ionics for more than $1 billion - CNBC - June 10th, 2025 [June 10th, 2025]
- The 2025 Tech Power Players in the quantum computing sector - The Boston Globe - June 10th, 2025 [June 10th, 2025]
- 3 Quantum Computing Stocks with Potential to Beat the Market 6/9/2025 - TipRanks - June 10th, 2025 [June 10th, 2025]
- Quantum Computing and its Impact on the Life Science Industry - Inside Global Tech - June 10th, 2025 [June 10th, 2025]
- IBM bets on novel error-correction for scalable quantum computing - Nextgov - June 10th, 2025 [June 10th, 2025]
- Vodafone Partners With ORCA Computing to Model Future Networks in Minutes Using Quantum technology - The Quantum Insider - June 10th, 2025 [June 10th, 2025]
- Vodafone Partners With ORCA Computing to Model Future Networks in Minutes Using Quantum Technology - Business Wire - June 10th, 2025 [June 10th, 2025]
- Want to Invest in Quantum Computing? 3 Stocks That Are Great Buys Right Now. - Nasdaq - June 10th, 2025 [June 10th, 2025]
- Should You Invest in Quantum Computing Stocks During the TACO Trade? - Yahoo Finance - June 10th, 2025 [June 10th, 2025]
- Quantum Computing: Journey from bits to qubits still has far to go - The Indian Express - June 10th, 2025 [June 10th, 2025]
- Quantum Computing Breakthrough: BTQ and QPerfect Join Forces to Create Unhackable Digital Transactions - Stock Titan - June 10th, 2025 [June 10th, 2025]
- Want to Invest in Quantum Computing? 3 Stocks That Are Great Buys Right Now. - MSN - June 10th, 2025 [June 10th, 2025]
- British quantum computing start-up spun out of Oxford University snapped up by US rival in 800m deal - MSN - June 10th, 2025 [June 10th, 2025]
- NVIDIA's quantum computing team forged: alliance between US and Taiwanese companies - TweakTown - June 10th, 2025 [June 10th, 2025]
- IonQ to buy Oxford Ionics for $1.08 billion to expand quantum computing research - Yahoo Finance - June 10th, 2025 [June 10th, 2025]
- Will IonQ's Big Move for Quantum Computing Open Door to All-Time High? - TheStreet Pro - June 10th, 2025 [June 10th, 2025]
- Should You Invest in Quantum Computing Stocks During the TACO Trade? - The Motley Fool - June 10th, 2025 [June 10th, 2025]
- D-Wave Quantum Stock Skyrockets on Real-World Computing Breakthroughs - Yahoo Finance - June 10th, 2025 [June 10th, 2025]
- 1 Quantum Computing Stock That Has Crushed the S&P 500 Index This Year -- Should Investors Jump Aboard or Run for the Hills? - Yahoo Finance - June 1st, 2025 [June 1st, 2025]
- Lockheed Martin (LMT) and IBM Show the Real-World Potential of Quantum Computing - TipRanks - June 1st, 2025 [June 1st, 2025]
- Analyst flags new quantum computing stocks to buy - TheStreet - June 1st, 2025 [June 1st, 2025]
- Certifying the unpredictable: a key step in quantum computing - anl.gov - June 1st, 2025 [June 1st, 2025]
- Quantum Computing (NASDAQ:QUBT) Trading Down 3.3% - Here's What Happened - MarketBeat - June 1st, 2025 [June 1st, 2025]
- Want to Invest in Quantum Computing? 4 Stocks That Are Great Buys Right Now - Nasdaq - June 1st, 2025 [June 1st, 2025]
- A.I. Drone Operations Flourishing as Global Quantum Computing Market Expected to Reach $5.3 Billion By 2029 - GlobeNewswire - June 1st, 2025 [June 1st, 2025]
- Quantum Computing: Coming to a Marketing Organization Near You - CMSWire.com - June 1st, 2025 [June 1st, 2025]
- 1 Quantum Computing Stock That Has Crushed the S&P 500 Index This Year -- Should Investors Jump Aboard or Run for the Hills? - The Motley Fool - June 1st, 2025 [June 1st, 2025]
- The Promise of Quantum Computing - The Motley Fool - June 1st, 2025 [June 1st, 2025]
- This Company's CEO Said It Wants to Become the Nvidia of Quantum Computing. Should You Buy the Stock Now? - The Motley Fool - June 1st, 2025 [June 1st, 2025]
- This Company's CEO Said It Wants to Become the Nvidia of Quantum Computing. Should You Buy the Stock Now? - Yahoo Finance - June 1st, 2025 [June 1st, 2025]
- The 7 Competitors Vying for the Ultimate Quantum Computing Architecture - HackerNoon - June 1st, 2025 [June 1st, 2025]
- Error Correction with Fewer Qubits Brings Practical Quantum Computing Closer - IoT World Today - June 1st, 2025 [June 1st, 2025]
- Nvidia in advanced talks to invest in PsiQuantum- a quantum computing company - report - Seeking Alpha - May 19th, 2025 [May 19th, 2025]
- Honeywell Just Got a $1 Billion Quantum Computing Boost. Should You Buy HON Stock Now? - The Globe and Mail - May 19th, 2025 [May 19th, 2025]
- How will quantum computing impact the hosting industry? - Cybernews - May 19th, 2025 [May 19th, 2025]
- Nvidia reportedly in advanced talks to back quantum computing firm PsiQuantum - Proactive financial news - May 19th, 2025 [May 19th, 2025]
- Bismuth's mask uncovered: Implications for quantum computing and spintronics materials - Phys.org - May 15th, 2025 [May 15th, 2025]
- Is NVIDIA (NVDA) the Best Quantum Computing Stock to Invest in Now? - Yahoo Finance - May 15th, 2025 [May 15th, 2025]
- How close is quantum computing to commercial reality? - Computer Weekly - May 15th, 2025 [May 15th, 2025]
- Quantum computing is still in its infancy, but researchers have high hopes - Technical.ly - May 15th, 2025 [May 15th, 2025]
- Quantum computing signals the coming of the API storm - Computer Weekly - May 15th, 2025 [May 15th, 2025]
- Quantinuum Scores a $1 Billion Deal in Qatar. Demand for Quantum Computing Grows Globally. - Barron's - May 15th, 2025 [May 15th, 2025]
- 7 Best Quantum Computing Stocks to Buy This May - 24/7 Wall St. - May 15th, 2025 [May 15th, 2025]
- Quantum Computing (QUBT) Projected to Post Quarterly Earnings on Thursday - MarketBeat - May 15th, 2025 [May 15th, 2025]
- Quantinuum and Al Rabban Capital Launch Joint Venture to Accelerate Quantum Computing Adoption in Qatar and the Region - PR Newswire - May 15th, 2025 [May 15th, 2025]
- Buy or Sell Quantum Computing (QUBT) Stock Ahead of Its Upcoming Earnings? - Forbes - May 15th, 2025 [May 15th, 2025]
- Silicon spin qubits gain ground as a leading candidate for quantum computing - Phys.org - May 15th, 2025 [May 15th, 2025]
- Quantum Computing (NASDAQ:QUBT) Trading 1.5% Higher - Here's What Happened - MarketBeat - May 15th, 2025 [May 15th, 2025]
- Particles can be measured jointly without bringing them togetheran advance for quantum communication and computing - Phys.org - May 15th, 2025 [May 15th, 2025]
- Tel Aviv startup pulls in $110 million to become the Microsoft of quantum computing - The Times of Israel - May 15th, 2025 [May 15th, 2025]
- Quantum Computing Inc. Hosts Ribbon-Cutting to Celebrate Grand Opening of Quantum Photonic Chip Foundry in Tempe, Arizona - Yahoo Finance - May 15th, 2025 [May 15th, 2025]
- Cells Might Be Doing Quantum Computing. Life on Earth Has Performed 10 Logical Operations - ZME Science - May 15th, 2025 [May 15th, 2025]
- How will quantum computing change the world? - Fox Business - May 10th, 2025 [May 10th, 2025]
- Whats next in computing is generative and quantum - IBM Research - May 10th, 2025 [May 10th, 2025]
- Quantum computing gets an error-correction boost from AI innovation - Network World - May 10th, 2025 [May 10th, 2025]
- D-Wave CEO explains where the US is falling behind the rest of the world on quantum computing - Sherwood News - May 10th, 2025 [May 10th, 2025]
- How will quantum computing change the world? - MSN - May 10th, 2025 [May 10th, 2025]
- Editorial: What will it take to realize the potential of quantum computing in chemistry? - C&EN - May 10th, 2025 [May 10th, 2025]
- A Strong Business CaseFor Quantum Computing: How Amazon (NASDAQ:AMZN) Is Taking It On - TipRanks - May 10th, 2025 [May 10th, 2025]
- News | Quantum computing provider teams up with electric utility for expansion in Tennessee - CoStar - May 10th, 2025 [May 10th, 2025]